ESCOMP / CMEPS

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

Fix aux history files for use_float=.true. #488

Closed DeniseWorthen closed 3 months ago

DeniseWorthen commented 4 months ago

Description of changes

Fixes aux history output to correctly implement use_float = .true.. For UFS, fixes mediator history write for ocnalb_a and aoflux_a FBs when ATM is a CSG or regional (single tiled) domain. Fixes garbled print message for global scalar dimensions when component exists but NState does not

CMEPS Issues Fixed (include github issue #):

Are changes expected to change answers? (specify if bfb, different at roundoff, more substantial)

Aux history files generated with the current code and with use_float=.true. would be expected to be different. UFS currently has no comparison case for aux history files.

Any User Interface Changes (namelist or namelist defaults changes)?

No

Testing performed

Using UFS, instantaneous and average aux history files for OCN were generated for two cases: current code (ce9cfe2) with use_float=.false. hardwired and with this feature branch. The file output was compared using cprnc -m r4file r8file. All fields were reported as B4B, and 10 fields were marked as different data types.