Ignore:
Timestamp:
05/24/06 10:22:32 (18 years ago)
Author:
smasson
Message:

tests tst_* work again (brokken since DATA/SRC split)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Tests/tst_pltz.pro

    r58 r77  
    1313    720+510:file = 'Levitus98_1m_01_12_Temperature_Pot_ORCA05.nc' 
    1414  ENDCASE 
    15   file = isafile(file, iodirectory = [iodir, homedir, !path] $ 
    16                  , title = 'Where is '+file+' ?', /recursive) 
     15  file = isafile(file, title = 'Where is '+file+' ?', /lookalldir) 
    1716  IF size(file, /type) NE 7 THEN return 
    1817; 
     
    2019  ELSE domdef, min(glamt), max(glamf), jpj/2-1, jpj/2+1, 0, max(gdept) 
    2120; 
    22   temp = read_ncdf('votemper', 10101, 10131, file = file) 
     21  temp = read_ncdf('votemper', 00101, 00131, file = file) 
    2322  IF key_forgetold THEN help, temp.arr ELSE help, temp.tab 
    2423;  
     
    7372  ENDELSE  
    7473 
    75   temp = read_ncdf('votemper', 10101, 11231, file = file) 
     74  temp = read_ncdf('votemper', 00101, 01231, file = file) 
    7675  pltz, temp, boxzoom = [6000], zoom = 1000, yxaspect = 2, zratio = .5 
    7776  if keyword_set(image) then saveimage, 'tst_pltz_'+image+'_'+string(cnt, format = '(i2.2)')+'.png', /png $ 
     
    8483  ELSE endpoints = [jpi/6, jpj/3, 5*jpi/6, 2*jpj/3] 
    8584  domdef, endpoints = endpoints, type = 'pltz' 
    86   temp = read_ncdf('votemper', 10101, 10131, file = file) 
     85  temp = read_ncdf('votemper', 00101, 00131, file = file) 
    8786  pltz, temp, endpoints = endpoints 
    8887  if keyword_set(image) then saveimage, 'tst_pltz_'+image+'_'+string(cnt, format = '(i2.2)')+'.png', /png $ 
     
    9594  ELSE endpoints = [jpi/2+0.25, +0.25, jpi/2+0.25,  jpj] 
    9695  domdef, 6000, endpoints = endpoints, type = 'pltz' 
    97   temp = read_ncdf('votemper', 10101, 10131, file = file) 
     96  temp = read_ncdf('votemper', 00101, 00131, file = file) 
    9897  pltz, temp, endpoints = endpoints, boxzoom = [6000] $ 
    9998        , zoom = 1000, yxaspect = 2, zratio = .5 ; , /showbuild 
     
    108107    ELSE box = [0, jpi-1, jpj/2, jpj/2, 0, 6000] 
    109108    domdef, box, gridtype = 'T' 
    110     temp = read_ncdf('votemper', 10101, 10131, file = file) 
     109    temp = read_ncdf('votemper', 00101, 00131, file = file) 
    111110    pltz, temp, boxzoom = [6000], /portrait, small = [1, 2, 1] $ 
    112111          , zoom = 500, zratio = .5 
     
    115114    ELSE endpoints = [0, jpj/2, jpi-1, jpj/2] 
    116115    domdef, 6000, endpoints = endpoints, type = 'pltz', gridtype = 'T' 
    117     temp = read_ncdf('votemper', 10101, 10131, file = file) 
     116    temp = read_ncdf('votemper', 00101, 00131, file = file) 
    118117    pltz, temp, endpoints = endpoints, boxzoom = [6000] $ 
    119118          , zoom = 500, zratio = .5 $ 
Note: See TracChangeset for help on using the changeset viewer.