source: branches/2013/dev_MERGE_2013/NEMOGCM/CONFIG/ORCA2_LIM/IDL_scripts/std_ts_vardef.sh @ 4395

Last change on this file since 4395 was 4395, checked in by flavoni, 7 years ago

update IDL scripts, see ticket: #724

File size: 6.0 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 )/ts_sbcmodMV_l334plus_ps
21PDF_DIR=$( pwd )/ts_sbcmodMV_l334plus_pdf
22HTML_DIR=$( pwd )/html
23SAXO_DIR=/Users/sflod/SAXO_DIR
24#
25DIR_DATA=/Users/sflod/idl_PLOTS/DATA_STORE/RUN_CLIMATO/lim3_ada      # path of data in NetCDF format
26DIR_CLIMATO=/Users/sflod/idl_PLOTS/CLIMATOLOGIES    # path of climatological data
27DIR_MASK=/Users/sflod/idl_PLOTS/MASK  # path of mask files (ex: subbasins)
28#
29#===================== Model GRID =====================
30#
31FILE_MESH_MASK=/Users/sflod/idl_PLOTS/MASK/ORL2PISV35_mesh_mask.nc # meshmask
32FILE_MASK_SUBDOMAIN=subbasins_orca21_nored.nc              # sub-bassin masks
33#
34#===================== DATA =====================
35#
36VAR_TEMP_3D=votemper     ;   FILE_TEMP_3D=potT_annual_mean.nc                         # PHC3
37VAR_SAL_3D=vosaline      ;   FILE_SAL_3D=Salt_1y_corr_PHC3WOA09.nc                    # PHC3
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
41VAR_ICE_EXT_NH=extt_NH   ;   FILE_ICE=sea_ice_index_2000.nc                               # Ice Extent North Emisphere
42VAR_ICE_EXT_SH=extt_SH   ;   FILE_ICE=sea_ice_index_2000.nc                               # Ice Extent South Emisphere
43VAR_ICE_area_NH=area_NH  ;   FILE_ICE=sea_ice_index_2000.nc                               # Ice Area North Emisphere
44VAR_ICE_area_SH=area_SH  ;   FILE_ICE=sea_ice_index_2000.nc                               # Ice Area South Emisphere
45#
46# Geothermal heating -> define FILE_GEOHEAT to 'NO' if there is not such forcing
47#                    -> define VAR_GEOHEAT to a constant if geothermal heating is constant over the domain
48VAR_GEOHEAT=heatflow   ;   FILE_GEOHEAT=geothermal_heating.nc
49#
50#===================== EXP1 =====================
51#
52READ_ONLY_FIRST_RECORD=0   # if 0 then read all records in files else read only the first reacord in each file
53#
54#DATE1=20010101   ;   DATE2=25001231
55DATE1=20410101   ;   DATE2=20501231
56#DATE1=00010101      ;   DATE2=00101231
57#
58VAR1_T=thetao        ;   V1T_PREF=sbcmodMV      ;   V1T_SUFF=_1Y_grid_T.nc
59VAR1_S=so            ;   V1S_PREF=sbcmodMV      ;   V1S_SUFF=_1Y_grid_T.nc
60VAR1_SSH=zos         ;   V1SSH_PREF=sbcmodMV    ;   V1SSH_SUFF=_1Y_grid_T.nc
61VAR1_Q=tohfls        ;   V1Q_PREF=sbcmodMV      ;   V1Q_SUFF=_1Y_grid_T.nc
62VAR1_EMP=wfo         ;   V1EMP_PREF=sbcmodMV    ;   V1EMP_SUFF=_1Y_grid_T.nc
63VAR1_U=uocetr_eff    ;   V1U_PREF=sbcmodMV      ;   V1U_SUFF=_1Y_grid_U.nc
64VAR1_V=vocetr_eff    ;   V1V_PREF=sbcmodMV      ;   V1V_SUFF=_1Y_grid_V.nc
65VAR1_ICE=siconc      ;   V1ICE_PREF=sbcmodMV    ;   V1ICE_SUFF=_1M_icemod.nc
66VAR1_Ithick=sithic   ;   V1It_PREF=sbcmodMV     ;   V1It_SUFF=_1M_icemod.nc
67VAR1_SNOW=sndept     ;   V1SNOW_PREF=sbcmodMV   ;   V1SNOW_SUFF=_1M_icemod.nc
68VAR1_IvelV=sivelv    ;   V1IvV_PREF=sbcmodMV    ;   V1IvV_SUFF=_1M_icemod.nc
69#
70#===================== EXP2 =====================
71#
72#DATE1_2=20010101   ;   DATE2_2=20101231
73DATE1_2=20410101   ;   DATE2_2=20501231
74#DATE1_2=20010101   ;   DATE2_2=25001231
75#
76VAR2_T=thetao      ;   V2T_PREF=l334plus      ;   V2T_SUFF=_1Y_grid_T.nc
77VAR2_S=so          ;   V2S_PREF=l334plus      ;   V2S_SUFF=_1Y_grid_T.nc
78VAR2_SSH=zos       ;   V2SSH_PREF=l334plus    ;   V2SSH_SUFF=_1Y_grid_T.nc
79VAR2_Q=tohfls      ;   V2Q_PREF=l334plus      ;   V2Q_SUFF=_1Y_grid_T.nc
80VAR2_EMP=wfo       ;   V2EMP_PREF=l334plus    ;   V2EMP_SUFF=_1Y_grid_T.nc
81VAR2_U=uocetr_eff  ;   V2U_PREF=l334plus      ;   V2U_SUFF=_1Y_grid_U.nc
82VAR2_V=vocetr_eff  ;   V2V_PREF=l334plus      ;   V2V_SUFF=_1Y_grid_V.nc
83VAR2_ICE=siconc    ;   V2ICE_PREF=l334plus    ;   V2ICE_SUFF=_1M_icemod.nc
84VAR2_Ithick=sithic ;   V2It_PREF=l334plus     ;   V2It_SUFF=_1M_icemod.nc
85VAR2_SNOW=sndept   ;   V2SNOW_PREF=l334plus   ;   V2SNOW_SUFF=_1M_icemod.nc
86VAR2_IvelV=sivelv  ;   V2IvV_PREF=sbcmodMV    ;   V2IvV_SUFF=_1M_icemod.nc
87#
88######################### Export Variables ###############################
89#
90#===================== User PATHS =====================
91export PS_DIR PDF_DIR HTML_DIR SAXO_DIR
92export DIR_DATA DIR_CLIMATO DIR_MASK
93#===================== Model GRID =====================
94export FILE_MESH_MASK FILE_MASK_SUBDOMAIN
95#===================== DATA =====================
96export FILE_TEMP_3D  VAR_TEMP_3D
97export FILE_SAL_3D   VAR_SAL_3D
98export FILE_SST      VAR_SST
99export FILE_GEOHEAT  VAR_GEOHEAT
100export FILE_FLUX     VAR_FLUX
101export FILE_MLD      VAR_MLD
102export FILE_ICE      VAR_ICE_EXT_NH  VAR_ICE_EXT_SH VAR_ICE_area_NH  VAR_ICE_area_SH
103export FILE_SNOW     VAR_SNOW_NH     VAR_SNOW_SH    VAR_SNOW_area_NH VAR_SNOW_area_SH
104#===================== EXP1 =====================
105export READ_ONLY_FIRST_RECORD
106#
107export DATE1        DATE2
108export VAR1_T       V1T_PREF     V1T_SUFF
109export VAR1_S       V1S_PREF     V1S_SUFF
110export VAR1_SSH     V1SSH_PREF   V1SSH_SUFF
111export VAR1_Q       V1Q_PREF     V1Q_SUFF
112export VAR1_EMP     V1EMP_PREF   V1EMP_SUFF
113export VAR1_U       V1U_PREF     V1U_SUFF
114export VAR1_V       V1V_PREF     V1V_SUFF
115export VAR1_ICE     V1ICE_PREF   V1ICE_SUFF
116export VAR1_Ithick  V1It_PREF    V1It_SUFF
117export VAR1_SNOW    V1SNOW_PREF  V1SNOW_SUFF
118export VAR1_IvelV   V1IvV_PREF   V1IvV_PREF
119export VAR2_IvelV   V2IvV_PREF  V2IvV_PREF
120
121#===================== EXP2 =====================
122export DATE1_2      DATE2_2
123export VAR2_T       V2T_PREF    V2T_SUFF
124export VAR2_S       V2S_PREF    V2S_SUFF
125export VAR2_SSH     V2SSH_PREF  V2SSH_SUFF
126export VAR2_Q       V2Q_PREF    V2Q_SUFF
127export VAR2_EMP     V2EMP_PREF  V2EMP_SUFF
128export VAR2_U       V2U_PREF    V2U_SUFF
129export VAR2_V       V2V_PREF    V2V_SUFF
130export VAR2_ICE     V2ICE_PREF  V2ICE_SUFF
131export VAR2_Ithick  V2It_PREF   V2It_SUFF
132export VAR2_SNOW    V2SNOW_PREF V2SNOW_SUFF
133export VAR2_IvelV   V2IvV_PREF  V2IvV_PREF
134
135#
Note: See TracBrowser for help on using the repository browser.