Hi Jeff,
I just tried the following:
res = True
res_at_mpMinLatF = 30.
res_at_mpMaxLatF = 43.
res_at_mpMinLonF = 235.
res_at_mpMaxLonF = 246.
res_at_mpFillOn= False
ca_counties = (/"El Dorado","Del Norte"/)
res_at_mpDataSetName = "Earth..2"
res_at_mpDataBaseVersion = "Ncarg4_1"
res_at_mpOutlineBoundarySets = "NoBoundaries"
res_at_mpOutlineSpecifiers = "California . "+ca_counties
plot = gsn_csm_map_ce(wks,res)
and it works for me. I'm sure you have, but I would check your list
again and make sure there are no misspellings or anything.
Just so you know, in the next version of NCL (due to be released next
week I believe), instead of listing every county, you can just say:
res_at_mpOutlineSpecifiers = "California . counties"
and all the California counties are drawn. This also goes for "Canada .
provinces" and "Mexico . states"
Anyway, let us know if you continue to have problems...
Adam
Jeff Van Dorn wrote:
> Hello,
>
> I'm just trying to plot some data inside California, but I don't want
> Nevada or other surrounding states to show up in the plot.
>
> I can do that via:
>
> res_at_mpOutlineOn = True
> res_at_mpPerimOn = True
> res_at_mpOutlineBoundarySets = "NoBoundaries"
> res_at_mpDataBaseVersion = "mediumres"
> res_at_mpOutlineSpecifiers = "California"
> plot = gsn_csm_contour_map_ce(wks,data,res)
>
> and that works just fine. However, I'd also like to have California's
> counties outlined as well. I was trying to do as this examples does:
>
> http://www.ncl.ucar.edu/Applications/Scripts/maponly_10.ncl (as it
> only draws counties for FL)
>
> So, I've tried:
> ca_counties = (/"list all 58 counties here"/)
> res_at_mpDataSetName = "Earth..2"
> res_at_mpOutlineBoundarySets = "NoBoundaries"
> res_at_mpOutlineSpecifiers = "California . " + ca_counties
> plot = gsn_csm_contour_map_ce(wks,data,res)
>
> But using that approach doesn't quite work as there isn't a completely
> closed outline of CA (notably around Lake Tahoe and the upper northwest
> corner, see attached, those areas are Del Norte and El Dorado counties,
> which are in my list of counties). Those areas are fine with I only
> plot the state by itself.
>
> So, I'm certainly doing something wrong and I'm hoping that someone can
> point out to me what that is.
>
> Thanks for any suggestions,
> Jeff
>
> ------------------------------------------------------------------------
>
> .
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-- -------------------------------------------------------------- Adam Phillips asphilli_at_ucar.edu National Center for Atmospheric Research tel: (303) 497-1726 ESSL/CGD/CAS fax: (303) 497-1333 P.O. Box 3000 Boulder, CO 80307-3000 http://www.cgd.ucar.edu/cas/asphilli _______________________________________________ ncl-talk mailing list ncl-talk_at_ucar.edu http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Thu Sep 21 2006 - 17:02:13 MDT
This archive was generated by hypermail 2.2.0 : Mon Sep 25 2006 - 11:45:07 MDT