-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
basins_stats.compute fails with basins_gdf argument #147
Comments
This could have happened because I was maxxing out rabpro's GEE memory with other runs. Those have been cancelled so maybe try again? Or if you were using your personal GEE account then it's a real bug. |
I was using my personal account. |
Works:
Doesn't work:
# works
urls, tasks = rabpro.basin_stats.compute(
[Dataset("projects/soilgrids-isric/soc_mean", "soc_0-5cm_mean", stats=statlist, gee_type="image")],
basins_gdf=gdf, validate_dataset_list=False)
# doesn't work, doesn't matter what the resolution is set at
urls, tasks = rabpro.basin_stats.compute(
[Dataset("JRC/GSW1_3/GlobalSurfaceWater", "occurrence", stats=statlist, gee_type="image")],
basins_gdf=gdf, validate_dataset_list=False) Proposed fix:Arbitrarily subject image assets to a time reducer which should have no effect other than avoiding the above error |
Even with a tiny polygon object, the earthengine API says:
You can pass an asset path with the
gee_feature_path
argument to get around this error.The text was updated successfully, but these errors were encountered: