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

fix realm definition in varlistentry.from_struct #598

Closed wrongkindofdoctor closed 5 months ago

wrongkindofdoctor commented 5 months ago

Description add logic to VarlistEntry.from_struct to set realm from pod global_env_vars if provided instead of assuming realm attribute is defined for each pod variable

Associated issue # (replace this phrase and parentheses with the issue number)

How Has This Been Tested? Please describe the tests that you ran to verify your changes in enough detail that
someone can reproduce them. Include any relevant details for your test configuration
such as the Python version, package versions, expected POD wallclock time, and the
operating system(s) you ran your tests on.

Checklist: