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.
README in branches/NERC/dev_r5518_COAREbulk/NEMOGCM/CONFIG/ORCA2_LIM/IDL_scripts – NEMO

source: branches/NERC/dev_r5518_COAREbulk/NEMOGCM/CONFIG/ORCA2_LIM/IDL_scripts/README @ 9185

Last change on this file since 9185 was 9185, checked in by jpalmier, 6 years ago

jpalm -- svn key delete

File size: 3.1 KB
Line 
1#----------------------------------------------------------------------
2# prerequired
3#----------------------------------------------------------------------
4First, you need either :
5- IDL (version 6.4 or above), see : http://www.exelisvis.com/ProductsServices/IDL.aspx
6  In this case, you also need to download SAXO which is a free package of IDL scripts:
7  define $PATH_SAXO, the path where you will download SAXO and get it through svn with the following command.
8  > PATH_SAXO=...
9  > svn checkout http://forge.ipsl.jussieu.fr/saxo/svn/trunk/SRC $PATH_SAXO/SAXO_DIR/SRC
10
11- or the IDL Virtual Machine which is free to use and does not require a license to run , see :
12  http://www.exelisvis.com/Support/HelpArticlesDetail/TabId/219/ArtMID/900/ArticleID/12395/The-IDL-Virtual-Machine.aspx
13  the virtual machine requites std_main.sav that is distributed with this README.
14
15Next, to use these idl tools, you need to download some climatogies and mask files;
16that you can find here: http://dodsp.idris.fr/reee512/NEMO_OUT/ORCA2_LIM/
17
18There is the wget command to get all those files (thanks to F. Pinsard)
19wget --recursive -l2 --no-directories --no-parent -A.nc -erobots=off http://dodsp.idris.fr/reee512/NEMO_OUT/ORCA2_LIM/
20
21You will aslo need the meshmask file (set nn_msh = 1 or nn_msh = 7 in your namelist and run the model for at least 1 time step).
22
23#----------------------------------------------------------------------
24# define your std_plot_vardef.sh or std_ts_vardef.sh file
25#----------------------------------------------------------------------
26These files are needed to define your PATHs, the experiments and variables names you used in your experiment.
27 - std_plot_vardef.sh is used to do all plots based on temporal mean (maps, vertical profiles...).
28 - std_ts_vardef.sh is used to do all time-series type of plot.
29
30To build you own std_plot_vardef.sh or std_ts_vardef.sh file; use the examples provided such as:
31 - std_ts_vardef.sh_example1 or std_ts_vardef.sh_example2
32 - std_plot_vardef.sh_example1 or std_plot_vardef.sh_example2
33
34Note that if you use the IDL Virtual Machine, the variable SAXO_DIR defined in std_plot_vardef.sh or std_ts_vardef.sh is not used. Any definition will be ok.
35
36#----------------------------------------------------------------------
37# HOW TO USE
38#----------------------------------------------------------------------
39./std_main.sh -plot -pdf
40or
41./std_main.sh -ts -pdf
42
43
44
45
46##########################################################################################################
47# short note for developers of this package on:
48#                   How to build the tarball required for IDL virtual Machine:
49##########################################################################################################
50#
51# we need to recreate std_main.sav as soon as we change IDL programmes files as
52# std_main.sav contains all ".pro" files aready compiled to be used with the virtual machine
53#
54. ./std_plot_vardef.sh # or . ./std_ts_vardef.sh
55idl -IDL_STARTUP initenv
56IDL> .r std_main
57IDL> resolve_all
58IDL> save, /routines, filename='std_main.sav'
59IDL> exit
60#
61#----------------------------------------------------------------------
Note: See TracBrowser for help on using the repository browser.