;; bsub -Is -q geyser -W 4:00 -n 1 -P P35171148 ncl< JRA25.ncl ;; On yellowstone: ; OLD method from DSS ;; copy from glade ... ;; /glade/p/rda/data/ds625.0.fcst_phy2m/1979/197901.fcst_phy2m.subc60.tar ;; note that JPL's tars are named 197901.fcst_phy2m.tar, and that ;; their lat,lon values are slightly off from NCAR's version ;; hsi get /DSS/DS625.0/fcst_phy2m/1979/'*subc60.tar' . ;;tar -xvf 197901.fcst_phy2m.subc60.tar ;;tar -xvf 197902.fcst_phy2m.subc60.tar ;;tar -xvf 197903.fcst_phy2m.subc60.tar ;;tar -xvf 197904.fcst_phy2m.subc60.tar ;;tar -xvf 197905.fcst_phy2m.subc60.tar ;;tar -xvf 197906.fcst_phy2m.subc60.tar ;;tar -xvf 197907.fcst_phy2m.subc60.tar ;;tar -xvf 197908.fcst_phy2m.subc60.tar ;;tar -xvf 197909.fcst_phy2m.subc60.tar ;;tar -xvf 197910.fcst_phy2m.subc60.tar ;;tar -xvf 197911.fcst_phy2m.subc60.tar ;;tar -xvf 197912.fcst_phy2m.subc60.tar ;;mv 1979*/* . ;;rm *tar ;;rmdir 1979* ;; ncl$vars3d(nv)$ ;printVarSummary( x ) x = x*scalef(nv) + offset(nv) X = x(::-1,:) ; leftmost dimension is slowest varying dimx = dimsizes( X ) fbindirwrite(filbin, X ) ; write to binary file end do delete( x ) ; may change size on the next delete( X ) ; iterations due to different end do ;----------------------------------------------------------------- ; Remove the current year of files ... then return and read next 12 files ;----------------------------------------------------------------- ; SYS_RM = "/bin/rm Uroot+"*" ; print ( SYS_RM ) ;; system( SYS_RM ) ; not until debugged