NOAA-EMC / CMEPS

NUOPC Community Mediator for Earth Prediction Systems
https://escomp.github.io/CMEPS/
0 stars 18 forks source link

mediator fails w/o error message when reading restart file which does not contain a field from component #83

Closed DeniseWorthen closed 1 year ago

DeniseWorthen commented 1 year ago

When attempting to read a mediator restart file, the mediator fails if it cannot find a field in the restart file which matches the first field in the component field bundle. This can occur when a user attempts to use a mediator restart file (start_type=continue) after adding a component when the component was not active when the restart file was written. In fact, the correct setting in this case is to use start_type=startup. However, an error message should be reported by the mediator in order to help the user diagnose what they are doing wrong in this case.