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.
std_ts_vardef.sh_example1 in branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/CONFIG/ORCA2_LIM/IDL_scripts – NEMO

source: branches/2015/dev_r5218_CNRS17_coupling/NEMOGCM/CONFIG/ORCA2_LIM/IDL_scripts/std_ts_vardef.sh_example1 @ 5259

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

dev_r5218_CNRS17_coupling: merge with trunk rev 5258

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