Changeset 10


Ignore:
Timestamp:
11/23/06 17:09:20 (16 years ago)
Author:
pinsard
Message:

passage sur rhodes et init adaptation ORCA025

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/condmag_on_orca.pro

    r6 r10  
    1010; @param orcares {in}{required}{type=string} 
    1111; code of ORCA grid to use for output results 
    12 ; must be 'ORCA2' 
     12; must be 'ORCA2' or 'ORCA025' 
    1313; 
    1414; @param method {in}{required}{type=string} 
     
    2020; @param gridtype {in}{required}{type=string} 
    2121; to specify on which grid we do the interpolation T, U, V 
    22 ; must belong to T,U,V 
     22; must belong to T, U or V 
    2323; 
    2424; @restrictions 
    2525;  - Requires SAXO tools 
    2626;  - 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}/ 
    2828;  - must not have cond_sed_*.nc in ${GEOMAG_OD}/ 
    2929;  - must not have Br_*.nc in ${GEOMAG_OD}/ 
    3030; 
    3131; @todo 
    32 ; add ORCA025 
    33 ; provide tools to plot output file 
     32; provide tools to plot output files 
    3433; produce a NetCDF GDT or CF compliant 
    3534; 
     
    3736; be sure to have datafile condmag.nc in the directory defined in 
    3837; ${GEOMAG_ID}/ see geomag_env.sh 
    39 ; be sure to have meshmask of ORCA grid you choos in the directory defined in 
     38; be sure to have meshmask of ORCA grid you choose in the directory defined in 
    4039; ${GEOMAG_ID}/ 
    4140; 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  
    4243; 
    4344; @post 
     
    5152; 
    5253; @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 
    5359; fplod 2006-11-23T08:57:10Z aedon.locean-ipsl.upmc.fr (Darwin) 
    5460; rename to condmag_on_orca.pro 
     
    9298                 filename_oce = 'meshmask_bab.nc' 
    9399              END 
     100     'ORCA025': BEGIN 
     101                 msg = 'iii : valid orcares parameter = ' +  orcares 
     102                 PRINT, msg 
     103                 filename_oce = orcares + '-G42_mesh_hgr.nc'  
     104              END 
    94105      ELSE  : BEGIN 
    95106                 msg = 'eee : invalid orcares parameter = ' + orcares 
    96107                 PRINT, msg 
    97                  msg = 'eee : orcares must be ORCA2' 
     108                 msg = 'eee : orcares must be ORCA2 or ORCA025' 
    98109                 PRINT, msg 
    99110                 RETURN 
     
    271282     olonname, olatname, $ 
    272283     olon, olat, jpio, jpjo, 2,/DOUBLE 
     284  msg = 'iii : ' + fullfilename_oce[0] + ' opened for read' 
     285  PRINT, msg 
    273286; 
    274287;--------------- 
  • trunk/geomag_profile.sh

    r3 r10  
    1818# ++ machine dependant 
    1919# ++ besoin de posix 
    20 # ++ doc 
     20# reee522 2006-11-23T11:41:41Z rhodes (IRIX64) 
     21# pas de set -o posix sur rhodes (IRIX64) 
    2122# $Id$ 
    2223# fplod 2006-03-22T10:13:38Z aedon.lodyc.jussieu.fr (Darwin) 
     
    2526# 
    2627set -u 
    27 set -o posix # ++ toutes les machines ne supportent pas forcément cette option 
     28system=$(uname) 
     29case ${system} in 
     30IRIX64) 
     31  echo " www : no specific posix checking" 
     32;; 
     33*) 
     34  set -o posix 
     35;; 
     36esac 
    2837# 
    2938command='geomag_profile.sh' 
    3039# 
    31 GEOMAG=/usr/home/fplod/incas/geomag/ # ++ machine dependant  
     40GEOMAG=${HOME}/incas/geomag/ # ++  
    3241# test if $GEOMAG available 
    3342if [ ! -d ${GEOMAG} ] 
Note: See TracChangeset for help on using the changeset viewer.