NOAA-EMC / CMEPS

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

single normalization type is not enforced #40

Closed DeniseWorthen closed 3 years ago

DeniseWorthen commented 3 years ago

CMEPS uses packed fields at mapping time, meaning all fields from component n1 to n2 using a given mapping maptype are packed into the unlimited dimension of a single field. As a consequence, all packed fields for n1:n2:maptype must have the same normalization applied. This restriction is noted in code comments but not otherwise enforced in the CMEPS code, so that a user could set a 2nd normalization type without triggering an error.

A trigger needs to be implemented which will cause the application to abort if a second normalization type is specified for a given n1:n2:maptype specification.