[5287] | 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 |
---|
[5346] | 17 | - make_TScst_init.py : program to create initial state file with temperature (constant) and salinity (constant) |
---|
| 18 | - make_TS_init_tprof.py : program to create initial state file with temperature (from a levitus profile) and salinity (constant) |
---|
[5287] | 19 | - make_FLX.py : program to create flux file |
---|
| 20 | |
---|
| 21 | ========================== |
---|
| 22 | make_coordinates.py |
---|
| 23 | ========================== |
---|
| 24 | INPUT FILES: nothing |
---|
| 25 | OUTUT FILES: coordinates_r025.nc file |
---|
| 26 | |
---|
| 27 | Variables to be checked by user: |
---|
| 28 | ------------------------- |
---|
| 29 | res=0.25 (definition of resolution) |
---|
| 30 | resname='r025' |
---|
| 31 | fcoord='coordinates_'+str(resname)+'.nc' (output filename) |
---|
| 32 | latmin=-30. (min latitude) |
---|
| 33 | latmax=30. (max latitude) |
---|
| 34 | |
---|
| 35 | lonmin=0. (min longitude) |
---|
| 36 | lonmax=180. (max longitude) |
---|
| 37 | |
---|
| 38 | ========================== |
---|
| 39 | make_bathy.py |
---|
| 40 | ========================== |
---|
| 41 | INPUT FILES: coordinates_r025.nc file |
---|
| 42 | OUTUT FILES: bathy_r025.nc file |
---|
| 43 | |
---|
| 44 | ========================== |
---|
| 45 | make_TScst_init.py |
---|
| 46 | ========================== |
---|
| 47 | INPUT FILES: coordinates_r025.nc file |
---|
| 48 | OUTUT FILES: TScst_init_r025.nc file |
---|
| 49 | |
---|
| 50 | ========================== |
---|
[5346] | 51 | make_TS_init_tprof.py |
---|
| 52 | ========================== |
---|
| 53 | INPUT FILES: coordinates_r025.nc file |
---|
| 54 | : t_profile.nc file (average in equatorial box from levitus) |
---|
| 55 | OUTUT FILES: TS_init_tprof_r025.nc file |
---|
| 56 | |
---|
| 57 | ========================== |
---|
[5287] | 58 | make_FLX.py |
---|
| 59 | ========================== |
---|
| 60 | INPUT FILES: coordinates_r025.nc file |
---|
| 61 | OUTUT FILES: flx_r025.nc file |
---|
| 62 | |
---|
| 63 | |
---|
| 64 | Example Use |
---|
| 65 | ----------- |
---|
| 66 | python make_coordinates.py (creates coordinates_025.nc "025" is resolution name for 1/4° of degree) |
---|
[5346] | 67 | python make_bathy.py (creates bathy_025.nc ) |
---|
| 68 | python make_TScst_init.py (creates TScst_init_025.nc ) |
---|
| 69 | python make_TS_init_tprof.py (creates TS_init_tprof_r025.nc ) |
---|
| 70 | python make_FLX.py (creates flx_025.nc ) |
---|