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
442 stars 128 forks source link

Glitch in 'Surface area duration plots from DEA Waterbodies' notebook #1132

Open cauricht opened 1 year ago

cauricht commented 1 year ago

Describe the bug/issue It seems to make all data in the top section (in this case post 2021 to 2023) as 0 zero which doesn’t align the csv data and data from the DEA Water Bodies and the GA Mapping Tool

See for example link below which shows data for post 2021: https://maps.dea.ga.gov.au/#share=s-bre8WIrnu9Hf3h5hPHbHBiRKMAe Compared to the plot which screen grab below: image

Interestingly you’ll see the same blue area in the output in the default script at https://docs.dea.ga.gov.au/notebooks/Real_world_examples/Surface_area_duration.html image

Steps to reproduce Steps to reproduce the behaviour. For example:

  1. Open DEA Sandbox
  2. Launch the realworld examples...."Real_world_examples/Seasonal_water_extents.jpynb" notebook
  3. Run all cells
  4. Last line of code in the script that produces plot with a blue band i.e. zero in post 2021 when in fact it should have above zero extent values.

Expected behaviour The chart would reflect the line plot available from https://data.dea.ga.gov.au/derivative/dea_waterbodies/2-0-0/timeseries/r1dw/r1dwx4ykx_v2.csv

Environment information What datacube environment are you using? i.e. DEA Sandbox or the NCI (Gadi or VDI)

Using - DEA Sandbox](https://docs.dea.ga.gov.au/setup/sandbox.html

Kind regards, Chris