Changeset 4


Ignore:
Timestamp:
11/26/07 16:35:03 (16 years ago)
Author:
kolasinski
Message:

Add ORCA05 config and bugfix in nc_read

Location:
trunk/procs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/procs/meshes/mesh_orca.pro

    r3 r4  
    1616 
    1717   CASE h_config OF 
     18      'ORCA05': begin 
     19         IF keyword_set(WHOLE_ARRAYS) THEN BEGIN 
     20            ixminmesh  =0 & ixmaxmesh  =721 
     21            iyminmesh  =0 & iymaxmesh  =510 
     22         ENDIF ELSE BEGIN    
     23            ixminmesh  =2 & ixmaxmesh  =720 
     24            iyminmesh  =0 & iymaxmesh  =510 
     25         ENDELSE   
     26      END  
    1827      'ORCA_R2': begin 
    1928         IF keyword_set(WHOLE_ARRAYS) THEN BEGIN 
     
    108117 
    109118   CASE h_config OF 
     119      'ORCA05':  BEGIN 
     120         mesmsk = 'micromeshmaskORCA05.nc' 
     121         cmd_grid =  'ncdf_meshread, sm_file, GLAMBOUNDARY = glamboundary_box' 
     122      END 
    110123      'ORCA_R2': BEGIN 
    111124         CASE v_config of 
     
    187200   IF no_lon_shift EQ 0 THEN BEGIN 
    188201      CASE h_config OF 
     202         'ORCA05': BEGIN 
     203; read offset 
     204             
     205            key_offset = [2, 0, 0] 
     206; 
     207; indice i pour grille j moyenne zonale 
     208; 
     209            diaznl_idx = 100-1 
     210             
     211         END  
    189212         'ORCA_R2': BEGIN 
    190213; read offset 
     
    206229            diaznl_idx = 25-1 
    207230             
    208          END  
     231         END 
     232          
    209233      ENDCASE  
    210234   ENDIF 
  • trunk/procs/nc_read.pro

    r2 r4  
    453453               ENDIF ELSE BEGIN 
    454454                  ; ocean = always mask 
    455                   idx = where(tmask EQ 0) 
    456                   lec_data(idx) = 1.e20 
     455                  ; idx = where(tmask EQ 0) 
     456                  ; lec_data(idx) = 1.e20 
    457457                  CASE vert_type OF 
    458458                     'z': BEGIN 
Note: See TracChangeset for help on using the changeset viewer.