Commit ac3866c
committed
Merge branch 'hotfix-v8.2.3'
This merge addresses several issues in the MPAS-Atmosphere model and in the MPAS
infrastructure. Specific changes include:
* Correction of the pool from which lbc_scalar constituent indices are obtained
in the init_atm_thompson_aerosols_lbc routine. Rather than obtaining
index_nifa and index_nwfa from the state pool, the indices of lbc_nifa and
lbc_nwfa should be obtained from the lbc_state pool. (PR #1249)
* Correction to the computation of the soil temperature (TSLB) in the Noah-MP
land surface scheme through the addition of initialization of the soil liquid
water (SH2O) in the noahmp_init subroutine in module
mpas_atmphys_lsm_noahmpinit.F prior to calling NoahmpInitMain. (PR #1244)
* Correction of the units of the fields 'greenfrac', 'shdmin', 'shdmax',
'vegfra', and 'albedo12m' from "unitless" to "percent" in the
init_atmosphere and atmosphere core Registry.xml files. Also, a correction to
the spelling of 'greenness' in several places. (PR #1248)
* Removal of a duplicate allocation of indexToEdgeID % array in the
mpas_io_setup_edge_block_fields routine that was the source of a memory leak.
(PR #1258)
* Fix for a memory leak in mpas_block_creator_build_cell_halos by deallocating
the cellLimitField field before the routine returns. (PR #1264)
* Fix for a bug in the logic for determining when decompositions can be reused
by the SMIOL library. In almost any practical situation, however, this bug
created no issues. (PR #1288)
* Changes in the init_atmosphere core to provide more reliable error messages
in case config_nfglevels is not set to a value that is at least as large as
the number of vertical levels in the first-guess intermediate file. (PR #1291)
* Correction of the loop for Noah-MP snow initialization, capping snow water
equivalent maximum at 2000 mm. (PR #1300)
* Fix for a bug in the horizontal 2nd-order filter for the CAM upper absorbing
layer, where the wrong level in the kdiff field was being used when enforcing
a lower-bound on kdiff. This absorbing layer is active only when
config_mpas_cam_coef > 0.0. (PR #1302)
* Fix in the mountain wave idealized test case initialization when multiple MPI
tasks are used. The 'xc' variable, which represents the center-point location
of the mountain, was previously computed based on the maximum xCell values
local to an MPI task, leading to inconsistent values on each MPI rank. By
finding the maximum of xCell over all MPI ranks and ensuring that all MPI
ranks use this global maximum, the terrain field is computed consistently
between serial and parallel runs of the init_atmosphere_model program for the
mountain wave test case (config_init_case = 6). (PR #1312)
* Correction to the calculation of the 2-meter diagnostics (T2M, TH2M, and Q2)
when using the Noah-MP land surface scheme. While the computation of 2-meter
diagnostics is the same for Noah and Noah-MP over oceans, it is different
between the two land surface schemes over land. In Noah-MP, the 2-meter
diagnostics are weighted as functions of their respective diagnostics over
bare soil and over vegetation. The updated diagnostics for Noah and Noah-MP
are now computed in the new file mpas_atmphys_sfc_diagnostics.F. (PR #1242)
* Fix to provide consistency in the ringing behavior of recurring alarms after
their reference time has been adjusted with a call to
mpas_adjust_alarm_to_reference_time. Now, adjusting the reference time for an
alarm will always leave that alarm in a state such that it is considered by
the mpas_is_alarm_ringing routine to be ringing at the current time. With
this fix, limited-area simulations can be restarted at times between LBC
updates, provided the reference_time attribute for the 'lbc_in' stream is set
to the simulation initial time in the streams.atmosphere file. (PR #1290).
* Correction of an indexing error for rvcuten in code blocks specific to the
Grell-Freitas scheme in the convection driver. Specifically, in the
convection_from_MPAS and convection_to_MPAS routines, rvcuten used (k,k) as
indexing in a loop, where (k,i) is needed. Since the Grell-Freitas scheme
does not provide momentum tendencies, the changes in this merge have no
impact on results. (PR #1283)File tree
30 files changed
+754
-152
lines changed- src
- core_atmosphere
- dynamics
- physics
- physics_noahmp/drivers/mpas
- core_init_atmosphere
- core_landice
- core_ocean
- core_seaice
- core_sw
- core_test
- framework
30 files changed
+754
-152
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
3451 | 3451 | | |
3452 | 3452 | | |
3453 | 3453 | | |
3454 | | - | |
| 3454 | + | |
3455 | 3455 | | |
3456 | 3456 | | |
3457 | | - | |
| 3457 | + | |
3458 | 3458 | | |
3459 | 3459 | | |
3460 | 3460 | | |
| |||
3463 | 3463 | | |
3464 | 3464 | | |
3465 | 3465 | | |
3466 | | - | |
| 3466 | + | |
3467 | 3467 | | |
3468 | 3468 | | |
3469 | | - | |
3470 | | - | |
| 3469 | + | |
| 3470 | + | |
3471 | 3471 | | |
3472 | 3472 | | |
3473 | 3473 | | |
| |||
3493 | 3493 | | |
3494 | 3494 | | |
3495 | 3495 | | |
3496 | | - | |
| 3496 | + | |
3497 | 3497 | | |
3498 | 3498 | | |
3499 | 3499 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4692 | 4692 | | |
4693 | 4693 | | |
4694 | 4694 | | |
4695 | | - | |
| 4695 | + | |
4696 | 4696 | | |
4697 | 4697 | | |
4698 | 4698 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
103 | 104 | | |
104 | 105 | | |
105 | 106 | | |
| 107 | + | |
106 | 108 | | |
107 | 109 | | |
108 | 110 | | |
| |||
223 | 225 | | |
224 | 226 | | |
225 | 227 | | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
226 | 232 | | |
227 | 233 | | |
228 | 234 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
363 | 366 | | |
364 | 367 | | |
365 | 368 | | |
366 | 369 | | |
367 | 370 | | |
368 | 371 | | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
369 | 375 | | |
370 | 376 | | |
371 | 377 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
296 | 297 | | |
297 | 298 | | |
298 | 299 | | |
299 | | - | |
| 300 | + | |
300 | 301 | | |
301 | 302 | | |
302 | 303 | | |
303 | 304 | | |
304 | 305 | | |
305 | 306 | | |
306 | | - | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
307 | 315 | | |
308 | 316 | | |
309 | 317 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
744 | 744 | | |
745 | 745 | | |
746 | 746 | | |
747 | | - | |
| 747 | + | |
748 | 748 | | |
749 | 749 | | |
750 | 750 | | |
| |||
941 | 941 | | |
942 | 942 | | |
943 | 943 | | |
944 | | - | |
| 944 | + | |
945 | 945 | | |
946 | 946 | | |
947 | 947 | | |
| |||
Lines changed: 14 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | 378 | | |
383 | 379 | | |
384 | 380 | | |
| |||
423 | 419 | | |
424 | 420 | | |
425 | 421 | | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | 422 | | |
431 | 423 | | |
432 | 424 | | |
| |||
685 | 677 | | |
686 | 678 | | |
687 | 679 | | |
688 | | - | |
689 | | - | |
690 | | - | |
691 | | - | |
692 | | - | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
693 | 685 | | |
694 | 686 | | |
695 | 687 | | |
| |||
865 | 857 | | |
866 | 858 | | |
867 | 859 | | |
| 860 | + | |
868 | 861 | | |
869 | 862 | | |
| 863 | + | |
870 | 864 | | |
871 | 865 | | |
872 | 866 | | |
| |||
913 | 907 | | |
914 | 908 | | |
915 | 909 | | |
| 910 | + | |
916 | 911 | | |
917 | 912 | | |
| 913 | + | |
918 | 914 | | |
919 | 915 | | |
920 | 916 | | |
| |||
0 commit comments