sampbias
sampbias copied to clipboard
issue with calculate_bias in equal area grid
Hi everyone,
I would like to run the “calculate_bias” function in equal-area projection at 5 km resolutions in Africa.
I created the dummy raster in both R and ArcGis, but I keep getting these errors when I run calculate_bias "Error in .memtrimlayer(x, padding = padding, values = values, ...) : only NA values found" and "Error in compareRaster(x, mask) : different extent".
Apparently, the function runs just with the example raster "ea_raster". Does anyone have any suggestions, please?
Thanks for the help!
Hello there! We've recently overhauled the Sampbias package, integrating new spatial packages and implementing substantial changes to the code. If you're still encountering the issue after updating the package to the latest version available on GitHub, could you please share a reproducible code along with the accompanying data? This will enable us to investigate the error more effectively and provide you with a timely resolution. Your cooperation is greatly appreciated!