Skip to content

Projected climate years start in 2017 - #21

Closed
eliotmcintire wants to merge 1 commit into
developmentfrom
projected-years-2017
Closed

eliotmcintire wants to merge 1 commit into
developmentfrom
projected-years-2017

Conversation

@eliotmcintire

Copy link
Copy Markdown
Collaborator

Future climate projections now start in 2017 instead of 2011. One tile's projection archive is missing 2013 to 2016, and observed climate now covers years up to 2024, so earlier projection years are not needed.

Affects: runs using projected climate no longer download or prepare 2011-2016 projections; runs over tile 39 no longer stop on the missing years. Runs that set projectedClimateYears themselves are unchanged.

Technical details
  • canClimateData.R:54: projectedClimateYears default 2011:2100 -> 2017:2100, with the reason in its description. It is the only default; the parameter is read once (:296).
  • The projected archive 39_CNRM-ESM2-1_370_MSY_2010.zip (Drive, uploaded 2024-01-18, one revision) holds 1,325 files (2011, 2012, 2017-2019) vs 2,385 for every other tile; FireSense ELFs 5.1.3 and 15.1 stopped with "Climate data folders are missing for tile 39".
  • Test: tests/testthat/test-metadata.R checks the default (fails on development: lengths 90 vs 84). Module suite: 7 tests, 0 failures.
  • canClimateData.md is generated and not rebuilt here.

🤖 Generated with Claude Code

https://claude.ai/code/session_01CwcjqqK59FmTJscyi7xUqv

The tile 39 projected archive (CNRM-ESM2-1 ssp370, 2010 decade) lacks 2013-2016,
and observed climate now covers 1901-2024, so projections before 2017 are not needed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CwcjqqK59FmTJscyi7xUqv
@eliotmcintire eliotmcintire added bug Something isn't working backwards compatible Existing code and results keep working unchanged labels Oct 9, 2026
@eliotmcintire
eliotmcintire requested a review from achubaty October 9, 2026 17:19
@eliotmcintire

Copy link
Copy Markdown
Collaborator Author

Closing: this change is carried on modsForFireSense and offered upstream together with our other FireSense fixes in #24. That PR lists it; the discussion here stays for reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backwards compatible Existing code and results keep working unchanged bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant