NOAA-GFDL / MDTF-diagnostics

Analysis framework and collection of process-oriented diagnostics for weather and climate simulations
https://mdtf-diagnostics.readthedocs.io/en/main/
Other
64 stars 100 forks source link

user error and framework message- runtime configuration is missing #676

Closed aradhakrishnanGFDL closed 2 months ago

aradhakrishnanGFDL commented 2 months ago

When the runtime configuration does not exist:

Expected behavior: An error message to check the validity of the config file passed with -f. Current behavior: The framework exits, without an error/warning.

same behaviour with: mdtf, mdtf_framework 
(_MDTF_base) a1r:/home/a1r/MDTF-diagnostics> ./mdtf_framework.py -f runtime_config_am5test_wheeler.jsonc

(_MDTF_base) a1r:/home/a1r/MDTF-diagnostics> 

When the path is valid, it does pick it up.