Skip to content

Commit 585c96a

Browse files
committed
Merge branch 'hotfix-v8.0.2'
This merge corrects several issues in the MPAS-Atmosphere model, specifically: * Generalize the mpas_sphere_angle function to provide correct results for non-unit-radius spheres. This generalization fixes problems in remapping static fields to the outermost layer of specified-zone cells in limited-area meshes. * Initialize mvd_r and mvd_c before first use in the Thompson microphysics scheme to prevent the potential use of uninitialized memory, which could lead to floating-point exceptions. * Correct the units for the grid scale input field to the Thompson cloud fraction scheme.
2 parents cd652c3 + 3f6d870 commit 585c96a

File tree

11 files changed

+20
-12
lines changed

11 files changed

+20
-12
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
MPAS-v8.0.1
1+
MPAS-v8.0.2
22
====
33

44
The Model for Prediction Across Scales (MPAS) is a collaborative project for

src/core_atmosphere/Registry.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<registry model="mpas" core="atmosphere" core_abbrev="atm" version="8.0.1">
2+
<registry model="mpas" core="atmosphere" core_abbrev="atm" version="8.0.2">
33

44
<!-- **************************************************************************************** -->
55
<!-- ************************************** Dimensions ************************************** -->

src/core_atmosphere/physics/mpas_atmphys_driver_cloudiness.F

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ module mpas_atmphys_driver_cloudiness
5151
! Laura D. Fowler ([email protected]) / 2016-07-05.
5252
! * since we removed the local variable radt_cld_scheme from mpas_atmphys_vars.F, now defines radt_cld_scheme
5353
! as a pointer to config_radt_cld_scheme.
54-
! Laura D. Fowler ([email protected]) / 2917-02-16.
54+
! Laura D. Fowler ([email protected]) / 2017-02-16.
55+
! * this is a bug fix. dx_p is converted from meters to kilometers prior to calling the thompson parameterization
56+
! of the cloud fraction.
57+
! Laura D. Fowler ([email protected]) / 2024-03-23.
5558

5659

5760
contains
@@ -119,6 +122,8 @@ subroutine cloudiness_from_MPAS(configs,mesh,diag_physics,sfc_input,its,ite)
119122
do j = jts,jte
120123
do i = its,ite
121124
dx_p(i,j) = len_disp / meshDensity(i)**0.25
125+
!conversion of dx_p from meters to kilometers.
126+
dx_p(i,j) = dx_p(i,j)*0.001
122127
xland_p(i,j) = xland(i)
123128
enddo
124129

src/core_atmosphere/physics/physics_wrf/module_mp_thompson.F

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1593,6 +1593,8 @@ subroutine mp_thompson (qv1d, qc1d, qi1d, qr1d, qs1d, qg1d, ni1d, &
15931593
smod(k) = 0.
15941594
smoe(k) = 0.
15951595
smof(k) = 0.
1596+
mvd_r(k) = 0.
1597+
mvd_c(k) = 0.
15961598
enddo
15971599

15981600
!+---+-----------------------------------------------------------------+

src/core_init_atmosphere/Registry.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<registry model="mpas" core="init_atmosphere" core_abbrev="init_atm" version="8.0.1">
2+
<registry model="mpas" core="init_atmosphere" core_abbrev="init_atm" version="8.0.2">
33

44
<!-- **************************************************************************************** -->
55
<!-- ************************************** Dimensions ************************************** -->

src/core_landice/Registry.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<registry model="mpas" core="landice" core_abbrev="li" version="8.0.1">
2+
<registry model="mpas" core="landice" core_abbrev="li" version="8.0.2">
33

44

55
<!-- ======================================================================= -->

src/core_ocean/Registry.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<registry model="mpas" core="ocean" core_abbrev="ocn" version="8.0.1">
2+
<registry model="mpas" core="ocean" core_abbrev="ocn" version="8.0.2">
33

44
<dims>
55
<dim name="nCells" units="unitless"

src/core_seaice/Registry.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<registry model="mpas" core="seaice" core_abbrev="seaice" version="8.0.1">
2+
<registry model="mpas" core="seaice" core_abbrev="seaice" version="8.0.2">
33

44
<dims>
55
<dim name="nCells"

src/core_sw/Registry.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<registry model="mpas" core="sw" core_abbrev="sw" version="8.0.1">
2+
<registry model="mpas" core="sw" core_abbrev="sw" version="8.0.2">
33
<dims>
44
<dim name="nCells"/>
55
<dim name="nEdges"/>

src/core_test/Registry.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<registry model="mpas" core="test" core_abbrev="test" version="8.0.1">
2+
<registry model="mpas" core="test" core_abbrev="test" version="8.0.2">
33
<dims>
44
<dim name="nCells"/>
55
<dim name="nEdges"/>

0 commit comments

Comments
 (0)