-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FloodScan - NA/NULL values in stats (mean) - admin 2 #20
Comments
@zackarno I'll take a look into this! On first look though, it's not unexpected to see some NULL values (especially at the adm2 level). This happens in cases where the admin polygon is too small to have any pixel centroids contained within it. |
yea that makes sense. So we'd either need to adjust the raster stats method or develop guidance on how we should deal with this in downstream analysis. For Floodscan use-case we are publishing datasets at admin 2 level so it seems not ideal to have to exclude admins from the datasets. |
Yeah @zackarno I think our options would be to:
"Note that some administrative boundaries may not have summary statistics available. This happens when administrative polygons are sufficiently small relative to the size of the input raster dataset. In this case, we'd recommend performing your analysis across a larger spatial scale. For example, if you find values missing for a particular Admin 2 boundary, you may want to instead consider performing your analysis at the Admin 1 level." I think we should do 1. eventually, but not prioritize at the moment and for now go with 2. |
yeah perhaps There are some additional complexities coming to mind and one is the fact that we will need to use both |
There appears to be NA/NULL values in the zonal stats
here is the SQL query to see them:
They are all from
MOZ
andNGA
. A lot of occurences over the dates:but only 14 pcodes in total with this issue on
mean
i assume it's the same for other stats exceptcount
andsum
The text was updated successfully, but these errors were encountered: