Sea-ice experiment
Overview
Teaching: 0 min
Exercises: 0 minQuestions
How to modify sea-ice?
Objectives
Learn to modify sea-ice in a CESM experiment
Sea-ice: how to update the input dataset?
The ice fraction data (used for prescribed CICE) is found in the same data file that provide SST data to the data ocean model since SST and ice fraction data are derived from the same observational data sets and are consistent with each other.
You first need to copy the original SST file to your case directory.
On Saga:export EXPNAME=sea_ice
cd $HOME/cases/F2000climo-f19_g17.$EXPNAME
cp /cluster/projects/nn1000k/cesm/inputdata/./atm/cam/sst/sst_HadOIBl_bc_1x1_2000climo_c180511.nc .
To change sea-ice fraction surface boundary data, use nco utilities to modify the values in the file.
We will use a function called ncap2 – (netCDF Arithmetic Averager) single line command below:
On Saga:module load NCO/4.7.9-intel-2018b
ncap2 -O -s 'lat2d[lat,lon]=lat' -s 'omask=(lat2d >= 40.)' -s 'ice_cov=(ice_cov*(1-omask))' sst_HadOIBl_bc_1x1_2000climo_c180511.nc sst_HadOIBl_bc_1x1_2000climo_c180511_$EXPNAME.nc
Apply this change:
We have to figure out which namelist variable to change.
On Saga:grep sst_ *.xml
then change the relevant variable in env_run.xml.
On Saga:./xmlchange SSTICE_DATA_FILENAME=./sst_HadOIBl_bc_1x1_2000climo_c180511_$EXPNAME.nc
and to make the namelist changes effective (i.e., create namelist files).
On Saga:./preview_namelists
Finally, we can copy the changed SST data file to the run directory.
On Saga:cp sst_HadOIBl_bc_1x1_2000climo_c180511_$EXPNAME.nc /cluster/work/users/$USER/cesm/F2000climo-f19_g17.$EXPNAME/run/.
Key Points
sea-ice