source: trunk/NEMOGCM/CONFIG/ORCA2_LIM/IDL_scripts/std_plot_vardef.sh_example1 @ 2753

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

update examples for IDL_scripts

File size: 3.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_plot.sh and std_plot.pro
10#
11# EXAMPLES
12# ========
13# $ . ./std_plot_vardef.sh
14#
15#
16#===================== User PATHS =====================
17#
18idl_command=/Applications/itt/idl64/bin/idl
19#
20PS_DIR=$( pwd )/ps
21PDF_DIR=$( pwd )/pdf
22HTML_DIR=$( pwd )/html
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#
48FILE1_T=tr33beta_00910101_01001231_1Y_grid_T.nc   # exp1 grid T input file
49FILE1_U=tr33beta_00910101_01001231_1Y_grid_U.nc   # exp1 grid U input file
50FILE1_V=tr33beta_00910101_01001231_1Y_grid_V.nc   # exp1 grid V input file
51FILE1_I=tr33beta_00910101_01001231_1M_icemod.nc   # exp1 ice    input file
52VAR1_T=thetao
53VAR1_S=so
54VAR1_QNET=qt
55VAR1_ERP=wfcorr
56VAR1_EMP=wfo
57VAR1_MLD=mldr10_1
58VAR1_U=uocetr_eff
59VAR1_V=vocetr_eff
60VAR1_Ithick=sit
61VAR1_Ifrac=sic
62#
63#===================== EXP2 =====================
64#
65FILE2_T=tr33beta_00910101_01001231_1Y_grid_T.nc   # exp1 grid T input file
66FILE2_U=tr33beta_00910101_01001231_1Y_grid_U.nc   # exp1 grid U input file
67FILE2_V=tr33beta_00910101_01001231_1Y_grid_V.nc   # exp1 grid V input file
68FILE2_I=tr33beta_00910101_01001231_1M_icemod.nc   # exp1 ice    input file
69VAR2_T=thetao
70VAR2_S=so
71VAR2_QNET=qt
72VAR2_ERP=wfcorr
73VAR2_EMP=wfo
74VAR2_MLD=mldr10_1
75VAR2_U=uocetr_eff
76VAR2_V=vocetr_eff
77VAR2_Ithick=sit
78VAR2_Ifrac=sic
79#
80######################### Export Variables ###############################
81#
82#===================== User PATHS =====================
83export PS_DIR PDF_DIR HTML_DIR SAXO_DIR
84export DIR_DATA DIR_CLIMATO DIR_MASK
85#===================== Model GRID =====================
86export FILE_MESH_MASK FILE_MASK_SUBDOMAIN
87#===================== DATA =====================
88export FILE_TEMP_3D  VAR_TEMP_3D
89export FILE_SAL_3D   VAR_SAL_3D
90export FILE_SST      VAR_SST
91export FILE_GEOHEAT  VAR_GEOHEAT
92export FILE_FLUX     VAR_FLUX
93export FILE_MLD      VAR_MLD
94#===================== EXP1 =====================
95export READ_ONLY_FIRST_RECORD
96export FILE1_T FILE1_U FILE1_V FILE1_I
97export VAR1_T VAR1_S VAR1_QNET VAR1_ERP VAR1_EMP VAR1_MLD
98export VAR1_U VAR1_V
99export VAR1_Ithick VAR1_Ifrac
100#===================== EXP2 =====================
101export FILE2_T FILE2_U FILE2_V FILE2_I
102export VAR2_T VAR2_S VAR2_QNET VAR2_ERP VAR2_EMP VAR2_MLD
103export VAR2_U VAR2_V
104export VAR2_Ithick VAR2_Ifrac
105#
Note: See TracBrowser for help on using the repository browser.