source: trunk/NEMOGCM/CONFIG/ORCA2_LIM/IDL_scripts/std_ts_vardef.sh_example2 @ 2753

Last change on this file since 2753 was 2753, checked in by smasson, 10 years ago

update examples for IDL_scripts

File size: 4.4 KB
Line 
1#!/bin/sh
2#
3# AUTHOR - date
4# ===========
5# Sebastien Masson - 04/2011 - LOCEAN
6#
7# DESCRIPTION
8# ===========
9# define all varibles needed by std_ts.sh and std_ts.pro
10#
11# EXAMPLES
12# ========
13# $ . ./std_ts_vardef.sh
14#
15#
16#===================== User PATHS =====================
17#
18idl_command=/Applications/itt/idl64/bin/idl
19#
20PS_DIR=$( pwd )/ps_tag33_tag331
21PDF_DIR=$( pwd )/pdf_tag33_tag331
22HTML_DIR=$( pwd )/html_tag33_tag331
23SAXO_DIR=/Users/smasson/SAXO_DIR
24#
25DIR_DATA=/Users/smasson/tmp/idlorca2/res      # path of data in NetCDF format
26DIR_CLIMATO=/Users/smasson/tmp/idlorca2/clim  # path of climatological data
27DIR_MASK=/Users/smasson/tmp/idlorca2/clim     # path of mask files (ex: subbasins)
28#
29#===================== Model GRID =====================
30#
31FILE_MESH_MASK=/Users/smasson/data/vp33beta_mesh_mask_7.nc # meshmask
32FILE_MASK_SUBDOMAIN=subbasins_orca21_nored.nc              # sub-bassin masks
33#
34#===================== DATA =====================
35#
36VAR_TEMP_3D=votemper   ;   FILE_TEMP_3D=data_1y_potential_temperature_nomask.nc    # Levitus_T
37VAR_SAL_3D=vosaline    ;   FILE_SAL_3D=data_1y_salinity_nomask.nc                  # Levitus_S
38VAR_SST=sst            ;   FILE_SST=NewREY_ORCA2_1991_2000_1y.nc                   # Reynolds
39VAR_FLUX=qnet          ;   FILE_FLUX=OAFlux_1my_01_12_1984_2004_orca2_qnet.nc      # flux
40VAR_MLD=mld            ;   FILE_MLD=mld_DR003_c1m_ORCA2_1y.nc                      # Mixed layer depth
41#
42# Geothermal heating -> define FILE_GEOHEAT to 'NO' if there is not such forcing
43#                    -> define VAR_GEOHEAT to a constant if geothermal heating is constant over the domain
44VAR_GEOHEAT=heatflow   ;   FILE_GEOHEAT=geothermal_heating.nc
45#
46#===================== EXP1 =====================
47#
48READ_ONLY_FIRST_RECORD=0   # if 0 then read all records in files else read only the first reacord in each file
49#
50DATE1=20010101   ;   DATE2=21001231
51#
52VAR1_T=thetao     ;   V1T_PREF=tag33     ;   V1T_SUFF=_1Y_grid_T.nc
53VAR1_S=so         ;   V1S_PREF=tag33     ;   V1S_SUFF=_1Y_grid_T.nc
54VAR1_SSH=zos      ;   V1SSH_PREF=tag33   ;   V1SSH_SUFF=_1Y_grid_T.nc
55VAR1_Q=qt         ;   V1Q_PREF=tag33     ;   V1Q_SUFF=_1Y_grid_T.nc
56VAR1_EMP=wfo      ;   V1EMP_PREF=tag33   ;   V1EMP_SUFF=_1Y_grid_T.nc
57VAR1_U=uocetr_eff ;   V1U_PREF=tag33     ;   V1U_SUFF=_1Y_grid_U.nc
58VAR1_V=vocetr_eff ;   V1V_PREF=tag33     ;   V1V_SUFF=_1Y_grid_V.nc
59VAR1_ICE=sic      ;   V1ICE_PREF=tag33   ;   V1ICE_SUFF=_1Y_icemod.nc
60#
61#===================== EXP2 =====================
62#
63DATE1_2=20010101   ;   DATE2_2=21001231
64#
65VAR2_T=thetao     ;   V2T_PREF=trunk331     ;   V2T_SUFF=_1Y_grid_T.nc
66VAR2_S=so         ;   V2S_PREF=trunk331     ;   V2S_SUFF=_1Y_grid_T.nc
67VAR2_SSH=zos      ;   V2SSH_PREF=trunk331   ;   V2SSH_SUFF=_1Y_grid_T.nc
68VAR2_Q=qt         ;   V2Q_PREF=trunk331     ;   V2Q_SUFF=_1Y_grid_T.nc
69VAR2_EMP=wfo      ;   V2EMP_PREF=trunk331   ;   V2EMP_SUFF=_1Y_grid_T.nc
70VAR2_U=uocetr_eff ;   V2U_PREF=trunk331     ;   V2U_SUFF=_1Y_grid_U.nc
71VAR2_V=vocetr_eff ;   V2V_PREF=trunk331     ;   V2V_SUFF=_1Y_grid_V.nc
72VAR2_ICE=sic      ;   V2ICE_PREF=trunk331   ;   V2ICE_SUFF=_1Y_icemod.nc
73#
74######################### Export Variables ###############################
75#
76#===================== User PATHS =====================
77export PS_DIR PDF_DIR HTML_DIR SAXO_DIR
78export DIR_DATA DIR_CLIMATO DIR_MASK
79#===================== Model GRID =====================
80export FILE_MESH_MASK FILE_MASK_SUBDOMAIN
81#===================== DATA =====================
82export FILE_TEMP_3D  VAR_TEMP_3D
83export FILE_SAL_3D   VAR_SAL_3D
84export FILE_SST      VAR_SST
85export FILE_GEOHEAT  VAR_GEOHEAT
86export FILE_FLUX     VAR_FLUX
87export FILE_MLD      VAR_MLD
88#===================== EXP1 =====================
89export READ_ONLY_FIRST_RECORD
90#
91export DATE1 DATE2
92export VAR1_T    V1T_PREF    V1T_SUFF
93export VAR1_S    V1S_PREF    V1S_SUFF
94export VAR1_SSH  V1SSH_PREF  V1SSH_SUFF
95export VAR1_Q    V1Q_PREF    V1Q_SUFF
96export VAR1_EMP  V1EMP_PREF  V1EMP_SUFF
97export VAR1_U    V1U_PREF    V1U_SUFF
98export VAR1_V    V1V_PREF    V1V_SUFF
99export VAR1_ICE  V1ICE_PREF  V1ICE_SUFF
100#===================== EXP2 =====================
101export DATE1_2 DATE2_2
102export VAR2_T    V2T_PREF    V2T_SUFF
103export VAR2_S    V2S_PREF    V2S_SUFF
104export VAR2_SSH  V2SSH_PREF  V2SSH_SUFF
105export VAR2_Q    V2Q_PREF    V2Q_SUFF
106export VAR2_EMP  V2EMP_PREF  V2EMP_SUFF
107export VAR2_U    V2U_PREF    V2U_SUFF
108export VAR2_V    V2V_PREF    V2V_SUFF
109export VAR2_ICE  V2ICE_PREF  V2ICE_SUFF
110#
Note: See TracBrowser for help on using the repository browser.