Changeset 77 for trunk/SRC/Tests/TestsOld
- Timestamp:
- 05/24/06 10:22:32 (18 years ago)
- Location:
- trunk/SRC/Tests/TestsOld
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Tests/TestsOld/tst_initlev_index_old.pro
r57 r77 1 1 file = 'Levitus98_1m_01_12_Temperature_Pot_1x1.nc' 2 2 initncdf, file, glamboundary = [20, 380], useasmask = 'votemper' $ 3 , missing_value = 31.0720, iodirectory = [iodir, homedir, !path] $ 4 , /recursive, /xyindex 3 , missing_value = 31.0720, /lookalldir, /xyindex -
trunk/SRC/Tests/TestsOld/tst_initlev_index_stride_old.pro
r57 r77 1 1 file = 'Levitus98_1m_01_12_Temperature_Pot_1x1.nc' 2 2 initncdf, file, glamboundary = [20, 380], useasmask = 'votemper' $ 3 , missing_value = 31.0720, iodirectory = [iodir, homedir, !path] $ 4 , /recursive, /xyindex, stride = [2, 2, 1] 3 , missing_value = 31.0720, /lookalldir, /xyindex, stride = [2, 2, 1] -
trunk/SRC/Tests/TestsOld/tst_initlev_old.pro
r57 r77 1 1 file = 'Levitus98_1m_01_12_Temperature_Pot_1x1.nc' 2 2 initncdf, file, glamboundary = [20, 380], useasmask = 'votemper' $ 3 , missing_value = 31.0720, iodirectory = [iodir, homedir, !path] $ 4 , /recursive 3 , missing_value = 31.0720, /lookalldir -
trunk/SRC/Tests/TestsOld/tst_initlev_stride_old.pro
r57 r77 1 1 file = 'Levitus98_1m_01_12_Temperature_Pot_1x1.nc' 2 2 initncdf, file, glamboundary = [20, 380], useasmask = 'votemper' $ 3 , missing_value = 31.0720, iodirectory = [iodir, homedir, !path] $ 4 , /recursive, stride = [2, 2, 1] 3 , missing_value = 31.0720, /lookalldir, stride = [2, 2, 1] -
trunk/SRC/Tests/TestsOld/tst_initorca05_index_old.pro
r57 r77 10 10 initncdf, file, xminmesh = 1, xmaxmesh = -1 $ 11 11 , yminmesh = 0, ymaxmesh = -1, /xyindex $ 12 , iodirectory = [iodir, homedir, !path], /recursive12 , /lookalldir 13 13 ; 14 14 ; 2) definition with the meshmask … … 18 18 ; , /xyindex, zaxisname = 'gdept' $ 19 19 ; , yminmesh = 0, ymaxmesh = -1, xminmesh = 1, xmaxmesh = -1 $ 20 ; , iodirectory = [iodir, homedir, !path], /recursive20 ; , /lookalldir 21 21 ; 22 22 ; 3) by calling directly computegrid … … 30 30 ; computegrid, 0, 0, 1, 1, jpiglo, jpjglo, xminmesh = 1, xmaxmesh = -1 $ 31 31 ; , yminmesh = 0, ymaxmesh = -1, onearth = 0 $ 32 ; , iodirectory = [iodir, homedir, !path], /recursive32 ; , /lookalldir -
trunk/SRC/Tests/TestsOld/tst_initorca05_index_stride_old.pro
r57 r77 10 10 initncdf, file, xminmesh = 1, xmaxmesh = -1 $ 11 11 , yminmesh = 0, ymaxmesh = -1, /xyindex, stride = [2, 1, 1] $ 12 , iodirectory = [iodir, homedir, !path], /recursive12 , /lookalldir 13 13 ; 14 14 ; 2) definition with the meshmask … … 18 18 ; , /xyindex, zaxisname = 'gdept', stride = [2, 1, 1] $ 19 19 ; , yminmesh = 0, ymaxmesh = -1, xminmesh = 1, xmaxmesh = -1 $ 20 ; , iodirectory = [iodir, homedir, !path], /recursive20 ; , /lookalldir 21 21 ; 22 22 ; 3) by calling directly computegrid … … 30 30 ; computegrid, 0, 0, 1, 1, jpiglo, jpjglo, xminmesh = 1, xmaxmesh = -1 $ 31 31 ; , yminmesh = 0, ymaxmesh = -1, onearth = 0, stride = [2, 1, 1] $ 32 ; , iodirectory = [iodir, homedir, !path], /recursive32 ; , /lookalldir -
trunk/SRC/Tests/TestsOld/tst_initorca05_old.pro
r57 r77 21 21 ;------------------------------------------------------ 22 22 key_stride = [1, 1, 1] 23 ncdf_meshread, 'micromeshmaskORCA05.nc' , glamboundary = [20, 380]$24 , iodirectory = [iodir, homedir, !path], /recursive23 ncdf_meshread, 'micromeshmaskORCA05.nc' $ 24 , glamboundary = [20, 380], /lookalldir 25 25 ;------------------------------------------------------------- 26 26 domdef -
trunk/SRC/Tests/TestsOld/tst_initorca05_short_old.pro
r57 r77 1 1 file = 'Levitus98_1m_01_12_Temperature_Pot_ORCA05.nc' 2 2 initncdf, file, glamboundary = [20, 380], xminmesh = 1, xmaxmesh = -1 $ 3 , yminmesh = 0, ymaxmesh = -1, iodirectory = [iodir, homedir, !path] $ 4 , /recursive 3 , yminmesh = 0, ymaxmesh = -1, /lookalldir -
trunk/SRC/Tests/TestsOld/tst_initorca05_short_stride_old.pro
r57 r77 1 1 file = 'Levitus98_1m_01_12_Temperature_Pot_ORCA05.nc' 2 2 initncdf, file, glamboundary = [20, 380], xminmesh = 1, xmaxmesh = -1 $ 3 , yminmesh = 0, ymaxmesh = -1, iodirectory = [iodir, homedir, !path] $ 4 , /recursive, stride = [2, 2, 1] 3 , yminmesh = 0, ymaxmesh = -1, /lookalldir, stride = [2, 2, 1] -
trunk/SRC/Tests/TestsOld/tst_initorca05_stride_old.pro
r57 r77 21 21 ;------------------------------------------------------ 22 22 key_stride = [2, 2, 1] 23 ncdf_meshread, 'micromeshmaskORCA05.nc' , glamboundary = [20, 380]$24 , iodirectory = [iodir, homedir, !path], /recursive23 ncdf_meshread, 'micromeshmaskORCA05.nc' $ 24 , glamboundary = [20, 380], /lookalldir 25 25 ;------------------------------------------------------------- 26 26 domdef -
trunk/SRC/Tests/TestsOld/tst_initorca2_index_old.pro
r57 r77 11 11 initncdf, file, xminmesh = 1, xmaxmesh = -1 $ 12 12 , yminmesh = 0, ymaxmesh = -1, /xyindex $ 13 , iodirectory = [iodir, homedir, !path], /recursive13 , /lookalldir 14 14 ; 15 15 ; 2) definition with the meshmask … … 19 19 ; , /xyindex, zaxisname = 'gdept' $ 20 20 ; , yminmesh = 0, ymaxmesh = -1, xminmesh = 1, xmaxmesh = -1 $ 21 ; , iodirectory = [iodir, homedir, !path], /recursive21 ; , /lookalldir 22 22 ; 23 23 ; 3) by calling directly computegrid … … 31 31 ; computegrid, 0, 0, 1, 1, jpiglo, jpjglo, xminmesh = 1, xmaxmesh = -1 $ 32 32 ; , yminmesh = 0, ymaxmesh = -1, onearth = 0 $ 33 ; , iodirectory = [iodir, homedir, !path], /recursive33 ; , /lookalldir -
trunk/SRC/Tests/TestsOld/tst_initorca2_index_stride_old.pro
r57 r77 11 11 initncdf, file, xminmesh = 1, xmaxmesh = -1 $ 12 12 , yminmesh = 0, ymaxmesh = -1, /xyindex, stride = [2, 2, 1] $ 13 , iodirectory = [iodir, homedir, !path], /recursive13 , /lookalldir 14 14 ; 15 15 ; 2) definition with the meshmask … … 19 19 ; , /xyindex, zaxisname = 'gdept', stride = [2, 2, 1] $ 20 20 ; , yminmesh = 0, ymaxmesh = -1, xminmesh = 1, xmaxmesh = -1 $ 21 ; , iodirectory = [iodir, homedir, !path], /recursive21 ; , /lookalldir 22 22 ; 23 23 ; 3) by calling directly computegrid … … 31 31 ; computegrid, 0, 0, 1, 1, jpiglo, jpjglo, xminmesh = 1, xmaxmesh = -1 $ 32 32 ; , yminmesh = 0, ymaxmesh = -1, onearth = 0, stride = [2, 2, 1] $ 33 ; , iodirectory = [iodir, homedir, !path], /recursive33 ; , /lookalldir -
trunk/SRC/Tests/TestsOld/tst_initorca2_old.pro
r57 r77 21 21 ;------------------------------------------------------ 22 22 key_stride = [1, 1, 1] 23 ncdf_meshread, 'micromeshmaskORCA2.nc' , glamboundary = [20, 380]$24 , iodirectory = [iodir, homedir, !path], /recursive23 ncdf_meshread, 'micromeshmaskORCA2.nc' $ 24 , glamboundary = [20, 380], /lookalldir 25 25 ;------------------------------------------------------------- 26 26 domdef -
trunk/SRC/Tests/TestsOld/tst_initorca2_short_old.pro
r57 r77 1 1 file = 'Levitus98_1m_01_12_Temperature_Pot_ORCA2.nc' 2 2 initncdf, file, glamboundary = [20, 380], xminmesh = 1, xmaxmesh = 180 $ 3 , yminmesh = 0, ymaxmesh = 147, iodirectory = [iodir, homedir, !path] $ 4 , /recursive 3 , yminmesh = 0, ymaxmesh = 147, /lookalldir 5 4 -
trunk/SRC/Tests/TestsOld/tst_initorca2_short_stride_old.pro
r57 r77 1 1 file = 'Levitus98_1m_01_12_Temperature_Pot_ORCA2.nc' 2 2 initncdf, file, glamboundary = [20, 380], xminmesh = 1, xmaxmesh = 180 $ 3 , yminmesh = 0, ymaxmesh = 147, iodirectory = [iodir, homedir, !path] $ 4 , /recursive, stride = [2, 2, 1] 3 , yminmesh = 0, ymaxmesh = 147, /lookalldir, stride = [2, 2, 1] 5 4 -
trunk/SRC/Tests/TestsOld/tst_initorca2_stride_old.pro
r57 r77 21 21 ;------------------------------------------------------ 22 22 key_stride = [2, 2, 1] 23 ncdf_meshread, 'micromeshmaskORCA2.nc' , glamboundary = [20, 380]$24 , iodirectory = [iodir, homedir, !path], /recursive23 ncdf_meshread, 'micromeshmaskORCA2.nc' $ 24 , glamboundary = [20, 380], /lookalldir 25 25 ;------------------------------------------------------------- 26 26 domdef -
trunk/SRC/Tests/TestsOld/tst_plt_old.pro
r57 r77 10 10 720+510:file = 'Levitus98_1m_01_12_Temperature_Pot_ORCA05.nc' 11 11 ENDCASE 12 file = isafile(file, iodirectory = [iodir, homedir, !path] $ 13 , title = 'Where is '+file+' ?', /recursive) 12 file = isafile(file, title = 'Where is '+file+' ?', /lookalldir) 14 13 IF size(file, /type) NE 7 THEN return 15 14 ; … … 19 18 domdef 20 19 domdef, gdept[0], gdept[0], grille = 'T' 21 temp = read_ncdf('votemper', 10101, 10131, file = file)20 temp = read_ncdf('votemper', 00101, 00131, file = file) 22 21 ; 23 22 plt, temp, /landscape … … 76 75 ; domdef, 150, 150 ; => warning message 77 76 domdef, gdept[jpk/2], gdept[jpk/2], grille = 'T' 78 temp = read_ncdf('votemper', 10101, 10131, file = file)77 temp = read_ncdf('votemper', 00101, 00131, file = file) 79 78 plt, temp, carte = 2*(key_onearth), /land 80 79 if keyword_set(image) then saveimage, 'tst_plt_'+image+'_'+string(cnt, format='(i2.2)')+'.png', /png -
trunk/SRC/Tests/TestsOld/tst_pltt_old.pro
r57 r77 11 11 720+510:file = 'Levitus98_1m_01_12_Temperature_Pot_ORCA05.nc' 12 12 ENDCASE 13 file = isafile(file, iodirectory = [iodir, homedir, !path] $ 14 , title = 'Where is '+file+' ?', /recursive) 13 file = isafile(file, title = 'Where is '+file+' ?', /lookalldir) 15 14 IF size(file, /type) NE 7 THEN return 16 15 ; … … 23 22 ELSE domdef, min(glamt), max(glamf), jpj/2-1, jpj/2+1, 0, gdept[0] 24 23 ; 25 temp = read_ncdf('votemper', 10101, 11231, file = file)24 temp = read_ncdf('votemper', 00101, 01231, file = file) 26 25 IF key_forgetold THEN help, temp.arr ELSE help, temp.tab 27 26 help, jpt, time … … 57 56 , gdept[10 < (jpk-1)], gdept[10 < (jpk-1)], grille = 'T', /yindex 58 57 ENDELSE 59 temp = read_ncdf('votemper', 10101, 11231, file = file)58 temp = read_ncdf('votemper', 00101, 01231, file = file) 60 59 IF key_forgetold THEN help, temp.arr ELSE help, temp.tab 61 60 pltt, temp … … 74 73 ENDELSE 75 74 76 temp = read_ncdf('votemper', 10101, 11231, file = file)75 temp = read_ncdf('votemper', 00101, 01231, file = file) 77 76 IF key_forgetold THEN help, temp.arr ELSE help, temp.tab 78 77 pltt, temp -
trunk/SRC/Tests/TestsOld/tst_pltz_old.pro
r57 r77 13 13 720+510:file = 'Levitus98_1m_01_12_Temperature_Pot_ORCA05.nc' 14 14 ENDCASE 15 file = isafile(file, iodirectory = [iodir, homedir, !path] $ 16 , title = 'Where is '+file+' ?', /recursive) 15 file = isafile(file, title = 'Where is '+file+' ?', /lookalldir) 17 16 IF size(file, /type) NE 7 THEN return 18 17 ; … … 20 19 ELSE domdef, min(glamt), max(glamf), jpj/2-1, jpj/2+1, 0, max(gdept) 21 20 ; 22 temp = read_ncdf('votemper', 10101, 10131, file = file)21 temp = read_ncdf('votemper', 00101, 00131, file = file) 23 22 IF key_forgetold THEN help, temp.arr ELSE help, temp.tab 24 23 ; … … 73 72 ENDELSE 74 73 75 temp = read_ncdf('votemper', 10101, 11231, file = file)74 temp = read_ncdf('votemper', 00101, 01231, file = file) 76 75 pltz, temp, boite = [6000], zoom = 1000, ysurx = 2, hzsurht = .5 77 76 if keyword_set(image) then saveimage, 'tst_pltz_'+image+'_'+string(cnt, format = '(i2.2)')+'.png', /png $ … … 84 83 ELSE endpoints = [jpi/6, jpj/3, 5*jpi/6, 2*jpj/3] 85 84 domdef, endpoints = endpoints, type = 'pltz' 86 temp = read_ncdf('votemper', 10101, 10131, file = file)85 temp = read_ncdf('votemper', 00101, 00131, file = file) 87 86 pltz, temp, endpoints = endpoints 88 87 if keyword_set(image) then saveimage, 'tst_pltz_'+image+'_'+string(cnt, format = '(i2.2)')+'.png', /png $ … … 95 94 ELSE endpoints = [jpi/2+0.25, +0.25, jpi/2+0.25, jpj] 96 95 domdef, 6000, endpoints = endpoints, type = 'pltz' 97 temp = read_ncdf('votemper', 10101, 10131, file = file)96 temp = read_ncdf('votemper', 00101, 00131, file = file) 98 97 pltz, temp, endpoints = endpoints, boite = [6000] $ 99 98 , zoom = 1000, ysurx = 2, hzsurht = .5 ; , /showbuild … … 108 107 ELSE box = [0, jpi-1, jpj/2, jpj/2, 0, 6000] 109 108 domdef, box, grille = 'T' 110 temp = read_ncdf('votemper', 10101, 10131, file = file)109 temp = read_ncdf('votemper', 00101, 00131, file = file) 111 110 pltz, temp, boite = [6000], /portrait, petit = [1, 2, 1] $ 112 111 , zoom = 500, hzsurht = .5 … … 115 114 ELSE endpoints = [0, jpj/2, jpi-1, jpj/2] 116 115 domdef, 6000, endpoints = endpoints, type = 'pltz', grille = 'T' 117 temp = read_ncdf('votemper', 10101, 10131, file = file)116 temp = read_ncdf('votemper', 00101, 00131, file = file) 118 117 pltz, temp, endpoints = endpoints, boite = [6000] $ 119 118 , zoom = 500, hzsurht = .5 $
Note: See TracChangeset
for help on using the changeset viewer.