Skip to content

Commit d4287eb

Browse files
committed
Merge branch 'eclare/seaice/deprecate_colpkg' (PR #7132)
Remove the old sea ice column package Removes the old column package from MPAS-seaice, including changing the BGC default to Icepack. Namelist option config_column_physics_type has only one option (‘icepack’) and has been left in the code for now, but most lines using it have been commented out. Several options available in the old column package that were/are being deprecated in Icepack have been removed, including zsalinity and CESM melt ponds. There were also options to turn off individual thermodynamic processes in the column package for testing, which now are no longer available: config_use_congelation_basal_melt, config_use_lateral_melt, config_use_latent_processes. This PR changes the default column physics used for biogeochemistry from column_package to icepack. In ice_comp_mct.F, call the freezing temperature calculation from Icepack instead of the column_package, in routine ice_import_moab. This change might affect runs with a coupled ocean component. MPAS-seaice documentation has been updated accordingly. [NML] [BFB] - except for seaice BGC tests
2 parents a75ee15 + e3a7146 commit d4287eb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+84
-55986
lines changed

components/mpas-seaice/bld/build-namelist

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -509,14 +509,12 @@ add_default($nl, 'config_load_balance_timers');
509509
if ($CONTINUE_RUN eq 'TRUE') {
510510
add_default($nl, 'config_do_restart', 'val'=>".true.");
511511
add_default($nl, 'config_do_restart_hbrine', 'val'=>".true.");
512-
add_default($nl, 'config_do_restart_zsalinity', 'val'=>".true.");
513512
add_default($nl, 'config_do_restart_bgc', 'val'=>".true.");
514513
add_default($nl, 'config_do_restart_snow_density', 'val'=>".true.");
515514
add_default($nl, 'config_do_restart_snow_grain_radius', 'val'=>".true.");
516515
} else {
517516
add_default($nl, 'config_do_restart', 'val'=>".false.");
518517
add_default($nl, 'config_do_restart_hbrine', 'val'=>".false.");
519-
add_default($nl, 'config_do_restart_zsalinity', 'val'=>".false.");
520518
add_default($nl, 'config_do_restart_bgc', 'val'=>".false.");
521519
add_default($nl, 'config_do_restart_snow_density', 'val'=>".false.");
522520
add_default($nl, 'config_do_restart_snow_grain_radius', 'val'=>".false.");
@@ -585,9 +583,6 @@ add_default($nl, 'config_include_pond_freshwater_feedback');
585583

586584
add_default($nl, 'config_use_test_ice_shelf');
587585
add_default($nl, 'config_testing_system_test');
588-
add_default($nl, 'config_use_congelation_basal_melt');
589-
add_default($nl, 'config_use_lateral_melt');
590-
add_default($nl, 'config_use_latent_processes');
591586
add_default($nl, 'config_limit_air_temperatures');
592587

593588
###################################
@@ -630,7 +625,7 @@ add_default($nl, 'config_recover_tracer_means_check');
630625
##################################
631626

632627
if ($ice_bgc eq 'ice_bgc') {
633-
add_default($nl, 'config_column_physics_type', 'val'=>"column_package");
628+
add_default($nl, 'config_column_physics_type', 'val'=>"icepack");
634629
} else {
635630
add_default($nl, 'config_column_physics_type');
636631
}
@@ -652,7 +647,6 @@ add_default($nl, 'config_use_column_snow_tracers');
652647
add_default($nl, 'config_use_ice_age');
653648
add_default($nl, 'config_use_first_year_ice');
654649
add_default($nl, 'config_use_level_ice');
655-
add_default($nl, 'config_use_cesm_meltponds');
656650
add_default($nl, 'config_use_level_meltponds');
657651
add_default($nl, 'config_use_topo_meltponds');
658652
add_default($nl, 'config_use_aerosols');
@@ -665,7 +659,6 @@ add_default($nl, 'config_use_floe_size_distribution');
665659
# Namelist group: biogeochemistry #
666660
###################################
667661

668-
add_default($nl, 'config_use_vertical_zsalinity');
669662
add_default($nl, 'config_use_shortwave_bioabsorption');
670663
add_default($nl, 'config_use_skeletal_biochemistry');
671664
if ($ice_bgc eq 'ice_bgc') {
@@ -708,8 +701,6 @@ add_default($nl, 'config_scale_initial_vertical_bgc');
708701
add_default($nl, 'config_biogrid_bottom_molecular_sublayer');
709702
add_default($nl, 'config_biogrid_top_molecular_sublayer');
710703
add_default($nl, 'config_bio_gravity_drainage_length_scale');
711-
add_default($nl, 'config_zsalinity_molecular_sublayer');
712-
add_default($nl, 'config_zsalinity_gravity_drainage_scale');
713704
add_default($nl, 'config_snow_porosity_at_ice_surface');
714705
add_default($nl, 'config_new_ice_fraction_biotracer');
715706
add_default($nl, 'config_fraction_biotracer_in_frazil');
@@ -891,6 +882,7 @@ add_default($nl, 'config_rapid_mode_aspect_ratio');
891882
add_default($nl, 'config_slow_mode_drainage_strength');
892883
add_default($nl, 'config_slow_mode_critical_porosity');
893884
add_default($nl, 'config_macro_drainage_timescale');
885+
add_default($nl, 'config_congelation_freezing_method');
894886
add_default($nl, 'config_congelation_ice_porosity');
895887

896888
#######################

components/mpas-seaice/bld/build-namelist-section

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,21 +44,18 @@ add_default($nl, 'config_load_balance_timers');
4444
if ($CONTINUE_RUN eq 'TRUE') {
4545
add_default($nl, 'config_do_restart', 'val'=>".true.");
4646
add_default($nl, 'config_do_restart_hbrine', 'val'=>".true.");
47-
add_default($nl, 'config_do_restart_zsalinity', 'val'=>".true.");
4847
add_default($nl, 'config_do_restart_bgc', 'val'=>".true.");
4948
add_default($nl, 'config_do_restart_snow_density', 'val'=>".true.");
5049
add_default($nl, 'config_do_restart_snow_grain_radius', 'val'=>".true.");
5150
} else {
5251
add_default($nl, 'config_do_restart', 'val'=>".false.");
5352
add_default($nl, 'config_do_restart_hbrine', 'val'=>".false.");
54-
add_default($nl, 'config_do_restart_zsalinity', 'val'=>".false.");
5553
add_default($nl, 'config_do_restart_bgc', 'val'=>".false.");
5654
add_default($nl, 'config_do_restart_snow_density', 'val'=>".false.");
5755
add_default($nl, 'config_do_restart_snow_grain_radius', 'val'=>".false.");
5856
}
5957
add_default($nl, 'config_restart_timestamp_name');
6058
add_default($nl, 'config_do_restart_hbrine');
61-
add_default($nl, 'config_do_restart_zsalinity');
6259
add_default($nl, 'config_do_restart_bgc');
6360
add_default($nl, 'config_do_restart_snow_density');
6461
add_default($nl, 'config_do_restart_snow_grain_radius');
@@ -121,9 +118,6 @@ add_default($nl, 'config_include_pond_freshwater_feedback');
121118

122119
add_default($nl, 'config_use_test_ice_shelf');
123120
add_default($nl, 'config_testing_system_test');
124-
add_default($nl, 'config_use_congelation_basal_melt');
125-
add_default($nl, 'config_use_lateral_melt');
126-
add_default($nl, 'config_use_latent_processes');
127121
add_default($nl, 'config_limit_air_temperatures');
128122

129123
###################################
@@ -180,7 +174,6 @@ add_default($nl, 'config_use_column_snow_tracers');
180174
add_default($nl, 'config_use_ice_age');
181175
add_default($nl, 'config_use_first_year_ice');
182176
add_default($nl, 'config_use_level_ice');
183-
add_default($nl, 'config_use_cesm_meltponds');
184177
add_default($nl, 'config_use_level_meltponds');
185178
add_default($nl, 'config_use_topo_meltponds');
186179
add_default($nl, 'config_use_aerosols');
@@ -195,7 +188,6 @@ add_default($nl, 'config_use_floe_size_distribution');
195188

196189
add_default($nl, 'config_couple_biogeochemistry_fields');
197190
add_default($nl, 'config_use_brine');
198-
add_default($nl, 'config_use_vertical_zsalinity');
199191
add_default($nl, 'config_use_vertical_biochemistry');
200192
add_default($nl, 'config_use_shortwave_bioabsorption');
201193
add_default($nl, 'config_use_vertical_tracers');
@@ -220,8 +212,6 @@ add_default($nl, 'config_scale_initial_vertical_bgc');
220212
add_default($nl, 'config_biogrid_bottom_molecular_sublayer');
221213
add_default($nl, 'config_biogrid_top_molecular_sublayer');
222214
add_default($nl, 'config_bio_gravity_drainage_length_scale');
223-
add_default($nl, 'config_zsalinity_molecular_sublayer');
224-
add_default($nl, 'config_zsalinity_gravity_drainage_scale');
225215
add_default($nl, 'config_snow_porosity_at_ice_surface');
226216
add_default($nl, 'config_new_ice_fraction_biotracer');
227217
add_default($nl, 'config_fraction_biotracer_in_frazil');
@@ -403,6 +393,7 @@ add_default($nl, 'config_rapid_mode_aspect_ratio');
403393
add_default($nl, 'config_slow_mode_drainage_strength');
404394
add_default($nl, 'config_slow_mode_critical_porosity');
405395
add_default($nl, 'config_macro_drainage_timescale');
396+
add_default($nl, 'config_congelation_freezing_method');
406397
add_default($nl, 'config_congelation_ice_porosity');
407398

408399
#######################

components/mpas-seaice/bld/namelist_files/namelist_defaults_mpassi.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161
<config_do_restart>false</config_do_restart>
6262
<config_restart_timestamp_name>'rpointer.ice'</config_restart_timestamp_name>
6363
<config_do_restart_hbrine>false</config_do_restart_hbrine>
64-
<config_do_restart_zsalinity>false</config_do_restart_zsalinity>
6564
<config_do_restart_bgc>false</config_do_restart_bgc>
6665
<config_do_restart_snow_density>false</config_do_restart_snow_density>
6766
<config_do_restart_snow_grain_radius>false</config_do_restart_snow_grain_radius>
@@ -144,9 +143,6 @@
144143
<!-- testing -->
145144
<config_use_test_ice_shelf>false</config_use_test_ice_shelf>
146145
<config_testing_system_test>false</config_testing_system_test>
147-
<config_use_congelation_basal_melt>true</config_use_congelation_basal_melt>
148-
<config_use_lateral_melt>true</config_use_lateral_melt>
149-
<config_use_latent_processes>true</config_use_latent_processes>
150146
<config_limit_air_temperatures>true</config_limit_air_temperatures>
151147

152148
<!-- velocity_solver -->
@@ -219,7 +215,6 @@
219215
<config_use_ice_age>false</config_use_ice_age>
220216
<config_use_first_year_ice>false</config_use_first_year_ice>
221217
<config_use_level_ice>true</config_use_level_ice>
222-
<config_use_cesm_meltponds>false</config_use_cesm_meltponds>
223218
<config_use_level_meltponds>true</config_use_level_meltponds>
224219
<config_use_topo_meltponds>false</config_use_topo_meltponds>
225220
<config_use_aerosols>false</config_use_aerosols>
@@ -231,7 +226,6 @@
231226
<!-- biogeochemistry -->
232227
<config_couple_biogeochemistry_fields>false</config_couple_biogeochemistry_fields>
233228
<config_use_brine>false</config_use_brine>
234-
<config_use_vertical_zsalinity>false</config_use_vertical_zsalinity>
235229
<config_use_vertical_biochemistry>false</config_use_vertical_biochemistry>
236230
<config_use_shortwave_bioabsorption>false</config_use_shortwave_bioabsorption>
237231
<config_use_vertical_tracers>false</config_use_vertical_tracers>
@@ -256,8 +250,6 @@
256250
<config_biogrid_bottom_molecular_sublayer>0.006</config_biogrid_bottom_molecular_sublayer>
257251
<config_biogrid_top_molecular_sublayer>0.006</config_biogrid_top_molecular_sublayer>
258252
<config_bio_gravity_drainage_length_scale>20.</config_bio_gravity_drainage_length_scale>
259-
<config_zsalinity_molecular_sublayer>0.0</config_zsalinity_molecular_sublayer>
260-
<config_zsalinity_gravity_drainage_scale>0.028</config_zsalinity_gravity_drainage_scale>
261253
<config_snow_porosity_at_ice_surface>-0.3</config_snow_porosity_at_ice_surface>
262254
<config_new_ice_fraction_biotracer>1.0</config_new_ice_fraction_biotracer>
263255
<config_fraction_biotracer_in_frazil>0.80</config_fraction_biotracer_in_frazil>

components/mpas-seaice/bld/namelist_files/namelist_definition_mpassi.xml

Lines changed: 2 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -245,14 +245,6 @@ Valid values: true or false
245245
Default: Defined in namelist_defaults.xml
246246
</entry>
247247

248-
<entry id="config_do_restart_zsalinity" type="logical"
249-
category="restart" group="restart">
250-
Restart the z-salinity tracer
251-
252-
Valid values: false
253-
Default: Defined in namelist_defaults.xml
254-
</entry>
255-
256248
<entry id="config_do_restart_bgc" type="logical"
257249
category="restart" group="restart">
258250
Restart the ice biogeochemistry
@@ -564,30 +556,6 @@ Valid values: true or false
564556
Default: Defined in namelist_defaults.xml
565557
</entry>
566558

567-
<entry id="config_use_congelation_basal_melt" type="logical"
568-
category="testing" group="testing">
569-
If true congelation and basal melt processes are active.
570-
571-
Valid values: true or false
572-
Default: Defined in namelist_defaults.xml
573-
</entry>
574-
575-
<entry id="config_use_lateral_melt" type="logical"
576-
category="testing" group="testing">
577-
If true lateral melt process is active.
578-
579-
Valid values: true or false
580-
Default: Defined in namelist_defaults.xml
581-
</entry>
582-
583-
<entry id="config_use_latent_processes" type="logical"
584-
category="testing" group="testing">
585-
If true latent heat processes are active.
586-
587-
Valid values: true or false
588-
Default: Defined in namelist_defaults.xml
589-
</entry>
590-
591559
<entry id="config_limit_air_temperatures" type="logical"
592560
category="testing" group="testing">
593561
If true limit air temperatures above
@@ -809,7 +777,7 @@ Default: Defined in namelist_defaults.xml
809777
category="column_package" group="column_package">
810778
Set column physics library.
811779

812-
Valid values: 'icepack' and 'column_package'
780+
Valid values: 'icepack'
813781
Default: Defined in namelist_defaults.xml
814782
</entry>
815783

@@ -888,14 +856,6 @@ Valid values: true or false
888856
Default: Defined in namelist_defaults.xml
889857
</entry>
890858

891-
<entry id="config_use_cesm_meltponds" type="logical"
892-
category="column_tracers" group="column_tracers">
893-
If true use the cesm meltponds tracers.
894-
895-
Valid values: true or false
896-
Default: Defined in namelist_defaults.xml
897-
</entry>
898-
899859
<entry id="config_use_level_meltponds" type="logical"
900860
category="column_tracers" group="column_tracers">
901861
If true use the level ice meltponds tracers.
@@ -971,14 +931,6 @@ Valid values: true or false
971931
Default: Defined in namelist_defaults.xml
972932
</entry>
973933

974-
<entry id="config_use_vertical_zsalinity" type="logical"
975-
category="biogeochemistry" group="biogeochemistry">
976-
Use z-salinity (with Bitz and Lipscomb 1999 thermodynamics)
977-
978-
Valid values: false
979-
Default: Defined in namelist_defaults.xml
980-
</entry>
981-
982934
<entry id="config_use_vertical_biochemistry" type="logical"
983935
category="biogeochemistry" group="biogeochemistry">
984936
Turn on the reaction terms for vertical biological tracers
@@ -1171,22 +1123,6 @@ Valid values: Sets the gravity drainage length scale in the biological transport
11711123
Default: Defined in namelist_defaults.xml
11721124
</entry>
11731125

1174-
<entry id="config_zsalinity_molecular_sublayer" type="real"
1175-
category="biogeochemistry" group="biogeochemistry">
1176-
Sets the ice/ocean molecular sublayer for the z-salinity model
1177-
1178-
Valid values: zero or positive real number less than 1
1179-
Default: Defined in namelist_defaults.xml
1180-
</entry>
1181-
1182-
<entry id="config_zsalinity_gravity_drainage_scale" type="real"
1183-
category="biogeochemistry" group="biogeochemistry">
1184-
Sets the gravity drainage length scale in the z-salinity model
1185-
1186-
Valid values: positive real number less than 1
1187-
Default: Defined in namelist_defaults.xml
1188-
</entry>
1189-
11901126
<entry id="config_snow_porosity_at_ice_surface" type="real"
11911127
category="biogeochemistry" group="biogeochemistry">
11921128
Specifies the snow porosity (volume of air/total volume) at the ice surface
@@ -2489,7 +2425,7 @@ Default: Defined in namelist_defaults.xml
24892425

24902426
<entry id="config_congelation_freezing_method" type="char*1024"
24912427
category="thermodynamics" group="thermodynamics">
2492-
Method used for congelation freezing.
2428+
Method for congelation ice freezing.
24932429

24942430
Valid values: 'one-step', 'two-step'
24952431
Default: Defined in namelist_defaults.xml

components/mpas-seaice/docs/dev-guide/index.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,19 +60,17 @@ The following examples describe how to use the script for development in Icepack
6060

6161
### Set up and run baselines
6262

63-
Create a file containing modified namelist options. The file ``nset01.nlk`` in this example creates baselines for two types of column physics and turns off the ``snicar_ad`` radiation scheme.
63+
Create a file containing modified namelist options. The file ``nset01.nlk`` in this example turns off the ``snicar_ad`` radiation scheme.
6464

6565
```text
6666
$ less nset01.nlk
6767
[mpassi]
68-
config_column_physics_type = {'column_package','icepack'}
6968
config_use_snicar_ad = {.false.}
7069
```
7170

7271
Notes:
7372

7473
- A .nlk file without any config settings will create a baseline using default settings.
75-
- The ``column_package`` option is still available but is no longer being supported in MPAS-seaice.
7674

7775
Fetch E3SM (choose any name for the directory baselines01):
7876

@@ -92,7 +90,7 @@ Submit:
9290
./E3SM-Polar-Developer.sh -s baselines01 -k nset01.nlk -e -q
9391
```
9492

95-
Examine the diagnostic output (compares the icepack run with the column_package run in this example):
93+
Examine the diagnostic output:
9694

9795
```text
9896
./E3SM-Polar-Developer.sh -s baselines01 -k nset01.nlk -e -a -v

components/mpas-seaice/docs/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ Code structure within the ``mpas-seaice/``component-level directory:
3737
| ``driver`` | coupling modules |
3838
| ``src`` | source code for the model physics and output |
3939
| ``src/analysis_members`` | source code for model output |
40-
| ``src/column`` | source code for the (original) ``column_package`` |
4140
| ``src/icepack`` | link to the icepack submodule |
4241
| ``src/model_forward`` | top-level mpas-seaice modules |
4342
| ``src/shared`` | dynamics and general-purpose modules (e.g. mesh, constants) |

components/mpas-seaice/docs/tech-guide/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ With advanced physics and biogeochemistry (BGC) options, MPAS-Seaice can be conf
5454

5555
## Column Physics
5656

57-
The Icepack software has replaced the original ``colpkg`` column physics code in MPAS-seaice. The ``config_column_physics_type = 'column_package'`` option is still available but is no longer being supported in MPAS-seaice.
58-
5957
Because of the strong thermal gradients between the (cold) atmosphere and (relatively warm) oceans in polar regions, a large portion of the physics in sea ice models can be described in a vertical column, without reference to neighboring grid cells. MPAS-Seaice shares the same column physics code as CICE through the Icepack library (Hunke et al., 2018), which is maintained by the CICE Consortium. This code includes several options for simulating sea ice thermodynamics, mechanical redistribution (ridging) and associated area and thickness changes. In addition, the model supports a number of tracers, including thickness, enthalpy, ice age, first-year ice area, deformed ice area and volume, melt ponds, snow properties and biogeochemistry.
6058

6159
Icepack is implemented in MPAS-seaice as a git submodule. Icepack consists of three independent parts, the column physics code, the Icepack driver that supports stand-alone testing of the column physics code, and the Icepack scripts that build and test the Icepack model. E3SM uses only the column physics code, which is called for each ocean grid cell. Icepack’s own driver and testing scripts are used when preparing new developments to be merged back to the CICE Consortium’s Icepack repository.

components/mpas-seaice/docs/user-guide/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ Related namelist variables are grouped according to their application.
4444

4545
## Icepack
4646

47-
The Icepack software has replaced the original ``colpkg`` column physics code in MPAS-seaice. The ``column_package`` option is still available but is no longer being supported in MPAS-seaice.
48-
4947
Full documentation for E3SM's version of Icepack can be found in [E3SM's Icepack readthedocs](<https://e3sm-icepack.readthedocs.io/en/latest>). The most up-to-date documentation from the CICE Consortium's main Icepack repository is [here](<https://cice-consortium-icepack.readthedocs.io/en/main>).
5048

5149
The MPAS-seaice driver for Icepack is

0 commit comments

Comments
 (0)