ESCOMP / CAM-SIMA

Community Atmosphere Model - System for Integrated Modeling of the Atmosphere
3 stars 11 forks source link

Need to simplify snapshot (ncdata_check) testing #268

Closed nusbaume closed 1 month ago

nusbaume commented 1 month ago

Issue Type

Infrastructure Update

Issue Description

The current implementation of using CAM snapshot files to test CCPP-ized physics schemes in CAM-SIMA is overly complex due to technical debt from the beginning development period of the model, and has started to cause confusion among several CAM-SIMA and CPPP physics developers. Thus it would be good to simplify the implementation of this testing mechanism by doing the following:

  1. Use the actual current CAM-SIMA time step as the time slice/data frame used for the snapshot files, instead of the model time step + 2.

  2. Only perform snapshot comparisons during the CAM-SIMA run phase, instead of during all model phases (e.g. initialize, run, finalize).

Along with those two modifications, it would also help to have CAM-SIMA add a line to the log file whenever the time step has advanced, so that users and developers can know on what time step the model is actually on at any given point in the log output.

Will this change answers?

No

Will you be implementing this yourself?

Yes