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 @ 5287

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

commit scripts python to create files needed for test cases,and examples; related to ticket #1469

File size: 1.9 KB
Line 
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
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==========================
23INPUT FILES: nothing
24OUTUT FILES: coordinates_r025.nc file
25
26Variables to be checked by user:
27-------------------------
28res=0.25   (definition of resolution)
29resname='r025'
30fcoord='coordinates_'+str(resname)+'.nc'  (output filename)
31latmin=-30.  (min latitude)
32latmax=30.   (max latitude)
33
34lonmin=0.    (min longitude)
35lonmax=180.  (max longitude)
36
37==========================
38 make_bathy.py
39==========================
40INPUT FILES: coordinates_r025.nc file
41OUTUT FILES: bathy_r025.nc file
42
43==========================
44 make_TScst_init.py
45==========================
46INPUT FILES: coordinates_r025.nc file
47OUTUT FILES: TScst_init_r025.nc file
48
49==========================
50 make_FLX.py
51==========================
52INPUT FILES: coordinates_r025.nc file
53OUTUT FILES: flx_r025.nc file
54
55
56Example Use
57-----------
58python make_coordinates.py (creates coordinates_025.nc  "025" is resolution name for 1/4° of degree)
59python make_bathy.py       (creates bathy_025.nc        )
60python make_TScst_init.py  (creates TScst_init_025.nc   )
61python make_FLX.py         (creates flx_025.nc   )
Note: See TracBrowser for help on using the repository browser.