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 | # |
---|
18 | idl_command=/Applications/itt/idl64/bin/idl |
---|
19 | # |
---|
20 | PS_DIR=$( pwd )/ps_tag33_tag331 |
---|
21 | PDF_DIR=$( pwd )/pdf_tag33_tag331 |
---|
22 | HTML_DIR=$( pwd )/html |
---|
23 | SAXO_DIR=/Users/sflod/SAXO_DIR |
---|
24 | # |
---|
25 | DIR_DATA=/Users/sflod/idl_PLOTS/DATA_STORE/RUN_CLIMATO/lim3_ada # path of data in NetCDF format |
---|
26 | DIR_CLIMATO=/Users/sflod/idl_PLOTS/CLIMATOLOGIES # path of climatological data |
---|
27 | DIR_MASK=/Users/sflod/idl_PLOTS/MASK # path of mask files (ex: subbasins) |
---|
28 | # |
---|
29 | #===================== Model GRID ===================== |
---|
30 | # |
---|
31 | FILE_MESH_MASK=/Users/sflod/idl_PLOTS/MASK/ORL2PISV35_mesh_mask.nc # meshmask |
---|
32 | FILE_MASK_SUBDOMAIN=subbasins_orca21_nored.nc # sub-bassin masks |
---|
33 | # |
---|
34 | #===================== DATA ===================== |
---|
35 | # |
---|
36 | VAR_TEMP_3D=votemper ; FILE_TEMP_3D=potT_annual_mean.nc # PHC3 |
---|
37 | VAR_SAL_3D=vosaline ; FILE_SAL_3D=Salt_1y_corr_PHC3WOA09.nc # PHC3 |
---|
38 | VAR_SST=sst ; FILE_SST=NewREY_ORCA2_1991_2000_1y.nc # Reynolds |
---|
39 | VAR_FLUX=qnet ; FILE_FLUX=OAFlux_1my_01_12_1984_2004_orca2_qnet.nc # flux |
---|
40 | VAR_MLD=mld ; FILE_MLD=mld_DR003_c1m_ORCA2_1y.nc # Mixed layer depth |
---|
41 | VAR_ICE_EXT_NH=extt_NH ; FILE_ICE=sea_ice_index_2000.nc # Ice Extent North Emisphere |
---|
42 | VAR_ICE_EXT_SH=extt_SH ; FILE_ICE=sea_ice_index_2000.nc # Ice Extent South Emisphere |
---|
43 | VAR_ICE_area_NH=area_NH ; FILE_ICE=sea_ice_index_2000.nc # Ice Area North Emisphere |
---|
44 | VAR_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 |
---|
48 | VAR_GEOHEAT=heatflow ; FILE_GEOHEAT=geothermal_heating.nc |
---|
49 | # |
---|
50 | #===================== EXP1 ===================== |
---|
51 | # |
---|
52 | READ_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=21001231 |
---|
55 | # |
---|
56 | VAR1_T=thetao ; V1T_PREF=tag33 ; V1T_SUFF=_1Y_grid_T.nc |
---|
57 | VAR1_S=so ; V1S_PREF=tag33 ; V1S_SUFF=_1Y_grid_T.nc |
---|
58 | VAR1_SSH=zos ; V1SSH_PREF=tag33 ; V1SSH_SUFF=_1Y_grid_T.nc |
---|
59 | VAR1_Q=qt ; V1Q_PREF=tag33 ; V1Q_SUFF=_1Y_grid_T.nc |
---|
60 | VAR1_EMP=wfo ; V1EMP_PREF=tag33 ; V1EMP_SUFF=_1Y_grid_T.nc |
---|
61 | VAR1_U=uocetr_eff ; V1U_PREF=tag33 ; V1U_SUFF=_1Y_grid_U.nc |
---|
62 | VAR1_V=vocetr_eff ; V1V_PREF=tag33 ; V1V_SUFF=_1Y_grid_V.nc |
---|
63 | VAR1_ICE=sic ; V1ICE_PREF=tag33 ; V1ICE_SUFF=_1M_icemod.nc |
---|
64 | VAR1_Ithick=sit ; V1It_PREF=tag33 ; V1It_SUFF=_1M_icemod.nc |
---|
65 | VAR1_SNOW=isnowthi ; V1SNOW_PREF=tag33 ; V1SNOW_SUFF=_1M_icemod.nc |
---|
66 | VAR1_IvelV=vice_ipa ; V1IvV_PREF=tag33 ; V1IvV_SUFF=_1M_icemod.nc |
---|
67 | # |
---|
68 | #===================== EXP2 ===================== |
---|
69 | # |
---|
70 | DATE1_2=20010101 ; DATE2_2=21001231 |
---|
71 | # |
---|
72 | VAR2_T=thetao ; V2T_PREF=trunk331 ; V2T_SUFF=_1Y_grid_T.nc |
---|
73 | VAR2_S=so ; V2S_PREF=trunk331 ; V2S_SUFF=_1Y_grid_T.nc |
---|
74 | VAR2_SSH=zos ; V2SSH_PREF=trunk331 ; V2SSH_SUFF=_1Y_grid_T.nc |
---|
75 | VAR2_Q=qt ; V2Q_PREF=trunk331 ; V2Q_SUFF=_1Y_grid_T.nc |
---|
76 | VAR2_EMP=wfo ; V2EMP_PREF=trunk331 ; V2EMP_SUFF=_1Y_grid_T.nc |
---|
77 | VAR2_U=uocetr_eff ; V2U_PREF=trunk331 ; V2U_SUFF=_1Y_grid_U.nc |
---|
78 | VAR2_V=vocetr_eff ; V2V_PREF=trunk331 ; V2V_SUFF=_1Y_grid_V.nc |
---|
79 | VAR2_ICE=sic ; V2ICE_PREF=trunk331 ; V2ICE_SUFF=_1M_icemod.nc |
---|
80 | VAR2_Ithick=sit ; V2It_PREF=trunk331 ; V2It_SUFF=_1M_icemod.nc |
---|
81 | VAR2_SNOW=isnowthi ; V2ICE_SNOW=trunk331 ; V2SNOW_SUFF=_1M_icemod.nc |
---|
82 | VAR2_IvelV=vice_ipa ; V2IvV_PREF=trunk331 ; V2IvV_SUFF=_1M_icemod.nc |
---|
83 | # |
---|
84 | ######################### Export Variables ############################### |
---|
85 | # |
---|
86 | #===================== User PATHS ===================== |
---|
87 | export PS_DIR PDF_DIR HTML_DIR SAXO_DIR |
---|
88 | export DIR_DATA DIR_CLIMATO DIR_MASK |
---|
89 | #===================== Model GRID ===================== |
---|
90 | export FILE_MESH_MASK FILE_MASK_SUBDOMAIN |
---|
91 | #===================== DATA ===================== |
---|
92 | export FILE_TEMP_3D VAR_TEMP_3D |
---|
93 | export FILE_SAL_3D VAR_SAL_3D |
---|
94 | export FILE_SST VAR_SST |
---|
95 | export FILE_GEOHEAT VAR_GEOHEAT |
---|
96 | export FILE_FLUX VAR_FLUX |
---|
97 | export FILE_MLD VAR_MLD |
---|
98 | export FILE_ICE VAR_ICE_EXT_NH VAR_ICE_EXT_SH VAR_ICE_area_NH VAR_ICE_area_SH |
---|
99 | export FILE_SNOW VAR_SNOW_NH VAR_SNOW_SH VAR_SNOW_area_NH VAR_SNOW_area_SH |
---|
100 | #===================== EXP1 ===================== |
---|
101 | export READ_ONLY_FIRST_RECORD |
---|
102 | # |
---|
103 | export DATE1 DATE2 |
---|
104 | export VAR1_T V1T_PREF V1T_SUFF |
---|
105 | export VAR1_S V1S_PREF V1S_SUFF |
---|
106 | export VAR1_SSH V1SSH_PREF V1SSH_SUFF |
---|
107 | export VAR1_Q V1Q_PREF V1Q_SUFF |
---|
108 | export VAR1_EMP V1EMP_PREF V1EMP_SUFF |
---|
109 | export VAR1_U V1U_PREF V1U_SUFF |
---|
110 | export VAR1_V V1V_PREF V1V_SUFF |
---|
111 | export VAR1_ICE V1ICE_PREF V1ICE_SUFF |
---|
112 | export VAR1_Ithick V1It_PREF V1It_SUFF |
---|
113 | export VAR1_SNOW V1SNOW_PREF V1SNOW_SUFF |
---|
114 | export VAR1_IvelV V1IvV_PREF V1IvV_SUFF |
---|
115 | #===================== EXP2 ===================== |
---|
116 | export DATE1_2 DATE2_2 |
---|
117 | export VAR2_T V2T_PREF V2T_SUFF |
---|
118 | export VAR2_S V2S_PREF V2S_SUFF |
---|
119 | export VAR2_SSH V2SSH_PREF V2SSH_SUFF |
---|
120 | export VAR2_Q V2Q_PREF V2Q_SUFF |
---|
121 | export VAR2_EMP V2EMP_PREF V2EMP_SUFF |
---|
122 | export VAR2_U V2U_PREF V2U_SUFF |
---|
123 | export VAR2_V V2V_PREF V2V_SUFF |
---|
124 | export VAR2_ICE V2ICE_PREF V2ICE_SUFF |
---|
125 | export VAR2_Ithick V2It_PREF V2It_SUFF |
---|
126 | export VAR2_SNOW V2SNOW_PREF V2SNOW_SUFF |
---|
127 | export VAR2_IvelV V2IvV_PREF V2IvV_SUFF |
---|
128 | # |
---|