You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that for this specific raster, I cannot extract zonal statistics. I am not sure where the problem is, but included an MCVE. Let me know if you need more information.
MCVE
Here is a reproducible MCVE (using the data.zip file attached here):
wget https://github.com/user-attachments/files/18482547/data.zipunzip data.zipexactextract --polygons ./data/polygons/bcalgary_subbasins.shp --raster ./data/raster/nalcms_2020_landcover.tif --stat frac --fid COMID --output=fraction_landcover.csv --progress # results in an empty outputexactextract --polygons ./data/polygons/bcalgary_subbasins.shp --raster ./data/raster/nalcms_2020_landcover.tif --stat mean --fid COMID --output=mean_landcover.csv --progress # just a test - results in `nan` values
exactextrac version
$ ./exactextract Zonal statistics using exactextract: version 0.3.0-dev (d33bb54)...
The command-line interface does not check the CRS of its inputs. At a minimum, it should check the CRS of the inputs and produce a warning if they don't match. Some related discussion in #108
Problem
The problem is that for this specific raster, I cannot extract zonal statistics. I am not sure where the problem is, but included an MCVE. Let me know if you need more information.
MCVE
Here is a reproducible MCVE (using the
data.zip
file attached here):exactextrac
versionAttachements:
data.zip
The text was updated successfully, but these errors were encountered: