RegESM User Manual
RegESM User Manual
1. Model Design
Regional Earth System Model (RegESM) is designed to be a state-of-art coupled modeling
system that allows using variety of different earth system models. It also supports easy to
plug new sub-components by using its simplified interface. In this case, developers from
different disciplines might easily adapt their sub components (i.e. wave, ice, land surface) to
the modeling system by following the common conventions, which is used in RegESM.
The designed modeling system currently includes three different model components, which
1
are connected via ESMF (Earth System Modeling Framework):
The main aim is to use such kind of coupling library (like ESMF) is to standardize the coupling
interfaces and having efficient interaction among the model components. The key component
of the coupled model is the driver (or coupler), which is responsible to synchronize the
model components and the interaction (via exchange fields) among them. In general, the
transferred exchange fields depend on the interaction between the components and the
application itself. The information about the definition of the exchange fields between the
modeling components can be seen in the Section 3.1.
The interaction of the main components can be seen in Fig. 1.
Figure 1 Components of RegESM modeling system. The arrows indicate the interaction direction between the subcomponents.
1
http://www.earthsystemmodeling.org/
2
http://gforge.ictp.it/gf/project/regcm/
3
http://www.myroms.org/
4
http://mitgcm.org/download/
5
http://http//www.mpimet.mpg.de/en/science/the-land-in-the-earth-system/terrestrial-hydrology/hdmodel.html
The design of the RegESM follows the common conventions about the multi-component earth
system model. It is designed as an orchestrator to control the plugged sub-components. The
RegESM itself is also called as "driver" or coupler and it basically has no code related with
the physical sub-models. It just holds the definition of the "Initialize", "Run" and "Finalize"
routines, component grid structure information (masking, grid coordinates and decomposition
properties) and time information to achieve synchronization among the components.
The modeling system uses Earth System Modeling Framework (ESMF) as a coupler library to
connect different variety of standalone earth system models. In this case, each component is
assigned as a gridded component and the interaction between them is defined using
6
connectors - The National Unified Operational Prediction Capability (NUOPC ) - interface. In
the future, we are planning to use mediator instead of connectors to have much more flexible
and efficient design.
For instance, the following figure (Fig. 2) shows the interaction between three-component
earth system models. It basically summarizes the interaction between RegCM, ROMS and
HD models.
Figure 2 Example of interaction between components. Arrows shows the exchange fields.
The current design allows us to define different coupling intervals among the sub-components
(i.e. fast and slow time steps). This is crucial because the response time of the components
and the physical processes might be in different time interval. So, it is better to have a flexible
modeling system to define different coupling interval among the model components. In Fig. 3,
the river routing component (RTM) is interacting with atmosphere (ATM) and ocean (OCN)
components with 1-day interval but OCN and ATM components exchange data (i.e. sea
surface temperature, heat and momentum fluxes) in 3-hour interval. In this case, the coupler
component (RegESM) is responsible from the synchronization.
6
http://www.earthsystemmodeling.org/conventions/nuopc.shtml
The components of the modeling system can be activated or disabled easily via drivers
configuration file (namelist.rc, more information can be found in Section X). The driver
configuration file is also responsible for distributing CPU (or cores) to the model components.
In this case, model components can run in different number of processor (or core). The
current design of the modeling system supports both sequential and concurrent execution
of the model components (Fig. 4).
In sequential execution mode, all model components and also driver use all the available
cores except RTM component. RTM component shares last core with the OCN component
because it is not parallelized using MPI and it uses only one core. In this mode, models are
executed in an order and each one of the model components waits others to run again. After
running all model components (just only for coupling time step), the models exchange the
data and start to run again in an ordered fashion until next data exchange time. This can be
seen in the upper part of the Fig. 4. In this case, using RTM component is optional and it is
shown as dashed lines.
The coupled model also supports concurrent execution mode. In this case, each model
component uses its own set of processor (=cores) except RTM component and driver. The
RTM component again uses last available processor (shared with OCN component) due to
the sequential design of the model component. The driver uses all cores to perform
interpolation and data exchange. To assign different number of core for each model
component can be done by modifying driver configuration file.
The following table (Table 1) shows the tested coupled model configurations along with the
tested model versions.
Table 1 Matrix for tested model configurations.
# Model
Component
2
ATM
RegCM
ROMS
Mediterranean Sea
Mediterranean Sea
Caspian Sea
(Turuncoglu et al., 2013,
GMD)
Black Sea
Caspian Sea
Mediterranean Sea
Domain
OCN
MITgcm
RTM
HD
2. Installation
The basic requirements of the installation processes of the RegESM can be divided into three
main sections:
In the first step, user needs to prepare required working environment for the RegESM
installation. In this case, a set of third-party software libraries (i.e. netCDF, ESMF
etc.) must be installed or available in the host system that will be used to run the
coupled model
Then, each model components (i.e. RegCM, ROMS, MITgcm) must be installed with
coupling support. Due to the various design of the standalone model components, the
coupling support are achieved by different ways. For example, the latest version of
RegCM (version 4) can be used as a model component in RegESM without doing any
extra modification or applying patch. In ROMS case, user needs to apply a lightweight
patch to use the model as a RegESM component. Unlike, RegCM and ROMS,
MITgcm has an additional module that allows coupling.
The last step is the installation of RegESM by using external libraries and the
standalone installation of model components.
In this section, it is assumed that the user has basic information about usage and installation
of the individual model components. So, this document does not include detailed information
about the installation of the every libraries and the configuration of the individual model
components, which is mainly depend on the application and used model configuration.
The following sections mainly aim to give detailed information about the installation procedure
about the given steps.
2.1. Installation of Third-Party Libraries
This section includes a set of example commands to install required libraries and tools on a
Linux (ICTPs Argo Cluster, Centos 6.4 Final) based system by using Intel Compiler (13.1.0)
and OpenMPI (installed with same version of Intel Compiler). The users also note that the
installation procedure might change in other systems and compiler combinations.
The PROG environment variable, which is used in this section, is mainly indicates the
directory for tools and library installations.
2.1.1. Hierarchical Data Format (HDF5)
Before installation of HDF5 library (1.8.11), it is necessary to install a compression library.
7
8
The HDF5 supports both zlib and szip libraries but in this document we choose to install zlib
(1.2.8) instead of szip library.
cd $PROGS
wget http://zlib.net/zlib-1.2.8.tar.gz
tar -zxvf zlib-1.2.8.tar.gz
cd zlib-1.2.8
export CC=icc
export FC=ifort
./configure --prefix=`pwd`
make
make install
7
http://www.zlib.net
8
http://www.hdfgroup.org/doc_resource/SZIP/
The last section of commands is required for reaching to all netCDF interfaces or APIs (C,
C++ and Fortran) from the single directory.
2.1.3. Parallel netCDF (optional)
Actually, this step optional but if there is a plan to use ESMF netCDF I/O capabilities to write
exchange fields to disk, then parallel netCDF library (1.3.1) is required.
cd $PROGS
wget http://ftp.mcs.anl.gov/pub/parallel-netcdf/parallel-netcdf-1.3.1.tar.gz
tar -zxvf parallel-netcdf-1.3.1.tar.gz
cd parallel-netcdf-1.3.1
./configure --prefix=`pwd` --with-mpi=/opt/openmpi/1.6.5/intel/2013psm FC=mpif90 F77=mpif90
CXX=mpiccpc
make
make install
export PNETCDF=$PROGS/parallel-netcdf-1.3.1
Note that the path for MPI installation might be change. In this case, user must supply correct
path to --with-mpi configuration option.
2.1.4. Apache Xerces C++
This library is required for ESMF installation. It is basically responsible from reading/writing
grid definitions and attributes (field, component and state level) as XML format.
cd $PROGS
wget http://apache.bilkent.edu.tr//xerces/c/3/sources/xerces-c-3.1.1.tar.gz
tar -zxvf xerces-c-3.1.1.tar.gz
cd xerces-c-3.1.1
./configure --prefix=$PROGS/xerces-c-3.1.1 CC=icc CXX=icpc
make
make install
The coupled model might need special features of ESMF (7.0.0b38) based on the
selected options in the driver configuration (namelist.rc) file. In this case, the debug
level option is important. If user try to debug the exchange fields by writing them into
disk in netCDF format (debug level 3 must be selected in this case), then it is
necessary to install ESMF library with parallel I/O and netCDF support (for more
information, look at the example environment variables defined in ESMF installation
related with NETCDF and PNETCDF). The installation of netCDF
After netCDF version 4.3.0 the C++ interface is changed and ESMF (tested with
coupled model) is not compatible with it. So, it is better to use the <= 4.3.0 version of
netCDF in this case.
10
Note that the list of environment variables (given as tcsh or csh shell syntax, for bash type
shell the setenv command must be replaced by export command along with the usage of =
sign) is specific to ARGO cluster, its architecture (x64_64), operating system (Centos 6.4
final) and installed compiler (Intel Compiler, 13.1.0) and MPI (OpenMPI, 1.6.5) versions.
They must be modified to install ESMF library to the other computing systems or clusters. The
detailed information about definition of environment variables for ESMF library (see known
11
bugs section before) itself can be found in ESMF Web site .
9
http://www.earthsystemmodeling.org/esmf_releases/last_built/ESMF_usrdoc/
10
http://argo.ictp.it
11
http://www.earthsystemmodeling.org/download/platforms/
After installation of the ESMF library, user can create a new environment variable (ESMF_LIB
and ESMFMKFILE) to help RegCM configure script to find the location of the required files to
build coupled model. The example environment variables for C shell,
setenv ESMF_LIB
"${ESMF_INSTALL_PREFIX}/lib/lib${ESMF_BOPT}/${ESMF_OS}.${ESMF_COMPILER}.${ESMF_ABI
}.${ESMF_COMM}.${ESMF_SITE}"
setenv ESMFMKFILE "${ESMF_LIB}/esmf.mk"
setenv PATH
"${ESMF_DIR}/apps/apps${ESMF_BOPT}/${ESMF_OS}.${ESMF_COMPILER}.${ESMF_ABI}.${ESM
F_COMM}.${ESMF_SITE}:${PATH}"
At this level it is always better to install ESMF library also with debug support (change
ESMF_BOPT environment variable as g and defined the variable again before installation).
To have both optimized and debug version of ESMF library might help to find the source of
the possible errors caused by the coupled model. The production runs can be done with the
optimized version but for debugging use could install the model with debug version of the
ESMF library.
2.2. Installation of RegESM (1.0.0-beta.4)
After installing the required libraries, it is necessary to install individual model components
first. In this case, user might install the individual model components to system and defines
the installation directories in the configuration phase of the coupled model to build RegESM
executable. At this stage, it is better to follow a common convention about the installation and
create hierarchical directory structure for installation of the model components, their input and
output files. This is crucial because it helps to find the source of the possible errors easily and
it also helps to keep clean the working directory. In this case, the suggested directory
structure to install RegESM can be seen in Figure 5. As it can be seen from the figure, each
model components (including driver itself called as esm) use its own directory for the
source files, input and output. Due to the some limitations of the MITgcm model and its
design, it is impossible to write/read the model files to/from specific directory and those files
must be stored in the BASE_DIR (main RegESM working directory it is defined by user).
In addition to the directory structure, the configuration files, run script (OpenPBS, LSF etc.),
input and output files (just for MITgcm model) must be placed in the main working directory
(BASE_DIR). Also, the RegESM executable is placed in the working directory (the soft link
must be created (i.e. following command can be used for this purpose - cd $BASE_DIR; ln -s
$ESM_SRC/regesm.x .).
2.2.1. Regional Climate Model (RegCM, 4.4.5.4)
To install RegCM with coupling support user must issue following commands:
mkdir $ATM_SRC
cd $ATM_SRC
wget https://gforge.ictp.it/gf/download/frsrelease/224/1399/RegCM-4.4.5.4.tar.gz
tar zxvf RegCM-4.4.5.4.tar.gz
cd RegCM-4.4.5.4
autoreconf f i (or bootstrap.sh) issuing this command could be unnecessary in some cases
./configure prefix=`pwd` --enable-cpl CC=icc FC=ifort
make
make install
The ATM_SRC environment variable is used to point the installation path of the atmospheric
model and user might replace it by any valid directory.
The command that is given here is for Intel Compiler and Linux operating system and the
commands might change in usage of different compiler and computing environment. The
main important issue is that the model components does not need ESMF library anymore (all
the ESMF related code is moved to the RegESM (namely driver). So, the installation of the
model is almost same as the standalone version except given extra configure option (-enable-cpl) to enable coupling support.
The additional configuration parameters (see Doc/README.namelist in the RegCM source
directory) for the RegCM must be used when the model is running in the coupled mode. In
this case, the user must activate following options:
&physicsparam
iocncpl =
1, activates the coupling in RegCM side
&cplparam
cpldt
= 10800., coupling interval in seconds. Value must be with the value in the RegESM
configuration file !!!
/
The detailed information about RegCM, usage and its configuration parameters can be found
12
13
in the user guide and the reference manual .
2.2.2. Regional Ocean Model (ROMS, r737)
To install ROMS with coupling support, the user need to patch the original version of the
model. The patch includes set of minor modifications to prepare ROMS ocean model for the
coupling. The reader also notes that there is no any generic patch for the all versions ROMS
due to the existence of the different versions and branches (i.e. Rutgers Universitys ROMS,
ARGIF ROMS, UCLA ROMS, ROMS with sea-ice) of the model.
The current version of the RegESM comes with a patch that is created by using a snapshot of
14
the ROMS branch with sea-ice support and it can be found in the tools/ocn. Doing
modifications and applying the patch to the model are the responsibility of the user but the
given version of the patch can be used as a reference to modify the any ROMS version.
To activate coupling in ROMS, user need to do following definition in the application header
file (holds the all CPP options to configure the model, *.h),
#define REGCM_COUPLING activates the coupling in ROMS side
#define PERFECT_RESTART it is required to restart the coupled model
15
The file format of the model output and restart files are changed from binary (SRV
format) to netCDF.
The model main code is split into three parts: initialization, run and finalize by
following common convention of the ESMF library.
The necessary modifications are done for the coupling. In this case new preprocessor
flag is added to activate coupling.
A set of NCL functions is created to drive the standalone model using RegCM output
and to create SRV formatted input files.
Because of the license restriction that is mentioned previously, the HD model and the
modifications for the coupling are not distributed publicly via GitHub repository. If there is plan
(and need) to use the three component modeling system, then user should get the license
from the Max Planck Institute for the standalone version of the HD model and contact with
ITU/ICTP to get the modified version of the HD model to use in the coupled model
12
https://gforge.ictp.it/gf/download/docmanfileversion/63/1152/UserGuide.pdf
13
https://gforge.ictp.it/gf/download/docmanfileversion/64/1153/ReferenceMan.pdf
14
https://github.com/kshedstrom/roms
15
https://www.myroms.org/wiki/index.php/Documentation_Portal
16
http://mitgcm.org/public/docs.html
configuration. The user also port his/her own RTM component to the coupled modeling
system by following same methodology given the list and the help of the RegESM source
code (mod_esmf_rtm.F90).
To install modified version of HD model with coupling support, user should edit the Makefile
and issue following commands:
mkdir $RTM_SRC
tar zxvf hd_online.tar.gz
cd hd_online
make
make install
The Makefile has a set of macro to define the compiler, netCDF library and coupling support.
DCPL option must be added to FC macro along with the compiler command to activate the
coupling support.
2.3. Installation of RegESM (1.0.0-beta.4) Driver
After installation of the individual model components (i.e. RegCM, ROMS or MITgcm), the
RegESM can be installed. The RegESM basically uses the object (*.o), module (*.mod) and
header (*.h) files of the model components to create static library file for each model (i.e.
libatm.a for ATM, libocn.a for OCN and librtm.a for RTM component) and uses these static
libraries to create the final RegESM executable. Due to this restriction, the RegESM
installation requires the installation of the model components.
The ESMF library is also required to compile ESMF related component codes in driver side.
The configuration script basically tries to find the installation directory of ESMF by looking into
a specific environment variable (ESMF_LIB). If ESMF_LIB environment variable points the
directory of ESMF shared library (libesmf.so) and configuration file (esmf.mk) exist and valid
then it could be used to compile the RegESM. In case of non-defined ESMF_LIB environment
variable, user might specify the ESMF library directory by using --with-esmf configure option.
17
Currently, RegESM project is maintained by using a Git repository (GitHub). The model can
be installed using following commands ($ESM_SRC is the director of RegESM installation):
cd $ESM_SRC
wget https://github.com/uturuncoglu/RegESM/archive/1.0.0-beta.4.zip
unzip 1.0.0-beta.4.zip
cd RegESM-1.0.0-beta.4
*** if three component is used ***
./configure --prefix=`pwd --with-atm=$ATM_SRC --with-ocn=$OCN_SRC --with-rtm=$RTM_SRC
*** if only two component is activated ****
./configure --prefix=`pwd --with-atm=$ATM_SRC --with-ocn=$OCN_SRC
CC=icc FC=ifort
make
make install
The configure options --with-atm, --with-ocn and --with-rtm (optional) is used to point the
installation directories of the model components. For ROMS case, --with-ocn option must
point Build directory that holds the compiled source files of the ROMS installation. This is
also similar for the other components (i.e. build directory for MITgcm).
The configure script is smart enough to check the some key files to find the types of the
ocean model component (ROMS or MITgcm) and compiles the required files suitable for
selected model components. In addition, the configure script also checks the given ROMS
model installation directory (if this is the case) to enable the sea-ice related part of the data
exchange routines in the driver side. So, user does not need to set any other option when
using sea-ice enabled ROMS version.
17
https://github.com/uturuncoglu/RegESM
10
3. Usage
To run the RegESM model, user needs to create or modify two files:
Then, user is able to run the coupled modeling system. It is also note that both exchange field
definition and the model configuration file must be placed with the same directory as RegESM
executable file.
3.1. Exchange Field Table (exfield.tbl)
The exchange field table is the main component of the coupled model and it basically keeps
the definition of the exchange fields and their attributes (i.e. description, units, grid location
etc.). The main structure of the exchange field table can be seen in Table 2.
Table 2 Main structure of the exchange filed table.
[Exchange Field N]
[Number of Fields - N] [Direction of Coupling] [Activate Extrapolation T or F]
[Exchange Field 1]
[Exchange Field 2]
[Exchange Field N]
[Number of Fields - N] [Direction of Coupling] [Activate Extrapolation T or F]
As it can be seen from the table, the file has header section for each coupling direction. In this
case the number of field must be same with the number of field added just after the header
section. Currently, the direction of the coupling can be defined as:
atm2ocn
ocn2atm
atm2rtm
rtm2ocn
but this section will be expanded when new modeling components (i.e. ice, wave etc.) will be
added. Next parameter enables or disables the support of extrapolation (via two step
extrapolation). It can be simple set as T (for True enables extrapolation support) or F (for
False disables extrapolation support).
After definition of the header section, the user needs to define the exchange fields and their
attributes based on the table (see Appendix, Table 3). In this case, attributes of the exchange
fields are separated : (double-comma) symbol.
The example exchange field tables for different model setups and detailed definition abut
them can be found under external folder of the RegESM source. Currently, following tables
are stored in this directory:
The definition of the exchange field table mainly depends on the application and activated
individual model components itself and it is not east to create a generic definition for all
cases.
11
12
Also not that in this case RegESM executable gets two-configuration file (one for RegCM and
one for ROMS).
13
4. Known Limitations
4.1. Conservation of the exchange fields
In the current version of the coupled modeling system, a prototype version of the
conservation algorithm is implemented. In this case, the conservation algorithm ensures that
the global integral of the source and destination fields (over the matched regions) will remain
same but it does not guarantee local conservation of the exchange fields. It just applies the
difference of the global integral of source and destination fields to the destination field across
the domain.
The implemented conservation algorithm works as following;
1. First, the algorithm finds the matched grid points between the model components
(atmosphere and ocean models).
2. It calculates the global integral of the source and destination fields
3. It calculates the difference of the global integrals (destination source)
4. Then, it calculates the unit difference (by dividing the difference to the total surface
area in the destination grid)
5. Then, it applies the unit difference to each grid cell
The local conservation feature might be implemented in the future version of the modeling
system with availability of the high-order conservative type interpolation in the ESMF side.
Also, user might also aware that the first-order conservative interpolation technique, which is
currently supported by ESMF, might create artifacts (square like shapes in the destination
field) in the interpolation when the grid resolution difference is high (i.e. 50 km ATM and 57km in OCN) between the components.
The user also notes that the current conservation algorithm is only works with bilinear type
interpolation (It can be defined in the exchange field table for each variables separately) and
also only supports data exchange between atmosphere and ocean components (ATM-OCN
and OCN-ATM) when extrapolation is activated.
5. Known Problems/Bugs
5.1. Problem in Two Level Interpolation
There is a problem in the nearest neighbor search if the internal piece of the source grid is
completely masked out on a processor. The problem appears along with the large and
unrealistic values in the result field (at source grid) when specific number of processor is
used. The number of processor that causes to the error depends on the grid size, land-sea
masking and also number of tiles in each direction (x and y) that is used for the domain
decomposition purposes.
The problem also exists in the latest version of the ESMF library (6.3.0r) but it is fixed now.
So, please use the ESMF version > 6.3.0r to fix the problem.
6. Referance
Please cite following paper if you use RegESM.
Turuncoglu, U.U., Giuliani, G., Elguindi, N., Giorgi, F., 2013. Modelling the Caspian Sea and
its catchment area using a coupled regional atmosphere-ocean model (RegCM4-ROMS):
model design and preliminary results, Geosci. Model Dev., 6, pp. 283-299, DOI:
10.5194/gmd-6-283-2013
14
APPENDIX
Table 3 Definition of the fields (or columns) of the exchange field table
#
Column Name
Description
Short Name
The sort name of the exchange field. The list of the available fields:
taux - zonal surface wind stress (N/m^2 or Pa)
tauy - meridional surface wind stress (N/m^2 or Pa)
wndu - zonal wind component (m/s)
wndv - meridional wind component (m/s)
wspd - wind speed (m/s)
psfc - surface pressure (hPa or mb)
tsfc - 2 meter surface temperature (K)
qsfc - 2 meter specific humidity (kg/kg)
lwrd - net longwave radiation (W/m^2)
swrd - net shortwave radiation (W/m^2)
dlwr - downward longwave radiation (W/m^2)
dswr - downward shortwave radiation (W/m^2)
lhfx - latent heat flux (W/m^2)
shfx - sensible heat flux (W/m^2)
nflx - net heat flux, latent+sensible+longwave-shortwave (W/m^2)
prec - total precipitation, P (m/s)
evap - evaporation, E (m/s)
sflx - net freshwater flux, E-P (m/s)
rnof - surface runoff (m/s, just over land)
snof - sub-surface runoff (m/s, just over land)
Standard Name
The standard name of the exchange filed. The user can use anything in here but
using CF conventions for the field is suggested.
Interpolation Type
The type of interpolation that is used to transfer data form source grid to destination.
It can be defined as bilinear, conserv, nearstod, neardtos and none.
Restrictions:
When transferring data from RTM component to the ocean model the
interpolation type must be selected as nearstod
The bilinear type interpolation type must be use to apply conservation correction to
the field
4
This field basically used to define the location of the source filed in the grid definition
(Arakawa type grids). It can be defined as cross, dot, u and v.
Destination Grid
Point
It is same with the previous filed but in this case it defined the destination point in the
destination grid.
Input Unit
It is just for information. The model does not use this information. The space
character is not allowed.
Output Unit
Scale
Used for the unit conversion of the exchange field. The source field is multiplied by
this scale factor after interpolation. The user can use scale factor as a number or
can use following shortcuts.
3
cf1 rho0*cp (rho0 = 1025.0 kg/m , water density and cp = 3985.0 J/kg/K, heat
capacity )
cf2 1/cf1
cf3 1/rho0
It is also possible to use symbol in the definition of the shortcuts (i.e. cf1).
9
Offset
Used for unit conversion of the exchange filed. The value is added to the source
field after applying scale factor. So, the combination of the Scale and Offset
parameters might help to convert the units.
10
Flag for
Conservation
15
Option
Description
PETLayoutOption
It is used to define the execution mode of the coupled model (see Fig.4). The value
can be sequential or concurrent.
PETs
It defined the PET distribution of the model components. The number of PETs must
be given in a specific order with a space between them. Currently, the order is ATM,
OCN and RTM respectively.
DebugLevel
The debug level is used to find the source of the possible errors (i.e. wrong grid
representation, artifacts in the exchange fields, upper and lower limits of the
decomposition elements etc.). Actually, there are four level of debug option:
1.
2.
3.
4.
5.
The user also notes that all the levels (< 4) also include the previous level of debug
output.
4
Calendar
This configuration option defines the global calendar type used in the time
synchronization among the components. The coupled model currently supports
three different calendar option:
gregorian
360_day
julian
The driver basically uses this information to check the components calendars to
have a consistent view of the time dimension among the model components.
In the future, we are planning to support more calendars in the driver side but this is
also depending on the model components.
5
StartTime
Sets simulation start time. It must be consistent among the model components
otherwise driver triggers an error message and kills the all processes.
16
RestartTime
Sets simulation restart time. If start time and restart time differs then driver try to
run the model components in restart mode. It must be consistent among the model
components otherwise driver triggers an error message and kills the all processes.
There is also restart.sh script under tools/ directory to help to organize the
configuration files of the model components in case or restarting. Also note that this
script does not modify the namelist.rc and user must need to modify it manually.
StopTime
Sets simulation start time. It must be consistent among the model components
otherwise driver triggers an error message and kills the all processes.
TimeStep
This configuration of option is used to set the coupling interval (the slowest one)
among the components. The model components might interact with each other with
different coupling interval (fast vs. slow time step asynchronous coupling). In this
case, DividerForTStep configuration option (basically it holds the divider matrix) is
used to calculate coupling interval among the components.
DividerForTStep
It is used to calculate coupling interval among the model components. By using this
option, user might define different coupling interval for each coupling direction. This
is basically required for asynchronous coupling due to the different response time of
the model components and their time resolution limitations. For example, HD river
routing model runs in daily time scale and there is no any mean to couple RTM
component with ATM and OCN with time scale less than day but ATM and OCN
component might be coupled with 3-hour interval. So, this is the possible case to
use this configuration as a divider matrix. It basically divides the time step (defined in
TimeStep option) to get the coupling direction time step. For example, if the Time
Step is defined as 1-day and divider matrix is set to 8 in ATM-OCN and OCN-ATM
direction then the coupling step for ATM-OCN and OCN-ATM direction will be 3hours. The TimeStep must be defied as a slowest time interval.
10
RiverOpt
It is used to define the type of river discharge handling. The latest version of the
code supports two different options.
1.
2.
11
RiverList
The rivers are defined as point sources. In this case, the required
configuration must be done in the ocean model side.
The rivers can be defined as surface boundary condition (SBC). In this
case, the river discharge comes from RTM component is distributed to the
ocean surface using effective radius defined in the RiverList parameter.
This configuration is basically required for coupling with RTM component. It holds:
This option currently only works with the RegCM+ROMS+HD configuration but we
have a plan to extend it MITgcm case also.
17