We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 97a62d1 + 595c729 commit f9b0574Copy full SHA for f9b0574
source/framework/python/pcraster/__init__.py
@@ -419,10 +419,8 @@ def readmap(pathname):
419
420
421
def report(expression, pathname):
422
- # TODO Right? Otherwise, don't create spatials here. Use another format to write scalars to.
423
- assert is_spatial(expression)
424
- # if is_non_spatial(expression):
425
- # expression = non_spatial_to_spatial(fill_value=expression)
+ if is_non_spatial(expression):
+ expression = non_spatial_to_spatial(fill_value=expression)
426
427
lfr.to_gdal(expression, pathname, configuration.pathname)
428
0 commit comments