-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
48 lines (29 loc) · 1.26 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
QG-C
1.5-layer QG model.
This is a re-write of the Fortran code downloaded from
http://www.seas.harvard.edu/climate/eli/Downloads/QG200205011455.tar.gz.
The original Fortran code with some modifications was used in enkf-matlab
package and as a part of enkf-matlab in the following paper:
Sakov, P., Oke, P.R., 2008. A deterministic formulation of the ensemble Kalman
filter: an alternative to ensemble square root filters. Tellus 60A, 361-371.
https://doi.org/10.1111/j.1600-0870.2007.00299.x
Apart from being ported to C (except helmholtz.f90), this code adds a number of
convenience features and corrects inconsistencies in handling the geometry.
EQUATION
The governing equation is presented in qg.pdf.
RUNNING
To run the model with default parameters, enter:
> ./qg -
To change parameters, run it as
> ./qg <parameter file>
The parameter file description is given by
> ./qg --describe-prm
Note: the default settings have negative harmonic friction, which is not quite
physical. For a more conventional variant you may try setting RKB = 0; RKH = 0.
COMPILING
Dependencies: NetCDF
The code has been developed under GNU/Linux platform. The Makefile assumes
availability of gcc and gfortran. It should be straightforward to compile this
code elsewhere.
To compile run:
> make