Skip to content

Conversation

cbur24
Copy link
Collaborator

@cbur24 cbur24 commented Apr 8, 2025

Proposed changes

The ERA5 climate notebook that is currently in the repo references data that has long since been depreciated. This PR removes the old ERA5 notebook and modules, and replaces it with a new notebook that shows how to stream Australian-specific climate data from the NCI using THREDDS, and how to stream global climate reanalysis data using Google's 'analysis ready' ERA5 collection.

Closes issues (optional)

This PR address several 'cards' in the DEA-Notebooks community project. Related to #1267

Checklist

If this is a notebook, then have you:

  • Checked the structure of the notebook follows our DEA-notebooks template
  • Removed any unused Python packages from Load packages
  • Removed any unused/empty code cells
  • Removed any guidance cells (e.g. General advice)
  • Ensured that all code cells follow the PEP8 standard for code. The jupyterlab_code_formatter tool can be used to format code cells to a consistent style: select each code cell, then click Edit and then one of the Apply X Formatter options (YAPF or Black are recommended).
  • Included relevant tags in the final notebook cell (refer to the DEA Tags Index, and re-use tags if possible)
  • Tested notebook on the DEA Sandbox
  • Cleared all outputs, run notebook from start to finish, and save the notebook in the state where all cells have been sequentially evaluated
  • If applicable, update the Notebook currently compatible with line below the notebook title to reflect the environments the notebook is compatible with
  • Check for any spelling mistakes using the DEA Sandbox's built-in spellchecker (double click on markdown cells then right-click on pink highlighted words). For example:

sandbox_spellchecker

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@cbur24 cbur24 requested review from GL-S and jennaguffogg April 28, 2025 22:05
@GL-S
Copy link
Collaborator

GL-S commented Apr 29, 2025

This is a useful notebook!

I have modified the part where the THREDDS URLs are retrieved.

I was not able to run the resampling to annual sum on a 2-years datacube because of memory errors. So the notebook now takes only one year as input.

However, I have also provided an alternative notebook that still uses 2 years, but resamples them one at the time when plotting the maps. I have included it so you could have a look, but feel free to remove it if you prefer the one-year notebook

@GL-S GL-S merged commit b75ef2b into develop Apr 30, 2025
7 checks passed
@GL-S GL-S deleted the rainfall branch April 30, 2025 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants