Changeset 19 for trunk/initorca2_bab.pro


Ignore:
Timestamp:
05/15/07 15:07:51 (17 years ago)
Author:
pinsard
Message:

some improvements on validation of step 1 and begining of parametrisation to orcares

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/initorca2_bab.pro

    r17 r19  
    1010; @todo 
    1111; parametrisation for ORCA025 
     12; can I use CASE statement in a file called by @...++ 
     13; can I use RETURN or STOP statement in a file called by @...++ 
    1214; 
    1315; zminmesh and izmaxmesh may be set to 0,0 because we only work with  
     
    3133@cm_4data 
    3234; 
    33 ;--------------------------------------------------------- 
     35 
     36; test if ${GEOMAG_ID} defined 
     37geomag_id_env=GETENV('GEOMAG_ID') 
     38; ++ pb syntaxe case dans @... 
     39 
     40iodirin = isadirectory(geomag_id_env) 
     41; 
     42; existence and protection of ${GEOMAG_ID} ++ 
     43 
     44filename_oce='meshmask_bab.nc' 
     45; check if this file exists 
     46fullfilename_oce = isafile(iodirin + filename_oce, NEW=0, /MUST_EXIST, $ 
     47                     RECURSIVE=0) 
     48print,fullfilename_oce[0] 
     49 
     50;-------------------------------------------------------- 
    3451; boundaries of the read grid regarding to the original grid 
    3552;---------------------------------------------------------- 
     
    4966; read the grid 
    5067;------------------------------------------------------ 
    51 iodir = '/usr/work/sur/fvi/OPA/ORCA2/' 
    5268 
    5369key_stride = [1, 1, 1] 
    54 ncdf_meshlec, 'meshmask_bab.nc', glamboundary = [20, 380] 
     70ncdf_meshlec, fullfilename_oce[0], glamboundary = [20, 380] 
    5571;------------------------------------------------------------- 
    5672domdef 
Note: See TracChangeset for help on using the changeset viewer.