Skip to content

Add me.org met site configurations#27

Merged
SeanBryan51 merged 6 commits intomasterfrom
meorg-sites
Mar 15, 2023
Merged

Add me.org met site configurations#27
SeanBryan51 merged 6 commits intomasterfrom
meorg-sites

Conversation

@SeanBryan51
Copy link
Copy Markdown
Collaborator

These changes allow users to run a set of standard tests (experiments) for CABLE from which model output can be piped into modelevaluation.org. In particular we

  • no longer default to running CABLE with all met files in the FLUXNET dataset.
  • now use preset experiments that enforce which met sites are to be used. These are defined in the NRI Land testing workspace on modelevaluation.org.

This addresses issues #10 and #25.

Assertion will fail anyway if the key does not exist.
- default met files based off the CABLE_multisite_PLUMBER
  experiment on modelevaluation.org
- update unit tests for `met_subset` key
- remove `get_all_met_sites()`
- check default met files exist in `validate_environment()`
@gabsun has set up two experiments on modelevaluation.org to accept
model output from CABLE: a five site test and a forty two site test.

The user now specifies the `experiment` key in the config file which
selects either to run with the five sites, the forty two sites, or a
single site that is a subset of the five sites.

Remove `met_subset` key from config file as met files are specified by
the `experiment` key.

For specifying met sites in each experiment, store only the site id
internally for each met site and glob the `MET_DIR` directory to get
the names of the corresponding met file. This way, when the met
file data sets are updated, only the `MET_DIR` path needs to be updated.
- check site ids map to valid files in `validate_environment()`

Update unit tests for `check_config()`.
@SeanBryan51 SeanBryan51 requested a review from ccarouge March 10, 2023 03:37
Comment thread benchcab/internal.py Outdated
Comment thread benchcab/internal.py Outdated
Comment thread benchcab/task.py
Comment thread benchcab/internal.py
This change improves code readability (suggested by @ccarouge).
Copy link
Copy Markdown
Member

@ccarouge ccarouge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ready to merge when you want.

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.

Change default for met sites Create several run modes for single sites

2 participants