Skip to content

Commit

Permalink
Merge branch 'master' of github.com:TUW-GEO/repurpose
Browse files Browse the repository at this point in the history
  • Loading branch information
wpreimes committed Feb 6, 2023
2 parents a94c5c9 + 7b4b5fc commit 92dfe01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/repurpose/img2ts.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def __init__(self, input_dataset, outputpath, startdate, enddate,

# if the target grid is not a cell grid make it one
# default is just one cell for the entire grid
if isinstance(self.target_grid, grids.CellGrid):
if not isinstance(self.target_grid, grids.CellGrid):
self.target_grid = self.target_grid.to_cell_grid(cellsize_lat=cellsize_lat,
cellsize_lon=cellsize_lon)
self.currentdate = startdate
Expand Down

0 comments on commit 92dfe01

Please sign in to comment.