1'>
2'>
show result'>
]>
Get SAXOSébastienMassonsmasson@lodyc.jussieu.frFrançoisePinsardfplod@lodyc.jussieu.fridlSAXO0.0May 2006First draft
Create SAXO environment
To simplify the explanation, we suppose that we install SAXO in your ${HOME}.
We need to create 2 directories:
${HOME}/SAXO_DIR that will contain the source files of SAXO. It should not be modified by the user to simplify later updates${HOME}/My_IDL that will contain user personal files (including modified SAXO files, if needed).$cd${HOME}$mkdirMy_IDL
Get SAXO files
If you work at IDRIS or LOCEAN
SAXO is already installed at
IDRIS, on rhodes: /home/rech/eee/reee217/SAXO_DIRLOCEAN: /usr/home/smasson/SAXO_DIR
If you can access one of theses directories, there is no need to re-install SAXO again! In that case, you only have to link ${HOME}/SAXO_DIR to the appropiate directory:
IDRIS$ln/home/rech/eee/reee217/SAXO_DIR${HOME}/SAXO_DIRLOCEAN$ln/usr/home/smasson/SAXO_DIR${HOME}/SAXO_DIR
If Subversion (svn) is installed on your machine
Regular users
The complete latest revision (source + tests data files: ~750 Mb) can be checked out with the following command executed in your ${HOME}:
$svnhttp://forge.ipsl.jussieu.fr/saxo/svn/trunk/SAXO_DIR
The latest revision of the source files (~25 Mb) can be checked out with the following command:
$svnhttp://forge.ipsl.jussieu.fr/saxo/svn/trunk/SRCSAXO_DIR/SRC
The latest revision of the NetCDF data files (~725 Mb) used by the test programs can be checked out with the following command:
$svnhttp://forge.ipsl.jussieu.fr/saxo/svn/trunk/DATASAXO_DIR/DATA
Contributors
Contributors should better use the following command :
$svnsvn+ssh://login@forge.ipsl.jussieu.fr/ipsl/forge/projets/saxo/svn/trunk/SAXO_DIR
Get SAXO from a tar file
Get SAXO source files (... Mb)
Create your ${HOME}/SAXO_DIR directory...
$cd${HOME}$mkdirSAXO_DIR$cdSAXO_DIR
... and download it the latest version of the sources tar file: SAXO_DIR_&date;.tar.gz (&szsrc; Mb). This tar.gzip file could also be downloaded with
wget$wgethttp://www.lodyc.jussieu.fr/~smasson/SAXO/SRC/SAXO_DIR_&date;.tar.gzcurl$curlhttp://www.lodyc.jussieu.fr/~smasson/SAXO/SRC/SAXO_DIR_&date;.tar.gz
Untar the file
$cd${HOME}/SAXO_DIR$tarSAXO_DIR_*.tar.gz$rmSAXO_DIR_*.tar.gz
Get SAXO tests data files (... Mb)
If you want to use the tests programs, you need to download the data tests files (TestsData_&date2;.tar.gz), You may download theses files in
${HOME}/My_IDL. This is the easiest solution but it could be unconvenient if your ${HOME} disk space is limited.any other Directory of your choice. In that case, when using IDL, you will need to define the variable iodir to the Directory you choose in order to let IDL find the data tests files. This can be done either through the init.pro file (see ) or directly within IDL with the following commad: &promptidl;iodir = "the chosen directory"$cd${HOME}$mkdir"CHOSEN_DIR"$cd"CHOSEN_DIR"
Download the files through thoses links...
(49 Mb) (19 Mb) (264 Mb) (27 Mb) (2 Mb)
... or with
wget$wgethttp://forge.ipsl.jussieu.fr/saxo/svn/trunk/DATA/Levitus98_1m_01_12_Temperature_Pot_1x1.nc$wgethttp://forge.ipsl.jussieu.fr/saxo/svn/trunk/DATA/Levitus98_1m_01_12_Temperature_Pot_ORCA2.nc$wgethttp://forge.ipsl.jussieu.fr/saxo/svn/trunk/DATA/Levitus98_1m_01_12_Temperature_Pot_ORCA05.nc$wgethttp://forge.ipsl.jussieu.fr/saxo/svn/trunk/DATA/micromeshmaskORCA2.nc$wgethttp://forge.ipsl.jussieu.fr/saxo/svn/trunk/DATA/micromeshmaskORCA05.nccurl$curlhttp://forge.ipsl.jussieu.fr/saxo/svn/trunk/DATA/Levitus98_1m_01_12_Temperature_Pot_1x1.nc$curlhttp://forge.ipsl.jussieu.fr/saxo/svn/trunk/DATA/Levitus98_1m_01_12_Temperature_Pot_ORCA2.nc$curlhttp://forge.ipsl.jussieu.fr/saxo/svn/trunk/DATA/Levitus98_1m_01_12_Temperature_Pot_ORCA05.nc$curlhttp://forge.ipsl.jussieu.fr/saxo/svn/trunk/DATA/micromeshmaskORCA2.nc$curlhttp://forge.ipsl.jussieu.fr/saxo/svn/trunk/DATA/micromeshmaskORCA05.nc
Generate your init.pro file
To use SAXO, we need to build an idl script that we usually call "init.pro". This file contains a set of IDL commands and default definitions (paths and variables of the common files) that are necessary to SAXO. Once it has ben created, init.pro should the first executed command when starting IDL session.
$cd ${HOME}/SAXO_DIR$idlIDL Version 6.0, Mac OS X (darwin ppc m32). (c) 2003, Research Systems, Inc.&promptidl;buildinit% Compiled module: BUILDINIT.
You must then answer several questions:
give the path of ${HOME}/My_IDLgive the path of ${HOME}/SAXO_DIRcompatibility with the old version: No (except if you want to use old programs)give a default path for the data directorygive a default path for the postscript directorygive a default path for the images directorygive a default path for the animation directorynumber of accessible printer and their configurationdefault color tabledefault page orientation (portrait/landscape)default page sizedefault window sizepostscript archiving optionsname of the init file (init.pro)% Compiled module: CW_FIELD.% Compiled module: XMANAGER.% Compiled module: LOADCT.% Compiled module: FILEPATH.% Compiled module: PATH_SEP.% Compiled module: CW_FIELD.% Compiled module: STRSPLIT.% Compiled module: CW_FIELD.% Compiled module: CW_FIELD.% Compiled module: CW_FIELD.&promptidl;exit
There is an example of the kind of init.pro you should get.