Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 38 commits into from
Mar 14, 2022

Conversation

MicroTed
Copy link
Contributor

@MicroTed MicroTed commented Oct 15, 2021

See CCPP pull request for NSSL scheme features (NCAR/ccpp-physics#761)
Related PR for FV3: NOAA-EMC/fv3atm#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
Copy link
Contributor Author

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

@grantfirl
Copy link
Collaborator

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
Copy link
Contributor Author

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
Copy link
Contributor Author

This and the CCPP PR have been updated to current main

imfdeepcnv = -1
imfshalcnv = -1
imp_physics = 17
nssl_ccn_on = .false.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this namelist supposed to have nssl_ccn_on and nssl_hail_on = F? The other one (input_RRFS_v1_nssl_nohailnoccn.nml) already has these as F.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, I probably forgot I had changed it during testing. Since the default for the suite is

"SCM_RRFS_v1nssl":"input_RRFS_v1nssl_nohailnoccn.nml"

Then I could either remove input_RRFS_v1nssl.nml or change it to turn on both hail and CCN as an example. Although I suppose the point of SCM is not to get the 'best' result but rather to check that the scheme is working. Generally, I'd like to set things up for the intended use/needs of SCM. Hail was turned off here because the scheme probably would not produce any, and it's not an output variable anyway.

@grantfirl grantfirl merged commit 76d77f7 into NCAR:main Mar 14, 2022
mkavulich pushed a commit that referenced this pull request May 12, 2022
Add support for NSSL cloud microphysics scheme (CCPP)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants