Open-EO / openeo-geopyspark-driver

OpenEO driver for GeoPySpark (Geotrellis)
Apache License 2.0
26 stars 4 forks source link

ANIN: SPEI #550

Closed EmileSonneveld closed 8 months ago

EmileSonneveld commented 1 year ago

Implement SPEI from here: https://git-ext.gmv.com/anin-external/drought-indices.git Same principle as SPI

EmileSonneveld commented 11 months ago

Will probably need hourly data to calculate proper MIN/MAX. Depends on https://github.com/Open-EO/openeo-geopyspark-driver/issues/548

EmileSonneveld commented 11 months ago

Daily min/max based on hourly data is available here: /data/users/Public/johan.schreurs/ANIN/reanalysis-era5-land_southafrica_float32/ Thanks to @JohanKJSchreurs

EmileSonneveld commented 9 months ago

When loading agera5 land collections we need to apply an offset and a scale. In GMV code that is done by reading the netcdf metadata. We will probably need to implement it under this ticket: https://github.com/Open-EO/openeo-geopyspark-driver/issues/338

The current workaround is to apply the offset and scale in the UDF, by manually pasting the values in the code.

EmileSonneveld commented 9 months ago

Status update:

EmileSonneveld commented 8 months ago

Using ERA5 based on GMV inputs did fix the differences. However, there is a sub-pixel offset. Maybe this ticket combined with load_stac would fix it: https://github.com/Open-EO/openeo-geopyspark-driver/issues/648 But the corelation is already top

EmileSonneveld commented 8 months ago

If NRT is required, this can be implemented in a new ticket