Version: 3.0
Author: Gerrit Burgers
(e-mail: burgers@knmi.nl,
www:
http://www.knmi.nl/~burgers
)
Description
GMODEL is a linear coupled model of the equatiorial Pacific that consists
of three components:
The time is kept in days, using 12 months of 30 days.
Application Area
GMODEL gives a reasonable description of the SST variability in the
central and eastern equatorial Pacific. An advantage is its speed:
of the order of seconds per model simulation year.
Installation
First one need to gunzip and unpack the tar.gz file. This creates
a directory Gmodel. Change to this directory.
Directories
The Model directory contains the Fortran source code of GMODEL.
The executable is named Shallow. The source files that one may
want to edit include:
The directory Forced contains the script forced.sc to run GMODEL in forced mode. This requires the files pacano99.ext and fsumask from the directory Wind.
The directory Coupled contains the script coupled.sc to run GMODEL in coupled mode. This requires the files atmtwoa.ext from the directory Statatm and fsumask from the directory Wind.
The directory Fsu contains the FSU wind data.
The directory Wind contains the input files for forced runs. The file fsumask contains the land-sea mask of the FSU winds. The makefile can be used to compile and run the program anoplain.f to create the file pacano99.ext which is needed to run GMODEL in forced mode.
The directory Statatm contains the files for coupled runs. The program constratm2a.f to create the file atmtwoa.ext that is need to run GMODEL in coupled mode. Note that this program calculates seasonal patterns too, but these are not used by the statistical atmosphere of GMODEL. The program constratm2a.f need the file pacano99.ext from the Wind directory. You can use make to compile and run the program. The diagnostic program projtwoa.f can be used to look into the projection of the FSU winds on the windfield patterns.
Next, check the FC and FFLAGS variables in the makefiles in the subdirectories Model, Wind and Statatm. Modify these variables if necessary. Then, type
make demoThis will compute the required input files from the FSU winds, compile the GMODEL source code, and start a demo run of the model in forced and coupled mode.
The FORTRAN source files of Gmodel are located in the subdirectory Model. The executable is named 'Shallow' and requires approximately 1.5 MB of memory to run. The demonstration runs each take about four minutes to complete on a Linux PC with a 733 MHz Pentium III.
Configuration
Parameters
The tables below list the parameters and variables that can be modified in the
parameter block parames and the source file starts.f and their
default value. Note that after changing these parameters, the program must be
re-compiled.
| Parameter | Description | Default Value |
|---|---|---|
| nox1 | x-size of the h grid | 86 |
| nox | x-size of the u grid | 85 |
| noy1 | y-size of the h grid | 61 |
| noy | y-size of the v grid | 60 |
| Parameter | Description | Default Value |
|---|---|---|
| coc | The square of the velocity of Kelvin waves | (2.2 m/s)2 |
| och | Depth of the mean thermocline | 150m |
| dtoc | The time step | 1/3 day |
| rkt | Overall factor in SST equation (see ssteqs.f) | 0.0635 |
| rnuhoc | biharmonic diffusion of height | 2000 |
| rnumoc | biharmonic viscosity | 20000 |
| rks | drag coefficient | 0.0015 |
| xwest | western boundary grid | 123 |
| xeast | eastern boundary grid | 291 |
| xnorth | northern boundary grid | 29.5 |
| xsouth | southern boundary grid | -29.5 |
Input Files
The input files that are required to run the GMODEL simulation code are
listed in the table below.
| Input File | Description |
|---|---|
| control.in | This file sets times, etc. |
| fsuano.ext | The FSU wind field, in EXTRA format |
| atmtwoa.ext | The statistical atmosphere patterns, in EXTRA format |
| fsumask | Land-sea mask FSU winds |
| restartxin | The (optional) restart file |
The input file 'control.in' has the following format:
| A one line comment | |
| A one line experiment identifier | |
| 0/1 | Is this a restart of a run? |
| 0/1 | Is this a coupled run? |
| n | The number of days to run |
| yyyymm | The starting year and month |
Results
The program creates the several output files in which it stores the
results of the simulation. These files are listed in the following
table.
| Output File | Contents |
|---|---|
| slvano.ext | The monthly thermocline delpth anomalies |
| sstano.ext | The monthly SST anomalies |
| znino12.asc | The monthly NINO12 thermocline depth anomalies |
| znino3.asc | The monthly NINO3 thermocline depth anomalies |
| znino34.asc | The monthly NINO34 thermocline depth anomalies |
| znino4.asc | The monthly NINO4 thermocline depth anomalies |
| tnino12.asc | The monthly NINO12 index (SST anomaly) |
| tnino3.asc | The monthly NINO3 index (SST anomaly) |
| tnino34.asc | The monthly NINO34 index (SST anomaly) |
| tnino4.asc | The monthly NINO4 index (SST anomaly) |
| restyymmdd | Output restart file (if used for another run,
the name should be changed into restartxin) |
| forced.log | Log file forced run |
| coupled.log | Log file coupled run |
| fort.10,11,12,13 | Output files that can be used for making
Hofmuller diagrams |
All files with the extension .ext are in the MPI "extra" format and are unformatted FORTRAN data files with the following structure:
| Record No. | Contents | |||
|---|---|---|---|---|
| 1 | yyyymmdd | field | level | size |
| 2 | (field(i), i=1,size) | |||
| ... | ... | |||
Source Code
If the run is to be driven by a wind or heatpatch instead of FSU winds do the following:
Demo Run
In the main GMODEL directory one can enter the command
make demoto obtain the output of a one year simulation in the forced and coupled modes.
Support
GMODEL is supported at the S0 level (see also
the page on support levels).
For any question about GMODEL one can contact the author Gerrit Burgers
(e-mail: burgers@knmi.nl).
Return to the CKO models page