fre list platforms example: https://github.com/NOAA-GFDL/fre-cli/blob/main/fre/list_/list_platforms_script.py
fre run prototype: https://gitlab.gfdl.noaa.gov/Dana.Singh/am5xml/-/blob/runtime-yaml-prototyping/yaml_workflow/run/combined.yaml?ref_type=heads
Goals:
- pass click option for model yaml, combine to get resolved yaml, validate (at the moment, just work with the "combined.yaml prototype since combining doesn't necessarily exist with fre run yamls yet)
- datasets are associated with specific experiment names like so (xml example) - https://gitlab.gfdl.noaa.gov/m5/am5xml/-/blob/main/xml_experiments/c96L65_amip.xml?ref_type=heads#L117
- if we pass in the experiment name to combine , relevant info should be in resolved yaml already (I think)
- parse the resolved yaml for
[run][input][datasets]
- Output (and what should be returned): could be a list of absolute paths to be ingested by a
fre run setup-dir/input-stager tool, which could copy those files over to the workDir
fre list platforms example: https://github.com/NOAA-GFDL/fre-cli/blob/main/fre/list_/list_platforms_script.py
fre run prototype: https://gitlab.gfdl.noaa.gov/Dana.Singh/am5xml/-/blob/runtime-yaml-prototyping/yaml_workflow/run/combined.yaml?ref_type=heads
Goals:
[run][input][datasets]fre run setup-dir/input-stagertool, which could copy those files over to the workDir