A new version of the FAST (33 bins) Spectral-Bin Microphysics (FSBM)#1097
A new version of the FAST (33 bins) Spectral-Bin Microphysics (FSBM)#1097davegill merged 36 commits intowrf-model:developfrom
Conversation
modified: phys/module_mp_SBM_polar_radar.F modified: phys/module_mp_fast_sbm.F
modified: arch/postamble
|
@JS-WRF @JS-WRF-SBM @weiwangncar @dudhia @smileMchen Kobby, |
|
@smileMchen Use this branch to modify those r_p_ff values that we set to 12. |
This is a bad idea. These should come from the auto-generated Registry information. This needs to be fixed. When fixed here, also fix the FULL SBM routine. Changes to be committed: modified: ../../phys/module_mp_fast_sbm.F
|
@weiwangncar @dudhia @smileMchen @JS-WRF @JS-WRF-SBM |
|
That's great. Thanks. |
Kobby, The automated regressions look good: The code is ready for you to test. |
|
Got you! |
|
@davegill @smileMchen @weiwangncar @dudhia There is a bug in the merged FSBM code.
In summary, in the switched-off block we should have for the SBMRADAR array r_p_xyz indices, and for the rest of the code where we transforming scalar bin info. we need the p_xyz indices. In case you think the r_p_xyz indices can be read automatically somehow (?), you can erase the hard coding for these. The r_xyz are supposed to be read automatically from the |
|
BTW -- these two sets of indices, apart from signify for advected and static data, are different in size. |
|
@JS-WRF @JS-WRF-SBM @dudhia @weiwangncar @smileMchen Please fix the code as you see fit. However, the code must pass the NMM build. The hardcoded method of assigning p_ff integers was used in the full SBM, which is how it was decided to make the code run with NMM. I used the same technique for the fast SBM. To try out the changes, just pull down this fork and branch. To verify that the code builds for NMM Once you are happy with your mods, you can try to commit the changes back to this branch and fork (you might not have permission). If not, just push the branch to your github fork. |
|
@davegill |
|
@JS-WRF @JS-WRF-SBM @weiwangncar @dudhia @smileMchen |
|
@davegill @weiwangncar @dudhia @smileMchen Hope the real test case will finalized as planned. |
|
@JS-WRF @JS-WRF-SBM @smileMchen @weiwangncar @dudhia |
|
@JS-WRF What resolutions do you use this scheme typically? Do you see the need to have more vertical levels, monotonic advection options? This kind of information could be useful for other users. |
|
|
@JS-WRF I just needed a way to contact you. Your input will be added to the final release notes. I assume your model top is at 50 mb? |
OK -- Thanks. If you need me to send you a unified PR text that you can place in the release page -- I'm happy to do it. |
|
Attached please find is the unified info for the FSBM release. Let me know if you have questions. Thanks, |
TYPE: enhancement / new features
KEYWORDS: cloud microphysics, polarimetric-forward-operator
SOURCE: Jacob Shpund, Alexander Khain, and Barry Lynn (The Hebrew University of Jerusalem)
DESCRIPTION OF CHANGES:
A new updated Fast Spectral Bin Microphysics (FSBM) cloud microphysical scheme.
There are updates across all the FSBM microphysical scheme including:
nucleation, 3 log-normal user-defined aerosol distribution),
A forward polarimetric operator is coupled to the FSBM scheme. The user can see the total
reflectivity field, as well as the per hydrometeor total reflectivity (rain, snow, graupel/hail).
Please see mandatory input tables info in the RELEASE NOTE.
Modified PR from the original #848 and then the additionally modified PR #1085
A new version of the FAST (33 bins) Spectral-Bin Microphysics (FSBM).
From #848 -> #1085
From #1085 to #1097
diag_misc module"
LIST OF MODIFIED FILES:
M Makefile
M Registry/registry.em_shared_collection
A Registry/registry.polrad
M Registry/registry.sbm
M arch/postamble
M configure
M dyn_em/solve_em.F
M phys/Makefile
M phys/module_diag_nwp.F
M phys/module_diagnostics_driver.F
M phys/module_microphysics_driver.F
A phys/module_mp_SBM_polar_radar.F
M phys/module_mp_fast_sbm.F
M phys/module_physics_init.F
M share/module_check_a_mundo.F
TESTS CONDUCTED:
RELEASE NOTE:
Fast (33 bins) Spectral-bin Microphysics (FSBM): in order to run the new FSBM scheme, users needs to download an external directory named "SBM_input_33" consist of mandatory input tables and place it in the 'run' directory. In case the coupled polarimetric forward operator is to be used (e.g., 'sbm_diagnostics = 1'), a second directory consist of scattering amplitudes named "SBM_scatter_amplit.tgz" needs to be placed in the 'run' directory. Both directories are compressed and can be downloaded at the following link:
https://drive.google.com/drive/folders/1qxYyQwKI1wKQYasDUkQvVgHs11prLiqA?usp=sharing
(on a Linux machine, you may need to escape the
?character with\?).The FAST SBM code is not currently configure to work with default 8-byte reals.