NCAR / ccpp-scm

CCPP Single Column Model
Other
13 stars 50 forks source link

Add support for NSSL cloud microphysics scheme (CCPP) #277

Closed MicroTed closed 2 years ago

MicroTed commented 2 years ago

See CCPP pull request for NSSL scheme features (https://github.com/NCAR/ccpp-physics/pull/761) Related PR for FV3: https://github.com/NOAA-EMC/fv3atm/pull/472

Adds suites, namelists, and tracer config files for NSSL (with/without hail/CCN)

Namelist options:

nssl_cccn - CCCN background CCN concentration. Default: 0.6e9 (per m^3 at STP) nssl_alphah - graupel shape parameter, default = 0. nssl_alphahl - hail shape parameter, default = 1. nssl_hail_on - hail activation flag, default = .false. nssl_ccn_on - CCN prediction flag, default = .true. nssl_invertccn - store CCN as number of activated instead of number remaining, default = .true. (avoids need for specified boundary conditions)

Example test run: ./run_scm.py -c twpice -n input_GSD_v1nssl_nohailnoccn.nml -t tracers_gsd_nssl_nohail_noccn.txt -s SCM_GSD_v1nssl

Also made a change to netcdf output to set the initial date info as integers (matching the native data type). This also solves a type mismatch issue with the analysis python program. (Error passing date info as floats instead of integers.)

MicroTed commented 2 years ago

Updated to 28 Dec. 2021 working version of SCM+CCPP (newer CCPP seems to have unsupported variables)

grantfirl commented 2 years ago

Updated to 28 Dec. 2021 working version of SCM+CCPP (newer CCPP seems to have unsupported variables)

@MicroTed The SCM has been updated to the latest ccpp-physics/framework. This means that you should be able to update your ccpp-physics PR and this one and it should work.

MicroTed commented 2 years ago

OK, cool, I'll try updating. The last that I worked on fv3atm (week or two ago), it seemed to be good with the then-latest CCPP, as well.

MicroTed commented 2 years ago

This and the CCPP PR have been updated to current main