1 | CNRS v1.1 2015-05 |
---|
2 | ------------------------- |
---|
3 | Author: CNRS NEMO Team |
---|
4 | Contacts: Simona Flavoni (sflod@locean-ipsl.upmc.fr) |
---|
5 | |
---|
6 | ------------------------- |
---|
7 | Description |
---|
8 | ------------------------- |
---|
9 | In this package 4 python scripts are presented: |
---|
10 | |
---|
11 | - make_coordinates.py : program to create coordinate file |
---|
12 | (other 2 scripts are here : |
---|
13 | - make_coordinates_cst.py : program to create coordinate file with e1=e2=constant) |
---|
14 | - make_coordinates_gphi0.py : program to create coordinate file with e1=e2=constant and gphit=gphiu=gphiv=gphif=0 |
---|
15 | ) |
---|
16 | - make_bathy.py : program to create bathymetry file |
---|
17 | - make_TScst_init.py : program to create temperature and salinity initial state file |
---|
18 | - make_FLX.py : program to create flux file |
---|
19 | |
---|
20 | ========================== |
---|
21 | make_coordinates.py |
---|
22 | ========================== |
---|
23 | INPUT FILES: nothing |
---|
24 | OUTUT FILES: coordinates_r025.nc file |
---|
25 | |
---|
26 | Variables to be checked by user: |
---|
27 | ------------------------- |
---|
28 | res=0.25 (definition of resolution) |
---|
29 | resname='r025' |
---|
30 | fcoord='coordinates_'+str(resname)+'.nc' (output filename) |
---|
31 | latmin=-30. (min latitude) |
---|
32 | latmax=30. (max latitude) |
---|
33 | |
---|
34 | lonmin=0. (min longitude) |
---|
35 | lonmax=180. (max longitude) |
---|
36 | |
---|
37 | ========================== |
---|
38 | make_bathy.py |
---|
39 | ========================== |
---|
40 | INPUT FILES: coordinates_r025.nc file |
---|
41 | OUTUT FILES: bathy_r025.nc file |
---|
42 | |
---|
43 | ========================== |
---|
44 | make_TScst_init.py |
---|
45 | ========================== |
---|
46 | INPUT FILES: coordinates_r025.nc file |
---|
47 | OUTUT FILES: TScst_init_r025.nc file |
---|
48 | |
---|
49 | ========================== |
---|
50 | make_FLX.py |
---|
51 | ========================== |
---|
52 | INPUT FILES: coordinates_r025.nc file |
---|
53 | OUTUT FILES: flx_r025.nc file |
---|
54 | |
---|
55 | |
---|
56 | Example Use |
---|
57 | ----------- |
---|
58 | python make_coordinates.py (creates coordinates_025.nc "025" is resolution name for 1/4° of degree) |
---|
59 | python make_bathy.py (creates bathy_025.nc ) |
---|
60 | python make_TScst_init.py (creates TScst_init_025.nc ) |
---|
61 | python make_FLX.py (creates flx_025.nc ) |
---|