map error

From: Michael Notaro <mnotaro_at_nyahnyahspammersnyahnyah>
Date: Wed, 24 Jun 2009 15:07:54 -0500

Hello. I'm trying to plot data over Wisconsin only, with the other
states left empty,
and the map including the WI counties. But I get this error, when
using Ncarg4_1
and Earth.2. Any idea how to get around this?

Thanks, Michael

Error message:
warning:MapV41DHUpdateDrawList: invalid boundary specification
string: "allusstates"
warning:MapV41DHUpdateDrawList: invalid boundary specification
string: "us-wisconsin"

   res = True
   res_at_gsnDraw = False
   res_at_gsnFrame = False
   res_at_cnFillOn = True
   res_at_cnLinesOn = False
   res_at_cnLevelSelectionMode = "ExplicitLevels"
   res_at_cnLevels = (/-1.05,-.7,-.35,0.,.35,.7,1.05/)
   res_at_cnFillColors=(/44,78,100,130,176,188,203,237/)
   res_at_tiMainFontHeightF = 0.035
   res_at_tmYROn = False
   res_at_tmXTOn = False
   res_at_pmLabelBarDisplayMode = True
   res_at_lbOrientation = "vertical"
   res_at_mpMinLatF = min(lat)
   res_at_mpMaxLatF = max(lat)
   res_at_mpMinLonF = min(lon)
   res_at_mpMaxLonF = max(lon)
   res_at_mpCenterLonF = avg(lon)
   res_at_mpOutlineBoundarySets = "AllBoundaries"
   res_at_mpGeophysicalLineThicknessF = 2.5
   res_at_gsnAddCyclic=False
   res_at_cnFillDrawOrder = "PreDraw"
   res_at_mpInlandWaterFillColor = 238
   res_at_mpLandFillColor = -1
   res_at_mpDataBaseVersion = "Ncarg4_1"
   res_at_mpDataSetName = "Earth..2"

   mask_areas = "US-" + (/"Wisconsin"/)
   res_at_mpFillDrawOrder = "PostDraw"
   res_at_mpFillAreaSpecifiers = (/"AllUSStates","Land","Water"/)
   res_at_mpSpecifiedFillColors = (/"white","white","white"/)
   res_at_mpMaskAreaSpecifiers = mask_areas

   res_at_mpUSStateLineThicknessF=2.5
   res_at_tiMainString = "Ann Avg T(C) Obs 1950-2007"
   plot(0) = gsn_csm_contour_map_ce(wks,trendavg, res)

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Jun 24 2009 - 14:07:54 MDT

This archive was generated by hypermail 2.2.0 : Thu Jun 25 2009 - 06:30:15 MDT