OCHA-DAP / ds-raster-stats

Pipelines for computing raster statistics from COG datasets
1 stars 1 forks source link

Add ability to change default `max_adm` level in stats calculations #29

Open hannahker opened 3 days ago

hannahker commented 3 days ago

The iso3 metadata table in our database has a max_adm column, which specifies the lowest admin level that raster stats will be generated for, for a given iso3. By default, only HRP countries are calculated down to the admin 2 level. All other iso3s are only to the admin 1 level.

It might be useful to have the ability to override this for certain datasets if we want some iso3s to have more granular stats than max_adm specifies.