E3SM-Project / ACME-ECP

E3SM MMF for DoE ECP project
Other
9 stars 1 forks source link

Fix 1mom optics for RRTMG #123

Closed brhillman closed 4 years ago

brhillman commented 4 years ago

Fix use of cloud optics for sam1mom microphysics when using RRTMG. Previously, we hard-coded the oldcldoptics flag when using sam1mom microphysics to try to force RRTMG to use the "old" cloud optics schemes, which do not use information from MG2 to specify particle size distribution parameters. However, this flag appears to have inconsistent behavior between the shortwave and longwave codes, and in the longwave it was just being used to add an extra diagnostic call to the old optics routines, before just being overwritten with calls to the newer optics routines anyways. Here, we fix the behavior by explicitly setting the liquid and ice optics schemes for sam1mom via edits to build-namelist to make sure the defaults for sam1mom are the older "Slingo" and "Ebert-Curry" optics. This will be non-BFB for tests that used sam1mom microphysics with RRTMG, but should be BFB for all RRTMGP tests, and for m2005 microphysics tests.