Skip to content

Commit

Permalink
Fix test definition res; initialize tpert to zero; initialize landfra…
Browse files Browse the repository at this point in the history
…c to zero in registry.
  • Loading branch information
jimmielin committed Feb 21, 2025
1 parent c25cc60 commit ee30f0a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cime_config/testdefs/testlist_cam.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<option name="comment">Test for Zhang McFarlane physics</option>
</options>
</test>
<test compset="FPHYStest" grid="ne5np4_ne5np4_mg37" name="SMS_Ln2" testmods="cam/outfrq_hack_shallow_derecho">
<test compset="FPHYStest" grid="ne5_ne5_mg37" name="SMS_Ln2" testmods="cam/outfrq_hack_shallow_derecho">
<machines>
<machine name="derecho" compiler="gnu" category="aux_sima"/>
</machines>
Expand Down
16 changes: 9 additions & 7 deletions src/data/registry.xml
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,7 @@
units="fraction" type="real" kind="kind_phys"
allocatable="allocatable">
<dimensions>horizontal_dimension</dimensions>
<initial_value>0.0_kind_phys</initial_value>
<ic_file_input_names>landfrac cam_in_landfrac</ic_file_input_names>
</variable>

Expand All @@ -596,6 +597,14 @@
<initial_value>0.0_kind_phys</initial_value>
<ic_file_input_names>pblh pbuf_pblh</ic_file_input_names>
</variable>
<variable local_name="tpert"
standard_name="convective_temperature_perturbation_due_to_pbl_eddies"
units="K" type="real" kind="kind_phys"
allocatable="allocatable">
<dimensions>horizontal_dimension</dimensions>
<initial_value>0.0_kind_phys</initial_value>
<ic_file_input_names>tpert pbuf_tpert</ic_file_input_names>
</variable>

<!-- Cloud fraction variables - need to be kept in physics state -->
<variable local_name="top_lev_cloudphys"
Expand Down Expand Up @@ -627,13 +636,6 @@
standard_name="half_timestep_for_physics"
units="s" type="real" kind="kind_phys">
</variable>
<variable local_name="tpert"
standard_name="convective_temperature_perturbation_due_to_pbl_eddies"
units="K" type="real" kind="kind_phys"
allocatable="allocatable">
<dimensions>horizontal_dimension</dimensions>
<ic_file_input_names>tpert pbuf_tpert</ic_file_input_names>
</variable>
<variable local_name="ql"
standard_name="in_cloud_water_vapor_mixing_ratio_wrt_moist_air_and_condensed_water_due_to_deep_convection"
units="kg kg-1" type="real" kind="kind_phys"
Expand Down

0 comments on commit ee30f0a

Please sign in to comment.