- Timestamp:
- 11/23/06 17:09:20 (17 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/condmag_on_orca.pro
r6 r10 10 10 ; @param orcares {in}{required}{type=string} 11 11 ; code of ORCA grid to use for output results 12 ; must be 'ORCA2' 12 ; must be 'ORCA2' or 'ORCA025' 13 13 ; 14 14 ; @param method {in}{required}{type=string} … … 20 20 ; @param gridtype {in}{required}{type=string} 21 21 ; to specify on which grid we do the interpolation T, U, V 22 ; must belong to T, U,V22 ; must belong to T, U or V 23 23 ; 24 24 ; @restrictions 25 25 ; - Requires SAXO tools 26 26 ; - must have condmag.nc in ${GEOMAG_ID}/ 27 ; - must have meshmask in ${GEOMAG_ID}/27 ; - must have meshmask for ORCA2 or ORCA025 in ${GEOMAG_ID}/ 28 28 ; - must not have cond_sed_*.nc in ${GEOMAG_OD}/ 29 29 ; - must not have Br_*.nc in ${GEOMAG_OD}/ 30 30 ; 31 31 ; @todo 32 ; add ORCA025 33 ; provide tools to plot output file 32 ; provide tools to plot output files 34 33 ; produce a NetCDF GDT or CF compliant 35 34 ; … … 37 36 ; be sure to have datafile condmag.nc in the directory defined in 38 37 ; ${GEOMAG_ID}/ see geomag_env.sh 39 ; be sure to have meshmask of ORCA grid you choos in the directory defined in38 ; be sure to have meshmask of ORCA grid you choose in the directory defined in 40 39 ; ${GEOMAG_ID}/ 41 40 ; for ORCA2 filename is meshmask_bab.nc 41 ; ++ au pif entre mesh_hgr, mesh_zgr et mask 42 ; for ORCA0252 filename is ORCA025-G42_mesh_hgr.nc 42 43 ; 43 44 ; @post … … 51 52 ; 52 53 ; @history 54 ; reee522 2006-11-23T13:34:31Z rhodes (IRIX64) 55 ; add ORCA025 (beginning) 56 ; reee522 2006-11-23T13:28:07Z rhodes (IRIX64) 57 ; information about the opening of meshmask file was missing ... because 58 ; the open is hidden in the call of get_gridparam 53 59 ; fplod 2006-11-23T08:57:10Z aedon.locean-ipsl.upmc.fr (Darwin) 54 60 ; rename to condmag_on_orca.pro … … 92 98 filename_oce = 'meshmask_bab.nc' 93 99 END 100 'ORCA025': BEGIN 101 msg = 'iii : valid orcares parameter = ' + orcares 102 PRINT, msg 103 filename_oce = orcares + '-G42_mesh_hgr.nc' 104 END 94 105 ELSE : BEGIN 95 106 msg = 'eee : invalid orcares parameter = ' + orcares 96 107 PRINT, msg 97 msg = 'eee : orcares must be ORCA2 '108 msg = 'eee : orcares must be ORCA2 or ORCA025' 98 109 PRINT, msg 99 110 RETURN … … 271 282 olonname, olatname, $ 272 283 olon, olat, jpio, jpjo, 2,/DOUBLE 284 msg = 'iii : ' + fullfilename_oce[0] + ' opened for read' 285 PRINT, msg 273 286 ; 274 287 ;--------------- -
trunk/geomag_profile.sh
r3 r10 18 18 # ++ machine dependant 19 19 # ++ besoin de posix 20 # ++ doc 20 # reee522 2006-11-23T11:41:41Z rhodes (IRIX64) 21 # pas de set -o posix sur rhodes (IRIX64) 21 22 # $Id$ 22 23 # fplod 2006-03-22T10:13:38Z aedon.lodyc.jussieu.fr (Darwin) … … 25 26 # 26 27 set -u 27 set -o posix # ++ toutes les machines ne supportent pas forcément cette option 28 system=$(uname) 29 case ${system} in 30 IRIX64) 31 echo " www : no specific posix checking" 32 ;; 33 *) 34 set -o posix 35 ;; 36 esac 28 37 # 29 38 command='geomag_profile.sh' 30 39 # 31 GEOMAG= /usr/home/fplod/incas/geomag/ # ++ machine dependant40 GEOMAG=${HOME}/incas/geomag/ # ++ 32 41 # test if $GEOMAG available 33 42 if [ ! -d ${GEOMAG} ]
Note: See TracChangeset
for help on using the changeset viewer.