Skip to content

Commit

Permalink
Update mapper_generic.py
Browse files Browse the repository at this point in the history
  • Loading branch information
LiMingci authored and akorosov committed Jan 18, 2022
1 parent 1c34285 commit 8269e42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nansat/mappers/mapper_generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def __init__(self, inputFileName, gdalDataset, gdalMetadata, logLevel=30,
subDataset = gdal.Open(filename)
# choose the first dataset whith grid
if (firstXSize == 0 and firstYSize == 0 and
subDataset.RasterXSize > 1 and subDataset.RasterYSize > 1):
subDataset.RasterXSize >= 1 and subDataset.RasterYSize >= 1):
firstXSize = subDataset.RasterXSize
firstYSize = subDataset.RasterYSize
firstSubDataset = subDataset
Expand Down

0 comments on commit 8269e42

Please sign in to comment.