Skip to content

Release: --models multi-model fetch CLI for NEX-GDDP (#130)#135

Merged
Sammyjoseph999 merged 1 commit into
mainfrom
staging
Jun 18, 2026
Merged

Release: --models multi-model fetch CLI for NEX-GDDP (#130)#135
Sammyjoseph999 merged 1 commit into
mainfrom
staging

Conversation

@Sammyjoseph999

Copy link
Copy Markdown
Owner

Summary

Promotes #134 from staging to main: adds a --models CLI option (comma-separated list, or all) to source_data.py, transform_data.py, and preprocess_data.py so all NEX-GDDP models can be fetched/saved in one command (one file per model). Resolves the #130 enhancement.

…130) (#134)

The fetch_data CLIs accepted only a single --model; passing more than one
errored. Add a --models option (comma-separated list, or 'all' for every
available model) to source_data.py, transform_data.py, and
preprocess_data.py. Each requested model is fetched in turn and written to
its own file (output stem + _<model>); 'all' expands to the 16 CMIP6
models. --model still works for the single-model case; --models overrides
it. Unknown model names are rejected with the available list.

resolve_models()/_suffix_path() live in source_data.py and are reused by
transform_data.py; preprocess_data.py carries an equivalent resolver.
@Sammyjoseph999 Sammyjoseph999 merged commit 468e150 into main Jun 18, 2026
1 check passed
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.

1 participant