New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
README in branches/2015/dev_r5102_CNRS11_TestCase/NEMOGCM/TOOLS/TEST_CASES/CREATE_FILES – NEMO

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

Last change on this file since 5346 was 5346, checked in by flavoni, 9 years ago

add script python for test cases,related to ticket #1469

File size: 2.3 KB
RevLine 
[5287]1CNRS v1.1 2015-05
2-------------------------
3Author: CNRS NEMO Team
4Contacts: Simona Flavoni (sflod@locean-ipsl.upmc.fr)
5
6-------------------------
7Description
8-------------------------
9In 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==========================
24INPUT FILES: nothing
25OUTUT FILES: coordinates_r025.nc file
26
27Variables to be checked by user:
28-------------------------
29res=0.25   (definition of resolution)
30resname='r025'
31fcoord='coordinates_'+str(resname)+'.nc'  (output filename)
32latmin=-30.  (min latitude)
33latmax=30.   (max latitude)
34
35lonmin=0.    (min longitude)
36lonmax=180.  (max longitude)
37
38==========================
39 make_bathy.py
40==========================
41INPUT FILES: coordinates_r025.nc file
42OUTUT FILES: bathy_r025.nc file
43
44==========================
45 make_TScst_init.py
46==========================
47INPUT FILES: coordinates_r025.nc file
48OUTUT FILES: TScst_init_r025.nc file
49
50==========================
[5346]51 make_TS_init_tprof.py
52==========================
53INPUT FILES: coordinates_r025.nc file
54           : t_profile.nc file (average in equatorial box from levitus)
55OUTUT FILES: TS_init_tprof_r025.nc file
56
57==========================
[5287]58 make_FLX.py
59==========================
60INPUT FILES: coordinates_r025.nc file
61OUTUT FILES: flx_r025.nc file
62
63
64Example Use
65-----------
66python make_coordinates.py (creates coordinates_025.nc  "025" is resolution name for 1/4° of degree)
[5346]67python make_bathy.py       (creates bathy_025.nc          )
68python make_TScst_init.py  (creates TScst_init_025.nc     )
69python make_TS_init_tprof.py  (creates TS_init_tprof_r025.nc )
70python make_FLX.py         (creates flx_025.nc            )
Note: See TracBrowser for help on using the repository browser.