GeoscienceAustralia / dea-notebooks

Repository for Digital Earth Australia Jupyter Notebooks: tools and workflows for geospatial analysis with Open Data Cube and Xarray
https://docs.dea.ga.gov.au/notebooks/
Apache License 2.0
448 stars 128 forks source link

Operational NDVI seasonal anomalies #546

Closed cbur24 closed 1 year ago

cbur24 commented 4 years ago

NSW DPI wishes to use the DEA satellite archive to operationally produce seasonal NDVI anomalies for their State Seasonal Update. The code for doing this currently exists here, but requires a number of improvements to make it ideal for its purpose. The following needs to be explored/implemented:

The points above form the core functionality required. But further minor requirements may be added here in the near future (e.g. the ability to export just the NDVI composite rather than the anomaly).

CEKrause commented 4 years ago

Re point two. Mask out any negative values as we go through the process so that they don't bias the final average number.

cbur24 commented 4 years ago

I've changed the filepaths for fetching the mosaics to absolute paths in the anomalies.py script.

All the NDVI climatology mosaics are located here:

The project folder with all scripts and results is here: /g/data1a/r78/cb3058/dea-notebooks/vegetation_anomalies

jwurtzel commented 4 years ago

Need to change file output names to have 'ndvi' at the front, followed by date. Some programs apparently do not like files to start with numeric characters.

cbur24 commented 4 years ago

Something else to keep in mind: when I computed the NDVI climatologies I forgot to set align=(15,15) in the config yaml. As such, the pixels in the climatologies are edge aligned rather than centre aligned. So, if/when loading Landsat C3 to calculate seasonal composites, do not set the align parameter in the dc.load(). C2 is edge aligned so the climatolgies will align with C2.

robbibt commented 1 year ago

Closing as we don't currently have plans for this - can re-open if we do!