Versions Compared

Key

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

...

 Initial files for the observed SST experiment, 'ob00', and the climatological SST experiment 'clim', have been created and are made available in the directory : /perm/rd/openifs/oifs_workshop_2017/expts-inidata/

...

Note that we copy all the files needed to start the model, not just the initial data files for the atmosphere and surface (ICMSH* and ICMGG* files), but also the climatology (ICMCL*), the wave model start files and the namelists.

In this example, the new experiment is intended for a 50 member ensemble run. We we want to use a new experiment id, ob50ob01, to distinguish it from ob00 which only used 10 ensemble members.

First step is to make a copy of the ob00 data to your /scratch directory:

Code Block
titleCopy previous initial data from previous experiment...
cd scratch				# starting from your home directory
mkdir -p inidir/ob50ob01 	# our new experiment id
cd inidir/ob50ob01
cp -rL /perm/rd/openifs/oifs_workshop_2017/expts-inidata/ob00/2015110100 .		# those last characters are a 'space' and then a 'fullstop', '.' means "here".

...

Code Block
titleTo copy multiple dates. Example 1: first 5 days
cd inidir/ob50ob01
cp -rL /perm/rd/openifs/oifs_workshop_2017/expts-inidata/ob00/2015110[1-5]* .

...

Code Block
titleTo copy multiple dates. Example 2: copy all dates
cd inidir/ob50ob01
cp -rL /perm/rd/openifs/oifs_workshop_2017/expts-inidata/ob00/201511* .   # this will be slow!

...

Code Block
titleConfirm experiment id contained in GRIB files..
troifs0@cca-login3:> cd inidir/ob50ob01/2015110100
troifs0@cca-login3:> exptid ICMSHob00INIT
In file ICMSHob00INIT, values of key experimentVersionNumber are:
ob00

...

Use the exptid command to set the new experiment id to 'ob50ob01':

Code Block
troifs0@cca-login3:> exptid -n ob50ob01 ICM*ob00*
Changing expid from 'ob00' to 'ob50ob01' for ICMCLob00INIT and writing to new file ICMCLob50INITICMCLob01INIT.
Changing expid from 'ob00' to 'ob50ob01' for ICMGGob00INIT and writing to new file ICMGGob50INITICMGGob01INIT.
Changing expid from 'ob00' to 'ob50ob01' for ICMGGob00INIUA and writing to new file ICMGGob50INIUAICMGGob01INIUA.
Changing expid from 'ob00' to 'ob50ob01' for ICMSHob00INIT and writing to new file ICMSHob50INITICMSHob01INIT.

Verify the command worked by checking the experimentVersionNumber in the new files:

Code Block
troifs0@cca-login3:> exptid *ob50ob01*
In file ICMCLob50INITICMCLob01INIT, values of key experimentVersionNumber are:
0001
In file ICMGGob50INITICMGGob01INIT, values of key experimentVersionNumber are:
0001
ob50ob01
In file ICMGGob50INIUAICMGGob01INIUA, values of key experimentVersionNumber are:
ob50ob01
In file ICMSHob50INITICMSHob01INIT, values of key experimentVersionNumber are:
ob50ob01

To save space, you can delete the ob00 files (these will always be available in the directory where they were copied from)

Code Block
troifs0@cca-login3:> rm ICM*ob00*
rm: remove regular file `ICMCLob00INIT'? y
rm: remove regular file `ICMGGob00INIT'? y
rm: remove regular file `ICMGGob00INIUA'? y
rm: remove regular file `ICMSHob00INIT'? y

Further modification to initial files

Now the initial files with the correct experiment ID have been prepared, further modifications to the input files can be made.

To modify the SST parameter, please see other tutorial.

Creating the forecast experiment

Once the initial data directory is prepared,

Running the forecast experiment

blah blah blah

Postprocessing

To postprocess the OpenIFS output files, 

Useful Unix commands

 

Code Block
titleRemove a directory and ALL it's contents.. (note this is recursive delete!)
rm -rf 2015110100
rm -rf 2015110[1-5]00

...