Difference between revisions of "Nudging perpetual"

From UKCA
(Created page with "A script is available to create a list of ERA datafiles for Nudging as a perpetual year. This will repeatedly link actual files for the fixed year as files for years required...")
 
Line 1: Line 1:
 
A script is available to create a list of ERA datafiles for Nudging as a perpetual year.
 
A script is available to create a list of ERA datafiles for Nudging as a perpetual year.
 
This will repeatedly link actual files for the fixed year as files for years required by the run. E.g. if the simulation is to be run using <code>Y2000</code> conditions but for <code>20years</code> with model start date at <code>1990</code>, the script will cyclically link <code>year 2000</code> ERA datafiles as separate files for each year between <code>1990-2009</code>, into a local folder.
 
This will repeatedly link actual files for the fixed year as files for years required by the run. E.g. if the simulation is to be run using <code>Y2000</code> conditions but for <code>20years</code> with model start date at <code>1990</code>, the script will cyclically link <code>year 2000</code> ERA datafiles as separate files for each year between <code>1990-2009</code>, into a local folder.
  +
  +
'''Note:''' current the script will work with ERA-Interim forcing files. You will need to copy and adapt the script for other forcing datasets.
   
 
=== Usage ===
 
=== Usage ===
  +
''/home/d05/hadzm/bin/mk_era_perpetual_yr.sh [-h] <-y fyr> <-s styr> <-n num> [-o odir]''
 
  +
* '''Met Office''': ''/home/d05/hadzm/bin/mk_era_perpetual_yr.sh [-h] <-y fyr> <-s styr> <-n num> [-o odir]''
 
* '''Monsoon2''': ''/home/d05/hadzm/bin/mk_era_perpetual_yr.sh [-h] <-y fyr> <-s styr> <-n num> [-o odir]''
  +
 
 
 
where:
 
where:

Revision as of 10:15, 21 March 2023

A script is available to create a list of ERA datafiles for Nudging as a perpetual year. This will repeatedly link actual files for the fixed year as files for years required by the run. E.g. if the simulation is to be run using Y2000 conditions but for 20years with model start date at 1990, the script will cyclically link year 2000 ERA datafiles as separate files for each year between 1990-2009, into a local folder.

Note: current the script will work with ERA-Interim forcing files. You will need to copy and adapt the script for other forcing datasets.

Usage

  • Met Office: /home/d05/hadzm/bin/mk_era_perpetual_yr.sh [-h] <-y fyr> <-s styr> <-n num> [-o odir]
  • Monsoon2: /home/d05/hadzm/bin/mk_era_perpetual_yr.sh [-h] <-y fyr> <-s styr> <-n num> [-o odir]


where:

 -h: prints this help message
 -y fxyr: (Required) Perpetual/ fixed year to be used for run
 -s styr: (Required) Start year of model run
 -n num : (Required) Length (num years) of model run
 -o odir: (Optional) Folder for the linked datafiles, default ./