Repository navigation
Conversation
0f1dcf8 to
0fb26fc
Compare
|
@ywangwof just wanted to give you a heads up that the TEMPO v3.2.4 update has been merged. |
At initialization, refl10cm in the t=0 output is whatever was read from the input file (or zero), not a diagnosis of the initial hydrometeors. For cycled DA (e.g. WoFS/RRFS ensemble reflectivity DA), the posterior H(xa) for reflectivity should be computed from refl10cm consistent with the analyzed hydrometeors. Port of ufs-community#299 to the TEMPO v3.2.4 baseline. - mpas_atmphys_driver_microphysics.F: add init_reflectivity_diagnostic, which recomputes refl10cm (and refl10cm_max) from the initial state via TEMPO's tempo_diagnose_refl. Hydrometeors are not modified. It is a no-op unless config_microp_scheme = 'mp_tempo'. Compared with MPAS-Dev#299 it also passes qc (needed for the v3.2.4 graupel/hail split) and is_first_step=.true. (MPAS always starts with itimestep=1). - mpas_atm_core.F: call it right after physics_init in atm_core_init. - Update the TEMPO submodule to a commit on top of tempo_v3.2.4 adding tempo_diagnose_refl. .gitmodules temporarily points TEMPO to ywangwof/TEMPO until the TEMPO change is merged upstream. Co-authored-by: chengsiliu <61298443+chengsiliu@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0fb26fc to
011d048
Compare
|
@clark-evans Thanks for the heads-up! This PR is now rebased onto the current |
…-style interface - TEMPO submodule -> ywangwof/TEMPO@eed2f33 (tempo_diagnose_refl on top of NCAR/TEMPO tempo_v3.3.0, see NCAR/TEMPO#72). - init_reflectivity_diagnostic: allocate work arrays with memory bounds (ims:ime,kms:kme,jms:jme) as for tempo_run, pass memory and tile bounds with keyword arguments, and abort via physics_error_fatal on errflg. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
@clark-evans @daviddowellNOAA, an update on this PR: At the request of @AndersJensen-NOAA, NCAR/TEMPO#72 (the
This means that, as it stands, #299 would also upgrade MPAS from TEMPO v3.2.4 to v3.3.0, which changes
Does this plan work for you, or would you prefer to bring in the v3.3.0 upgrade through this PR? |
|
@ywangwof I concur with your proposal. Let's update to TEMPO v3.3.0 first, then rebase this PR. |
Diagnose TEMPO 10-cm reflectivity at model initialization (t=0
refl10cm)Description
At initialization,
refl10cmin the t=0 output is whatever was read from the input file (or zero), not a diagnosis of the initial hydrometeors. For cycled ensemble reflectivity DA (WoFS / RRFS with MPAS-JEDI), the posterior H(xa) for reflectivity should come fromrefl10cmconsistent with the analyzed hydrometeors. The LETKF-updatedrefl10cmfield is never fed back into the model.This PR:
init_reflectivity_diagnostictompas_atmphys_driver_microphysics.F. It recomputesrefl10cm(andrefl10cm_max) from the initial state via TEMPO's newtempo_diagnose_refl. It honors hail-aware mode (ng,volg) and the graupel/hail split, so it passesqcandis_first_step=.true.(MPAS always starts atitimestep=1). The call follows thetempo_runconventions: memory and tile bounds, keyword arguments, anderrflg/errmsg. Hydrometeors and other state are not modified. It returns immediately unlessconfig_microp_scheme = 'mp_tempo', so other schemes are unaffected.atm_core_initright afterphysics_init, so the first output (e.g. aninitial_onlystream) contains a consistent reflectivity.tempo_diagnose_refl/tempo_diagnose_refl_1don top oftempo_v3.3.0(4df316e).Note: this moves MPAS TEMPO from v3.2.4 to v3.3.0. At the TEMPO reviewers' request, NCAR/TEMPO#72 now targets
tempo_v3.3.0, so this PR also carries the TEMPO physics changes from 3.2.4 to 3.3.0 (e.g. hail fraction and graupel density tuning).Dependency: NCAR/TEMPO#72.
.gitmodulestemporarily points TEMPO tohttps://github.com/ywangwof/TEMPO(branchfeature/tempo-diagnose-refl-v3.2.4, now rebased ontotempo_v3.3.0). This PR stays in draft until NCAR/TEMPO#72 is merged and the submodule can point back to NCAR/TEMPO.Update: rebased onto the current
noaa/develop; the earlier v3.0.3 version is kept on branchbackup/init-reflectivity-diagnostic-v3.0.3. The v3.2.4-based TEMPO commit (b721655, used by 011d048) is kept on ywangwof/TEMPO branchbackup/tempo-diagnose-refl-v3.2.4.Credits
Testing
./build.sh -f -j 16on Ursa (Intel, single precision, CMake) on this branch (TEMPO v3.3.0): passed (exit 0, no compile errors).tempo_diagnose_reflmatches therefl10cmfromtempo_run(turn_off_micro_flag, dt = 1e-4 s) to within 3e-4 dBZ, with hailhyperaware on/off and with/withoutgraupel_init.mp_tempohail-aware) ran successfully. The log showsTEMPO t=0 reflectivity diagnostic, and the t=0refl10cmranges from −35 to 72.9 dBZ.initial_onlystream writingrefl10cm. The t=0refl10cmranges from −35 to about 75 dBZ, with an echo coverage fraction similar to the background (≈6.3% ≥ 20 dBZ). It was used successfully by the MPAS-JEDI posterior observer.Mandatory Questions
mp_tempoconfigurations,refl10cm/refl10cm_maxin t=0 output will change. The TEMPO 3.2.4 -> 3.3.0 update also changesmp_temporesults in general.Reviews