source: branches/2013/dev_MERGE_2013/NEMOGCM/CONFIG/ORCA2_LIM/IDL_scripts/std_ts_vardef.sh_example1 @ 4320

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

update IDL_scripts for ORCA2_LIM and ORCA2_LIM3, add plot of max_mld output 5days, see ticket: #724

File size: 5.6 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
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#
54DATE1=20010101   ;   DATE2=21001231
55#
56VAR1_T=thetao      ;   V1T_PREF=tmx_2000     ;   V1T_SUFF=_1Y_grid_T.nc
57VAR1_S=so          ;   V1S_PREF=tmx_2000     ;   V1S_SUFF=_1Y_grid_T.nc
58VAR1_SSH=zos       ;   V1SSH_PREF=tmx_2000   ;   V1SSH_SUFF=_1Y_grid_T.nc
59VAR1_Q=qns+qsr     ;   V1Q_PREF=tmx_2000     ;   V1Q_SUFF=_1Y_grid_T.nc
60VAR1_EMP=wfo       ;   V1EMP_PREF=tmx_2000   ;   V1EMP_SUFF=_1Y_grid_T.nc
61VAR1_U=uoce_eff    ;   V1U_PREF=tmx_2000     ;   V1U_SUFF=_1Y_grid_U.nc
62VAR1_V=voce_eff    ;   V1V_PREF=tmx_2000     ;   V1V_SUFF=_1Y_grid_V.nc
63VAR1_ICE=sic       ;   V1ICE_PREF=tmx_2000   ;   V1ICE_SUFF=_1M_icemod.nc
64VAR1_Ithick=sit    ;   V1It_PREF=tmx_2000    ;   V1It_SUFF=_1M_icemod.nc
65VAR1_SNOW=isnowthi ;   V1SNOW_PREF=tmx_2000  ;   V1SNOW_SUFF=_1M_icemod.nc
66#
67#===================== EXP2 =====================
68#
69DATE1_2=10101   ;   DATE2_2=20001231
70#
71VAR2_T=thetao      ;   V2T_PREF=core2000     ;   V2T_SUFF=_1Y_grid_T.nc
72VAR2_S=so          ;   V2S_PREF=core2000     ;   V2S_SUFF=_1Y_grid_T.nc
73VAR2_SSH=zos       ;   V2SSH_PREF=core2000   ;   V2SSH_SUFF=_1Y_grid_T.nc
74VAR2_Q=qns+qsr     ;   V2Q_PREF=core2000     ;   V2Q_SUFF=_1Y_grid_T.nc
75VAR2_EMP=wfo       ;   V2EMP_PREF=core2000   ;   V2EMP_SUFF=_1Y_grid_T.nc
76VAR2_U=uoce_eff    ;   V2U_PREF=core2000     ;   V2U_SUFF=_1Y_grid_U.nc
77VAR2_V=voce_eff    ;   V2V_PREF=core2000     ;   V2V_SUFF=_1Y_grid_V.nc
78VAR2_ICE=sic       ;   V2ICE_PREF=core2000   ;   V2ICE_SUFF=_1M_icemod.nc
79VAR2_Ithick=sit    ;   V2It_PREF=core2000    ;   V2It_SUFF=_1M_icemod.nc
80VAR2_SNOW=isnowthi ;   V2ICE_SNOW=core2000   ;   V2SNOW_SUFF=_1M_icemod.nc
81#
82######################### Export Variables ###############################
83#
84#===================== User PATHS =====================
85export PS_DIR PDF_DIR HTML_DIR SAXO_DIR
86export DIR_DATA DIR_CLIMATO DIR_MASK
87#===================== Model GRID =====================
88export FILE_MESH_MASK FILE_MASK_SUBDOMAIN
89#===================== DATA =====================
90export FILE_TEMP_3D  VAR_TEMP_3D
91export FILE_SAL_3D   VAR_SAL_3D
92export FILE_SST      VAR_SST
93export FILE_GEOHEAT  VAR_GEOHEAT
94export FILE_FLUX     VAR_FLUX
95export FILE_MLD      VAR_MLD
96export FILE_ICE      VAR_ICE_EXT_NH  VAR_ICE_EXT_SH VAR_ICE_area_NH  VAR_ICE_area_SH
97export FILE_SNOW     VAR_SNOW_NH     VAR_SNOW_SH    VAR_SNOW_area_NH VAR_SNOW_area_SH
98#===================== EXP1 =====================
99export READ_ONLY_FIRST_RECORD
100#
101export DATE1        DATE2
102export VAR1_T       V1T_PREF     V1T_SUFF
103export VAR1_S       V1S_PREF     V1S_SUFF
104export VAR1_SSH     V1SSH_PREF   V1SSH_SUFF
105export VAR1_Q       V1Q_PREF     V1Q_SUFF
106export VAR1_EMP     V1EMP_PREF   V1EMP_SUFF
107export VAR1_U       V1U_PREF     V1U_SUFF
108export VAR1_V       V1V_PREF     V1V_SUFF
109export VAR1_ICE     V1ICE_PREF   V1ICE_SUFF
110export VAR1_Ithick  V1It_PREF    V1It_SUFF
111export VAR1_SNOW    V1SNOW_PREF  V1SNOW_SUFF
112
113#===================== EXP2 =====================
114export DATE1_2      DATE2_2
115export VAR2_T       V2T_PREF    V2T_SUFF
116export VAR2_S       V2S_PREF    V2S_SUFF
117export VAR2_SSH     V2SSH_PREF  V2SSH_SUFF
118export VAR2_Q       V2Q_PREF    V2Q_SUFF
119export VAR2_EMP     V2EMP_PREF  V2EMP_SUFF
120export VAR2_U       V2U_PREF    V2U_SUFF
121export VAR2_V       V2V_PREF    V2V_SUFF
122export VAR2_ICE     V2ICE_PREF  V2ICE_SUFF
123export VAR2_Ithick  V2It_PREF   V2It_SUFF
124export VAR2_SNOW    V2SNOW_PREF V2SNOW_SUFF
125#
Note: See TracBrowser for help on using the repository browser.