Skip to content

Tutorials: Added canned data as a fallback - #7593

Draft
samuel-denton wants to merge 1 commit into
cylc:masterfrom
samuel-denton:add-fallback-data-tutorials
Draft

samuel-denton wants to merge 1 commit into
cylc:masterfrom
samuel-denton:add-fallback-data-tutorials

Conversation

@samuel-denton

@samuel-denton samuel-denton commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Needs metomi/rose#3157
Closes cylc/cylc-doc#947

Small change to the get_rainfall script used by the tutorials so if the datastore provided by amazon is unavailable or gives an unexpected return, we fall back to some good canned data.
Currently thats a silent fallback as I dont see value in showing the user that something went wrong as part of a tutorial.

Check List

  • I have read CONTRIBUTING.md and added my name as a Code Contributor.
  • Contains logically grouped changes (else tidy your branch by rebase).
  • Does not contain off-topic changes (use other PRs for other changes).
  • Applied any dependency changes to both setup.cfg (and conda-environment.yml if present).
  • Tests are included (or explain why tests are not needed).
  • Changelog entry included if this is a change that can affect users
  • Cylc-Doc pull request opened if required at cylc/cylc-doc/pull/XXXX.
  • If this is a bug fix, PR should be raised against the relevant ?.?.x branch.

@samuel-denton samuel-denton self-assigned this Nov 20, 2026
@samuel-denton samuel-denton changed the title Added canned data as a fallback to the amazon data store. Tutorials: Added canned data as a fallback Nov 20, 2026
@samuel-denton
samuel-denton marked this pull request as draft November 20, 2026 17:17
@samuel-denton

Copy link
Copy Markdown
Contributor Author

Draft for now as I haven't ran through the tutorials in full to check this works in all cases.

This branch has not been deployed

No deployments
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.

Add a fallback for AWS rain data service

1 participant