Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column

SST in the initial files

The OpenIFS initial file that contains the sea-surface temperature (SST) is the ICMCL file. The SST is represented as the parameter "soil temperature layer 1" (top soil layer 1-7cm), grib parameter STL1, grib code 139 where the land-sea mask defines a sea gridpoint. STL1 also contains the representation of the sea-ice field, grib parameter CI.

Manipulating the SST for the model involves changes the STL1 field but masking should be used to maintain the values over the land points.

The land-sea mask, grib parameter LSM, grib code 172, is contained in the ICMGG*INIT file. Values of lsm >= 0.5 are treated as land points, values < 0.5 are treated as sea-points.

Column
Panel
titleOn this page...

 

Table of Contents

...

 

Metview script: sst_modif.mv

A metview script has been provided that will allow changing the SST.

...

Info

Before changing the SST, take a copy of a previous experiment and change the experiment id.

...

 

In the experiment directory, make a copy of the metview script.

...

Date range: Other options exist in the script to make the modification apply only to certain dates, using the startDate and endDate values.

Example 1: Replacing the observed SST in the tropics with the climatology

In this example, we replace all the observed SSTs values in the tropics with the climatological SST.

...

Code Block
box=[10,-180,-10,-80]  #  N, W, S, E

 

Example 2: Increasing the SST by factor of 2 in the Pacific

 

Running the script

To run the script, type the command:

Code Block
metview -b sst_modif.mv

This will generate some warning messages which can be ignored. If the script completes successfully:

Code Block
....
process date=20160502
 idxRef=184 idxPert=123
process date=20160503
 idxRef=185 idxPert=124
process date=20160504
 idxRef=186 idxPert=125
metview: EXIT (OK) (line 1), exit status 0, starting 'cleanup'

Two new GRIB files will be created:

ICMCLob01INIT.modif - this is the new file with the modified SST fields.
stl1_modif_diff.grib - this is a GRIB file with the difference between the modified and original SST field. It can be used to generate plots of the SST differences using Metview.

Info

Note that the metview command on cca only supported batch processing - no interactive display or plotting is possible.

Rename ICMCL files!

Final and important step, once the sst_modif.mv script has completed and you are satisfied with the changes in the SST field, remember to rename the files to replace the original, so that the model uses the modified file when starting:

Code Block
mv ICMCLob01INIT ICMCLob01INIT.old
mv ICMCLob01INIT.modif ICMCLob01INIT

(substitute ob01 with your experiment id)Seeing the difference in SST