@@ -107,7 +107,7 @@ frecheck -v -r restart -p ncrc6.intel23 -t repro -x CEFI_NEP_cobalt.xml CEFI_NE
107107 <xi : include href =" ../xml_include/xml_building_blocks/platforms.xml" xpointer =" xpointer(//freInclude/platform[@name='ncrc5.intel23'])" />
108108 <xi : include href =" ../xml_include/xml_building_blocks/platforms.xml" xpointer =" xpointer(//freInclude/platform[@name='gfdl.ncrc5-intel23'])" />
109109 <xi : include href =" ../xml_include/xml_building_blocks/platforms.xml" xpointer =" xpointer(//freInclude/platform[@name='ncrc6.intel23'])" />
110- <xi : include href =" ../xml_include/xml_building_blocks/platforms.xml" xpointer =" xpointer(//freInclude/platform[@name='gfdl.ncrc6-intel23'])" />
110+ <xi : include href =" ../xml_include/xml_building_blocks/platforms.xml" xpointer =" xpointer(//freInclude/platform[@name='gfdl.ncrc6-intel23'])" />
111111 </setup >
112112
113113 <!-- = COMPILE =-->
@@ -600,10 +600,12 @@ cat > $work/INPUT/MOM_override << MOM_OVERRIDE_EOF
600600#override PHA_MLD_USE_DELTA_RHO = True
601601#override PHA_MLD_HREF = 10.0
602602#override PHA_MLD_DRHO = 0.03
603- #override HREF_FOR_MLD = 5.0
603+ #override HREF_FOR_MLD = 5.0
604604#override DIAG_MLD_DENSITY_DIFF = 0.03
605605#override VISC_REM_BUG = True
606606#override GENERIC_TRACER_IC_FILE = "NEP_COBALT_spinup_2003.nc"
607+ #override U_TRUNC_FILE = "U.velocity_truncations"
608+ #override V_TRUNC_FILE = "V.velocity_truncations"
607609MOM_OVERRIDE_EOF
608610
609611truncate -s 0 $work/INPUT/COBALT_override
@@ -681,28 +683,33 @@ COBALT_INPUT_EOF
681683 <run days =" 2" >
682684 <resources jobWallclock =" 01:00:00" >
683685 <ice layout = " 32,80" io_layout = " 1,1" mask_table =" mask_table.524.32x80" />
684- <ocn ranks =" 2036" threads =" 1" layout = " 32,80" io_layout = " 1,1" mask_table =" mask_table.524.32x80" />
685- </resources >
686+ <ocn ranks =" 2036" threads =" 1" layout = " 32,80" io_layout = " 1,1" mask_table =" mask_table.524.32x80" />
687+ </resources >
686688 </run >
687689 </regression >
688690 </runtime >
689691
690692 <postProcess >
691693 <csh ><![CDATA[
692694 cd $work
693- #Make a directory to trick FRE to pick up and archive in ascii
694- mkdir extra.results
695- mv *velocity_truncations MOM_parameter_doc* SIS_parameter_doc* COBALT_parameter_doc* seaice.stats* ocean.stats* extra.results/
696- cp diag_table INPUT/*_input INPUT/*_override INPUT/*.xml extra.results/.
697- cp $scriptName extra.results/runscript.csh
698- #When the ocean uses a mask_table the ocean_static.nc file produced by the model run has holes in coordinates (geolon,geolat)
699- #This causes problems for ferret and python tools for analysis.
700- #Copy a non-masked version of ocean_static.nc to be saved as a history file to be used by the analysis scipts .
695+ # Archive an assortment of model input files and model metadata
696+ mkdir metadata.out
697+ mv MOM_parameter_doc* SIS_parameter_doc* COBALT_parameter_doc* metadata.out/
698+ cp diag_table input.nml metadata.out/
699+ cp INPUT/*_input INPUT/*_override metadata.out/
700+ # Save the Git commit hash for each source code submodule
701+ git -C $root/$(LIBS_ROOT)/src/mom6 submodule status --recursive > metadata.out/git_submodule_status
702+ # Archive a copy of the xml used to run the model and the run script (fre sets these)
703+ cp $rtsxml metadata.out/
704+ cp $scriptName metadata.out/runscript.csh
705+ # When the ocean uses a mask_table the ocean_static.nc file produced by the model run has holes in coordinates (geolon,geolat)
706+ # This causes problems for ferret and python tools for analysis.
707+ # Copy a non-masked version of ocean_static.nc to be saved as a history file to be used by the analysis scripts.
701708 cp $work/INPUT/ocean_static_no_mask_table.nc $work/ocean_static.nc
702709 ]]> </csh >
703710 <xi : include xpointer =" xpointer(//freInclude[@name='MOM6_postprocess']/postProcess/node())" />
704711 <xi : include xpointer =" xpointer(//freInclude[@name='COBALT_postprocess']/postProcess/node())" />
705- <xi : include xpointer =" xpointer(//freInclude[@name='COBALT_z_postprocess']/postProcess/node())" />
712+ <xi : include xpointer =" xpointer(//freInclude[@name='COBALT_z_postprocess']/postProcess/node())" />
706713 </postProcess >
707714
708715 </experiment >
@@ -798,7 +805,7 @@ ln -sf nep_10km_glorys_obcs_${fyear}.nc obcs.nc
798805ln -sf glorys_monthly_NEP_sponge_${fyear}_clim.nc nep_10k_glorys_mnClim.nc
799806
800807if ( $(target) == 'debug' ) then
801- echo "we are testing in debug mode. Need to re-create grid masks!"
808+ echo "we are testing in debug mode. Need to re-create grid masks!"
802809cd $work/INPUT
803810rm -rf $work/INPUT/ocean_mask.nc
804811rm -rf $work/INPUT/ocean_mosaic.nc
@@ -809,7 +816,7 @@ make_solo_mosaic --num_tiles 1 --dir . --mosaic_name ocean_mosaic --tile_file oc
809816make_quick_mosaic --input_mosaic ocean_mosaic.nc --mosaic_name grid_spec --ocean_topog ocean_topog.nc
810817ln -fs $work/INPUT/ocean_topog.nc $work/INPUT/topog.nc
811818endif
812-
819+
813820 ]]>
814821 </csh >
815822 </input >
0 commit comments