source: branches/2015/dev_r5102_CNRS11_TestCase/NEMOGCM/TOOLS/TEST_CASES/CREATE_FILES @ 5346

Name Size Rev Age Author Last Change
../
make_bathy.py 806 bytes 5287   6 years flavoni commit scripts python to create files needed for test cases,and examples; …
make_coordinates.py 2.7 KB 5287   6 years flavoni commit scripts python to create files needed for test cases,and examples; …
make_coordinates_cst.py 2.6 KB 5287   6 years flavoni commit scripts python to create files needed for test cases,and examples; …
make_coordinates_gphi0.py 2.6 KB 5287   6 years flavoni commit scripts python to create files needed for test cases,and examples; …
make_FLX.py 1.2 KB 5287   6 years flavoni commit scripts python to create files needed for test cases,and examples; …
make_TS_init_tprof.py 1.4 KB 5346   5 years flavoni add script python for test cases,related to ticket #1469
make_TScst_init.py 1.1 KB 5287   6 years flavoni commit scripts python to create files needed for test cases,and examples; …
README 2.3 KB 5346   5 years flavoni add script python for test cases,related to ticket #1469
t_profil.nc 908 bytes 5346   5 years flavoni add script python for test cases,related to ticket #1469

README

CNRS v1.1 2015-05
-------------------------
Author: CNRS NEMO Team
Contacts: Simona Flavoni (sflod@locean-ipsl.upmc.fr)

-------------------------
Description
-------------------------
In this package 4 python scripts are presented:

-  make_coordinates.py    : program to create coordinate file 
           (other 2 scripts are here :
            - make_coordinates_cst.py    : program to create coordinate file with e1=e2=constant)
            - make_coordinates_gphi0.py  : program to create coordinate file with e1=e2=constant and gphit=gphiu=gphiv=gphif=0
           )
-  make_bathy.py         : program to create bathymetry file
-  make_TScst_init.py    : program to create initial state file with temperature (constant) and salinity (constant)
-  make_TS_init_tprof.py : program to create initial state file with temperature (from a levitus profile) and salinity (constant) 
-  make_FLX.py           : program to create flux file

==========================
 make_coordinates.py 
==========================
INPUT FILES: nothing
OUTUT FILES: coordinates_r025.nc file

Variables to be checked by user:
-------------------------
res=0.25   (definition of resolution)
resname='r025'
fcoord='coordinates_'+str(resname)+'.nc'  (output filename)
latmin=-30.  (min latitude)
latmax=30.   (max latitude)

lonmin=0.    (min longitude)
lonmax=180.  (max longitude)

==========================
 make_bathy.py 
==========================
INPUT FILES: coordinates_r025.nc file
OUTUT FILES: bathy_r025.nc file

==========================
 make_TScst_init.py 
==========================
INPUT FILES: coordinates_r025.nc file
OUTUT FILES: TScst_init_r025.nc file

==========================
 make_TS_init_tprof.py 
==========================
INPUT FILES: coordinates_r025.nc file
           : t_profile.nc file (average in equatorial box from levitus)
OUTUT FILES: TS_init_tprof_r025.nc file

==========================
 make_FLX.py 
==========================
INPUT FILES: coordinates_r025.nc file
OUTUT FILES: flx_r025.nc file


Example Use
-----------
python make_coordinates.py (creates coordinates_025.nc  "025" is resolution name for 1/4° of degree)
python make_bathy.py       (creates bathy_025.nc          )
python make_TScst_init.py  (creates TScst_init_025.nc     )
python make_TS_init_tprof.py  (creates TS_init_tprof_r025.nc )
python make_FLX.py         (creates flx_025.nc            )
Note: See TracBrowser for help on using the repository browser.