Fw: Cannot seem to expand horizontal (x-axis) margin for color contour map

From: <McCormick.JohnW_at_nyahnyahspammersnyahnyah>
Date: Thu, 24 Sep 2009 13:11:07 -0400


John W. McCormick, Systems Programmer / DBA
High Performance Computing & Scientific Visualization
Lockheed Martin Information Technology, Supporting the EPA
Research Triangle Park, NC
919-541-0890

Federal Infrastructure Contact - Ravi Nair
919-541-5467    -  nair.ravi@epa.gov
Federal Infrastructure Contact - Joe Retzer, Ph.D.
919-541-4190    -  retzer.joseph@epa.gov

############################################
###                       Work Information  - (Signature)           ###
############################################
John W. McCormick, Systems Programmer,   MD: N127-01
Lockheed Martin, Contractor to US-EPA
US-EPA, Bldg NCC, Rm N135B
Durham, NC 27711
Office:  919-541-0890
Fax   :  919-541-0056
Work Email:  mccormick.johnw@epa.gov
 
In the following cshell script, I have imbedded an NCL script that extracts out temperature values and plots them on a color contour map (of Northern Gulf) along the Southern US coastal border.  The main problem is that the contour map (that is generated by the embedded NCL script) cannot seem to be widened along the horizontal (left and right) map borders.  I have tried many ways in setting the various aspect ratio widths (and height) but have not succeeded in getting the width large enough so that the vertical labels don't seem to be so "crowded" into (what I call the "canvas" of the map).   Do you have any suggestions?  
 
Just a note:  --- I don't seem to have as much of a problem with the height (top and bottom margins) in having or creating room for the labels and legends.
 
##################################################################
##
##  Script shown below:
##
##
##################################################################
 
#!/bin/csh
echo "##############################################################"
echo "##### "$0
echo "##### "$1
echo "##############################################################"
set FileName77 = $1
set Year77     = `echo $FileName77 | cut -c5-8`
echo "##############################################################"
echo "##"
echo "## Year is: $Year77"
echo "##"
echo "##############################################################"
set Month77     = `echo $FileName77 | cut -c9-10`
echo "##############################################################"
echo "##"
echo "## Month is: $Month77"
echo "##"
echo "##############################################################"
set Day77     = `echo $FileName77 | cut -c11-12`
echo "##############################################################"
echo "##"
echo "## Day77 is: $Day77"
echo "##"
echo "##############################################################"
set Hour77     = `echo $FileName77 | cut -c13-14`
echo "##############################################################"
echo "##"
echo "## Hour77 is: $Hour77"
echo "##"
echo "##############################################################"
set File_Name_Arg1 = 'FileName99="'"$FileName77"'"'
set File_Name_Arg2 = Year99="$Year77"
set File_Name_Arg3 = Month99="$Month77"
set File_Name_Arg4 = Day99="$Day77"
set File_Name_Arg5 = Hour99="$Hour77"
/usr/local/ncl_ncarg/bin/ncl \
$File_Name_Arg1 \
$File_Name_Arg2 \
$File_Name_Arg3 \
$File_Name_Arg4 \
$File_Name_Arg5 \
 << EEOOFF
;*************************************************
; 20090730_testncl00.ncl
;************************************************
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl"
;************************************************
begin
print(FileName99)
print(Year99)
print(Month99)
print(Day99)
print(Hour99)
  MonthAA = (/" ","Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"/)
  NumberArray = (/"00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32"/)
  HourAA = (/"00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","00"/)
  Depth99=(/"0.0","2.5","5.0","7.5","10.0","15.0","20.0","25.0","30.0","35.0","40.0","45.0","50.0","60.0","70.0","80.0","90.0","100.0","125.0","150.0","200.0","250.0","300.0","400.0","500.0","600.0","700.0","800.0","900.0","1000.0"/)
;************************************************
; read in netCDF file
;************************************************
  nc_file_in ="/amber/home/jpu/GulfBreeze/"+FileName99
; a = addfile("/amber/home/jpu/GulfBreeze/t3d_2009061100_nc_ascii.nc","r")
  a = addfile(nc_file_in,"r")
;************************************************
; read in zonal [u] and meridional [v] winds
;************************************************
do idepth = 0,30
  T = a->temp(0,idepth,:,:)        ; (time,lev,lat,lon)
; T = a->temp(:,:,:,:)        ; (time,lev,lat,lon)
; T = a->temp(:,:,:,:)        ; (time,lev,lat,lon)
  lon = a->lon
  lat = a->lat
  dep = a->dep
 

;************************************************
; open ps (output) file and create plot
;************************************************
;wks = gsn_open_wks("ps","ocean"+Depth99(idepth))                  ; open ps file
wks = gsn_open_wks("png","t3d_"+Year99+NumberArray(Month99)+NumberArray(Day99)+NumberArray(Hour99)+"_nc_ascii"+Depth99(idepth)+"TEST") ; open png file
; wks = gsn_open_wks("x11","max")
; wks = gsn_open_wks("x11","ce")

; gsn_define_colormap(wks,"BlAqGrYeOrRe")        ; choose colormap
  gsn_define_colormap(wks,"rainbow")             ; choose colormap
; gsn_define_colormap(wks,"gui_default")         ; choose colormap
; ###############################################################
; ##
; ## Lat-Lon Lines Overlay
; ##
; ###############################################################
  conres                 = True
; conres@tiMainString          = "Plot_Base"   ; add titles
; conres@gsnMaximize           = True     ; Maximize plot in frame
  conres@gsnDraw          = False
  conres@gsnFrame         = False
  conres@sfXArray              = lon
  conres@sfYArray              = lat
  conres@gsnMajorLatSpacing    = 5              ; change maj lat tm spacing
  conres@gsnMajorLonSpacing    = 5              ; change maj lon tm spacing
  conres@mpMinLatF             =  27.5                ; map area
  conres@mpMaxLatF             =  30.7                ; map area
  conres@mpMinLonF             = -92.2
  conres@mpMaxLonF             = -86.0
  conres@mpGridLineColor       =  3                 ; Turn on grid lat/lon lines
  conres@mpGridSpacingF        =  1.0               ; lat/lon lines every 2 deg
  conres@mpGridLineDashPattern   =  2               ; lat/lon lines as dashed
  conres@txFontHeightF         = 0.03
  conres@tmYLLabels             = (/"28N","29N","30N"/)
  conres@tmYLValues             = (/28,29,30/)
  conres@mpOutlineBoundarySets =  "Geophysical"
  conres@mpGeophysicalLineColor = "black"
  conres@mpGeophysicalLineThicknessF   = 4.0
  conres@mpFillBoundarySets = "GeophysicalAndUSStates" ; state boundaries
  conres@mpLandFillColor        = "red"
  conres@mpNationalLineColor          = 5
  conres@mpNationalLineThicknessF     = 5.2
  conres@mpUSStateLineColor          = "Background"
  conres@mpUSStateLineThicknessF     = 4.0
  conres@mpUSStateLineColor    = "white"          ; sets color of US State boundaries
  conres@mpShapeMode            = "FreeAspect"
  conres@tmXBValues             = (/-92,-91,-90,-89,-88,-87,-86/)
  conres@tmXBLabels             = (/"92W","91W","90W","89W","88W","87W","86W"/)
  conres@mpFillOn                = True
  conres@mpGridAndLimbOn         = True               ; lat/lon lines on
  conres@vpWidthF              = 0.65
  conres@vpHeightF             = 0.65
  conres@vpXF       = 0.15
  conres@vpYF       = 0.85
  plot_base1 = gsn_csm_map(wks,conres)
; draw(plot_base1)
; frame(wks)

  res              = True
; ###############################################################
; gsn Stuff
; ###############################################################
; res@gsnMaximize           = True     ; Maximize plot in frame
  res@gsnSpreadColors       = True       ; use full colormap
  res@gsnMajorLatSpacing    = 1              ; change maj lat tm spacing
  res@gsnMajorLonSpacing    = 1              ; change maj lon tm spacing
  res@gsnDraw               = False      ;  draw picture
  res@gsnFrame              = False      ;  advance frame
  res@gsnContourZeroLineThicknessF = 3.5
; res@gsnPaperOrientation   = "Landscape"
; res@gsnPaperHeight        = 11.0
; res@gsnPaperMargin        = 0.09
; res@gsnOrientation   = "auto"
  res@gsnLeftString               = "Date- "+Year99+"-"+MonthAA(Month99)+"-"+Day99   ; right string title
  res@gsnLeftStringFontHeightF   = .025
  res@gsnRightString              = "Hour- "+HourAA(Hour99)+" GMT"  ;right string title
  res@gsnRightStringFontHeightF   = .025
; res@gsnMaskLambertConformal      = True
  res@gsnBoxMargin                 = 0.94
; ###############################################################
; cn Stuff
; ###############################################################
  res@cnLevelSelectionMode = "ManualLevels"     ; set manual contour levels
  res@cnMinLevelValF        =   0.               ; set min contour level
  res@cnMaxLevelValF        =  30.               ; set max contour level
  res@cnLevelSpacingF       =  2.0               ; set contour spacing
  res@cnLinesOn             = True               ; contour lines
  res@cnFillOn              = True               ; turn on color fill
  res@cnLineLabelBackgroundColor = 0           ; white bckgrnd around label
  res@cnFillDrawOrder              = "PreDraw"  ; Put continents on top
  res@cnMissingValFillColor        = "black"
  res@cnMissingValFillPattern      = 16
  res@cnLineLabelsOn               = False       ; turn line labels off
; ###############################################################
; lb Stuff
; ###############################################################
  res@lbLabelStride             = 1                 ; stride on label bar
  res@lbOrientation             = "vertical"      ; ncl default is vertical
  res@lbTitleString             = "Color Table (Temp. in Degrees, C.) "
  res@lbTitlePosition           = "Right"
  res@lbTitleOffsetF            = 0.05
  res@lbTitleAngleF             = 90.0
  res@lbTitleDirection          = "Up"
  res@lbLabelFontHeightF        = .022
  res@lbLabelOffsetF            = 0.05
  res@lbTitleFontHeightF        = .030
  res@lbFillScaleF              = True
; res@lbAutoManage              = True
; ###############################################################
; sf Stuff
; ###############################################################
  res@sfXArray              = lon
  res@sfYArray              = lat
; ###############################################################
; mp Stuff
; ###############################################################
  res@mpFillOceanColor        =  0      ; (white)
  res@mpDefaultFillColor     = 16
  res@mpFillColors           = (/0,0,0,0/)  ;globe is filled white
  res@mpFillOn                = True
  res@mpOutlineOn           = True              ; turn on map outline
  res@mpMaskAreaSpecifiers = "USStatesLand"
; res@mpGridAndLimbOn         = True               ; lat/lon lines on
; res@mpGridLineColor         =  1                 ; Turn on grid lat/lon lines
; res@mpGridSpacingF          =  1.0               ; lat/lon lines every 2 deg
; res@mpGridLineDashPattern   =  2                  ; lat/lon lines as dashed
  res@mpTickMarkDisplayMode   = "Always"           ; turn on tickmarks
  res@mpProjection            = "CylindricalEquidistant"
  res@mpUSStateLineColor      = "white"          ; sets color of US State boundaries
 
 
 
  res@mpMinLatF               =  27.5                ; map area
  res@mpMaxLatF               =  30.7                ; map area
  res@mpMinLonF               = -92.2
  res@mpMaxLonF               = -86.0
  res@mpOutlineBoundarySets    =  "Geophysical"
  res@mpGeophysicalLineColor   = "(/255,0,0/)"
  res@mpGeophysicalLineThicknessF   = 3.0
  res@mpNationalLineColor          = "(/0,255,0/)"
  res@mpNationalLineThicknessF     = 4.0
  res@mpUSStateLineColor          = "Foreground"
  res@mpUSStateLineDashPattern    = "SolidLine"
  res@mpUSStateLineThicknessF     = 3.0
  res@mpLandFillColor          = "white"       ; set to white
  res@mpShapeMode              = "FreeAspect"
  res@mpFillBoundarySets       = "National" ; state boundaries

; ###############################################################
; pm Stuff
; ###############################################################
  res@pmLabelBarOrthogonalPosF     = .06   ; move label bar down
; ###############################################################
; ti Stuff
; ###############################################################
  res@tiMainString          = "Northern Gulf of Mexico Model Output  "   ; add titles
  res@tiMainFontHeightF     = .031
  res@tiXAxisString         = "Longitude (Degrees W.);  [Depth from MSL] = "+Depth99(idepth)+" meters"
; res@tiXAxisString         = "Longitude (Degrees W.);  [Level from Sea-Level] = 0)"
  res@tiXAxisFontHeightF    = 0.027                ; resize tick
  res@tiXBLabelFontHeightF = 0.022                 ; resize tick labels
  res@tiXAxisOffsetYF       = -0.08
  res@tiXAxisOffsetXF       = 0.03
  res@tiYAxisString         = "Latitude (Degrees N.) "
  res@tiYBLabelFontHeightF = 0.022
  res@tiYAxisFontHeightF    = 0.028                ; resize tick
  res@tiYAxisOffsetYF       = 0.04
  res@tiYAxisOffsetXF       = -0.07

; ###############################################################
; tm Stuff
; ###############################################################
  res@txFontHeightF         = 0.02
; res@tmYUseRight           = True
; res@tmYRMode              = "EXPLICIT"

; res@tmYLMode              = False
  res@tmYLMajorOutwardLengthF = 0.0
  res@tmYLMinorOutwardLengthF = 0.0
  res@tmYLValues             = (/28,29,30/)
  res@tmYLLabels             = "" + res@tmYLValues

; res@tmXBMode              = "Explicit"
; res@tmXBMajorOn            = True
  res@tmXBMajorLengthF       = 0.00
  res@tmXBMinorLengthF       = 0.00
  res@tmXBLabelsOn           = True
 
 
 
 
 
 
  res@tmXBValues             = (/-92,-91,-90,-89,-88,-87,-86/)
  res@tmXBLabels             = (/"92W","91W","90W","89W","88W","87W","86W"/)
  res@tmXBMajorLineColor     = "red"
; ###############################################################
; vp Stuff
; ###############################################################
  res@vpWidthF              = 0.65
  res@vpHeightF             = 0.65
  res@vpXF       = 0.15
  res@vpYF       = 0.85
; T@missing_value = -99
  T@_FillValue = -99
; plot_temp1 = gsn_csm_contour(wks,T(0,1,:,:),res)
; overlay(plot_base, plot_temp1)
; draw(plot_base)
; frame (wks)
; plot_temp2 = gsn_csm_contour(wks,T(0,2,:,:),res)
; overlay(plot_base, plot_temp2)
; draw(plot_base)
; frame (wks)
; plot_temp3 = gsn_csm_contour(wks,T(0,3,:,:),res)
; overlay(plot_base, plot_temp3)
; draw(plot_base)
; frame (wks)
  plot_temp99 = gsn_csm_contour(wks,T,res)
; overlay(plot_base1, plot_base2)
  overlay(plot_base1, plot_temp99)
  draw(plot_base1)
  frame (wks)
; plot=gsn_csm_contour(wks,T,res)          ; create plot
; plot2=gsn_csm_contour_map_ce(wks,T(0,idepth,:,:),res)          ; create plot
; plotlat = gsn_csm_map(wks,conres)  ; create contours of apexlat
; plotlon = gsn_csm_map(wks,conres)  ; create contours of apexlat
; overlay(plotlat,plotlon)
; overlay(plot,plotlat)
; draw(plot)
; frame (wks)
; plot_map=gsn_csm_contour_map(wks,T,res)            ; create plot
; plot=gsn_csm_contour_map(wks,T,res)            ; create plot
; genCmapMnMxSpan (wks, plot, "Blue" , "Red")   ; create color map
  end do
end
EEOOFF
############################################################
##
##  End of NCL Script
##
############################################################
 
 
 
## set Year77
## set Month77
## set Day77
## set Hour77
set DepthArray = ("0.0" "2.5" "5.0" "7.5" "10.0" "15.0" "20.0" "25.0" "30.0" "35.0" "40.0" "45.0" "50.0" "60.0" "70.0" "80.0" "90.0" "100.0" "125.0" "150.0" "200.0" "250.0" "300.0" "400.0" "500.0" "600.0" "700.0" "800.0" "900.0" "1000.0")
set Month77 = `printf "%02.0f" $Month77`
set Day77 = `printf "%02.0f" $Day77`
set Hour77 = `printf "%02.0f" $Hour77`
set local_dir = "/amber/home/jpu/GulfBreeze/"
set remote_dir = "/home/mccormik/GulfBreeze/"
set RemFileName01 = "/home/mccormik/GulfBreeze/20090921Depth0000.0/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[1]"TEST.png"
set LocFileName01 = "/amber/home/jpu/GulfBreeze/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[1]"TEST.png"

set RemFileName02 = "/home/mccormik/GulfBreeze/20090921Depth0002.5/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[2]"TEST.png"
set LocFileName02 = "/amber/home/jpu/GulfBreeze/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[2]"TEST.png"

set RemFileName03 = "/home/mccormik/GulfBreeze/20090921Depth0005.0/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[3]"TEST.png"
set LocFileName03 = "/amber/home/jpu/GulfBreeze/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[3]"TEST.png"
 
set RemFileName04 = "/home/mccormik/GulfBreeze/20090921Depth0007.5/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[4]"TEST.png"
set LocFileName04 = "/amber/home/jpu/GulfBreeze/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[4]"TEST.png"

set RemFileName05 = "/home/mccormik/GulfBreeze/20090921Depth0010.0/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[5]"TEST.png"
set LocFileName05 = "/amber/home/jpu/GulfBreeze/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[5]"TEST.png"

set RemFileName06 = "/home/mccormik/GulfBreeze/20090921Depth0015.0/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[6]"TEST.png"
set LocFileName06 = "/amber/home/jpu/GulfBreeze/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[6]"TEST.png"

set RemFileName07 = "/home/mccormik/GulfBreeze/20090921Depth0020.0/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[7]"TEST.png"
set LocFileName07 = "/amber/home/jpu/GulfBreeze/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[7]"TEST.png"

set RemFileName08 = "/home/mccormik/GulfBreeze/20090921Depth0025.0/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[8]"TEST.png"
 
set LocFileName08 = "/amber/home/jpu/GulfBreeze/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[8]"TEST.png"

set RemFileName09 = "/home/mccormik/GulfBreeze/20090921Depth0030.0/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[9]"TEST.png"
set LocFileName09 = "/amber/home/jpu/GulfBreeze/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[9]"TEST.png"
set RemFileName10 = "/home/mccormik/GulfBreeze/20090921Depth0035.0/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[10]"TEST.png"
set LocFileName10 = "/amber/home/jpu/GulfBreeze/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[10]"TEST.png"

set RemFileName11 = "/home/mccormik/GulfBreeze/20090921Depth0040.0/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[11]"TEST.png"
set LocFileName11 = "/amber/home/jpu/GulfBreeze/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[11]"TEST.png"

set RemFileName12 = "/home/mccormik/GulfBreeze/20090921Depth0045.0/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[12]"TEST.png"
set LocFileName12 = "/amber/home/jpu/GulfBreeze/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[12]"TEST.png"

set RemFileName13 = "/home/mccormik/GulfBreeze/20090921Depth0050.0/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[13]"TEST.png"
set LocFileName13 = "/amber/home/jpu/GulfBreeze/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[13]"TEST.png"

set RemFileName14 = "/home/mccormik/GulfBreeze/20090921Depth0060.0/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[14]"TEST.png"
set LocFileName14 = "/amber/home/jpu/GulfBreeze/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[14]"TEST.png"

set RemFileName15 = "/home/mccormik/GulfBreeze/20090921Depth0070.0/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[15]"TEST.png"
set LocFileName15 = "/amber/home/jpu/GulfBreeze/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[15]"TEST.png"

set RemFileName16 = "/home/mccormik/GulfBreeze/20090921Depth0080.0/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[16]"TEST.png"
set LocFileName16 = "/amber/home/jpu/GulfBreeze/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[16]"TEST.png"

set RemFileName17 = "/home/mccormik/GulfBreeze/20090921Depth0090.0/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[17]"TEST.png"
set LocFileName17 = "/amber/home/jpu/GulfBreeze/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[17]"TEST.png"
 
 
set RemFileName18 = "/home/mccormik/GulfBreeze/20090921Depth0100.0/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[18]"TEST.png"
set LocFileName18 = "/amber/home/jpu/GulfBreeze/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[18]"TEST.png"

set RemFileName19 = "/home/mccormik/GulfBreeze/20090921Depth0125.0/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[19]"TEST.png"
set LocFileName19 = "/amber/home/jpu/GulfBreeze/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[19]"TEST.png"

set RemFileName20 = "/home/mccormik/GulfBreeze/20090921Depth0150.0/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[20]"TEST.png"
set LocFileName20 = "/amber/home/jpu/GulfBreeze/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[20]"TEST.png"

set RemFileName21 = "/home/mccormik/GulfBreeze/20090921Depth0200.0/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[21]"TEST.png"
set LocFileName21 = "/amber/home/jpu/GulfBreeze/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[21]"TEST.png"

set RemFileName22 = "/home/mccormik/GulfBreeze/20090921Depth0250.0/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[22]"TEST.png"
set LocFileName22 = "/amber/home/jpu/GulfBreeze/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[22]"TEST.png"

set RemFileName23 = "/home/mccormik/GulfBreeze/20090921Depth0300.0/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[23]"TEST.png"
set LocFileName23 = "/amber/home/jpu/GulfBreeze/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[23]"TEST.png"

set RemFileName24 = "/home/mccormik/GulfBreeze/20090921Depth0400.0/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[24]"TEST.png"
set LocFileName24 = "/amber/home/jpu/GulfBreeze/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[24]"TEST.png"

set RemFileName25 = "/home/mccormik/GulfBreeze/20090921Depth0500.0/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[25]"TEST.png"
set LocFileName25 = "/amber/home/jpu/GulfBreeze/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[25]"TEST.png"

set RemFileName26 = "/home/mccormik/GulfBreeze/20090921Depth0600.0/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[26]"TEST.png"
set LocFileName26 = "/amber/home/jpu/GulfBreeze/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[26]"TEST.png"
 
 
set RemFileName27 = "/home/mccormik/GulfBreeze/20090921Depth0700.0/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[27]"TEST.png"
set LocFileName27 = "/amber/home/jpu/GulfBreeze/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[27]"TEST.png"

set RemFileName28 = "/home/mccormik/GulfBreeze/20090921Depth0800.0/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[28]"TEST.png"
set LocFileName28 = "/amber/home/jpu/GulfBreeze/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[28]"TEST.png"

set RemFileName29 = "/home/mccormik/GulfBreeze/20090921Depth0900.0/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[29]"TEST.png"
set LocFileName29 = "/amber/home/jpu/GulfBreeze/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[29]"TEST.png"

set RemFileName30 = "/home/mccormik/GulfBreeze/20090921Depth1000.0/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[30]"TEST.png"
set LocFileName30 = "/amber/home/jpu/GulfBreeze/t3d_"$Year77$Month77$Day77$Hour77"_nc_ascii"$DepthArray[30]"TEST.png"

/usr/bin/sftp mccormik@palm.nesc.epa.gov <<EOF09
bin
hash
bell
put $LocFileName01 $RemFileName01
put $LocFileName02 $RemFileName02
put $LocFileName03 $RemFileName03
put $LocFileName04 $RemFileName04
put $LocFileName05 $RemFileName05
put $LocFileName06 $RemFileName06
put $LocFileName07 $RemFileName07
put $LocFileName08 $RemFileName08
put $LocFileName09 $RemFileName09
put $LocFileName10 $RemFileName10
put $LocFileName11 $RemFileName11
put $LocFileName12 $RemFileName12
put $LocFileName13 $RemFileName13
put $LocFileName14 $RemFileName14
put $LocFileName15 $RemFileName15
put $LocFileName16 $RemFileName16
put $LocFileName17 $RemFileName17
put $LocFileName18 $RemFileName18
put $LocFileName19 $RemFileName19
put $LocFileName20 $RemFileName20
put $LocFileName21 $RemFileName21
put $LocFileName22 $RemFileName22
put $LocFileName23 $RemFileName23
put $LocFileName24 $RemFileName24
put $LocFileName25 $RemFileName25
put $LocFileName26 $RemFileName26
put $LocFileName27 $RemFileName27
put $LocFileName28 $RemFileName28
put $LocFileName29 $RemFileName29
put $LocFileName30 $RemFileName30
bye
EOF09
exit(99)

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Sep 24 2009 - 11:11:07 MDT

This archive was generated by hypermail 2.2.0 : Thu Sep 24 2009 - 13:55:09 MDT