ESCOMP / CMEPS

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

Confusing log messages #299

Open jedwards4b opened 2 years ago

jedwards4b commented 2 years ago

Running B1850Mom I see these messages in the med log: (module_med_map: med_map_routehandles_initfrom_field) creating RH redist for atm to lnd srcMask = -987987 dstMask = -987987 (module_med_map: med_map_routehandles_initfrom_field) creating RH patch_uv3d for atm to ocn srcMask = -987987 dstMask = 0 (module_med_map: med_map_routehandles_initfrom_field) creating RH bilnr for atm to ocn srcMask = -987987 dstMask = 0 (module_med_map: med_map_routehandles_initfrom_field) creating RH consf for atm to ocn srcMask = -987987 dstMask = 0 (module_med_map: med_map_routehandles_initfrom_field) creating RH patch_uv3d for atm to ice srcMask = -987987 dstMask = 0 (module_med_map: med_map_routehandles_initfrom_field) creating RH bilnr for atm to ice srcMask = -987987 dstMask = 0 (module_med_map: med_map_routehandles_initfrom_field) creating RH consf for atm to ice srcMask = -987987 dstMask = 0 (module_med_map: med_map_routehandles_initfrom_field) creating RH redist for lnd to atm srcMask = -987987 dstMask = -987987 (module_med_map: med_map_routehandles_initfrom_field) creating RH consf for lnd to rof srcMask = -987987 dstMask = -987987 (module_med_map: med_map_routehandles_initfrom_field) creating RH consf for ocn to atm srcMask = 0 dstMask = -987987 (module_med_map: med_map_routehandles_initfrom_field) creating RH consd for ocn to atm srcMask = 0 dstMask = -987987 (module_med_map: med_map_routehandles_initfrom_field) creating RH redist for ocn to ice srcMask = 0 dstMask = 0 (module_med_map: med_map_routehandles_initfrom_field) creating RH consf for ice to atm srcMask = 0 dstMask = -987987 (module_med_map: med_map_routehandles_initfrom_field) creating RH redist for ice to ocn srcMask = 0 dstMask = 0 (module_med_map: med_map_routehandles_initfrom_field) creating RH consf for rof to lnd srcMask = -987987 dstMask = -987987 (module_med_map: med_map_routehandles_initfrom_field) creating RH consd for rof to ocn srcMask = -987987 dstMask = 0

The two values (-987987, 0) Make it seem as if something is wrong - is it? Maybe these should be written to the log, or only written in debug mode?

DeniseWorthen commented 2 years ago

Sure, it is just reporting that the ispval_mval is being used on one side but documenting it could be controlled w/ a (debug_flag>some number) if you think it is confusing. The additional log message came in w/ the change to the way we were setting the default masks on the src and dst side.