Hi James,
That is strange, I am currently working on a script where I am doing a
similar thing and I am not getting any errors. Here is a section of my
script:
sres = True
....
sres_at_cnLevelSelectionMode = "ExplicitLevels"
sres_at_cnLevels=(/-50.,-40.,-30.,-20.,-10.,-5.,0.,5.,10.,20.,30.,40.,50./)
res = True
res_at_cnLevelSelectionMode = "ExplicitLevels"
res_at_cnLevels = ispan(5000,6000,50)
map = gsn_csm_contour_map_overlay(wks,obs_r,obsclimoDJF,sres,res)
Are you getting any other errors? If you could include your script in
your reply that might help us diagnose the problem...
Adam
James F Drake wrote:
>
> How can I set contour attributes with gsn_csm_contour_map_overlay? I
> try to set them on the first and second resource arguments with:
> res_at_cnLevelSelectionMode = "AutomaticLevels"
> res_at_cnLevelSpacingF = 2.0 ; contour interval
> ...
> res1 = True
> res1_at_cnLevelSelectionMode = "ExplicitLevels"
>
> But get the warnings
>
> warning:cnLevelSelectionMode is not a valid resource in conq2_stream at
> this time
> warning:cnLevelSpacingF is not a valid resource in conq2_stream at this
> time
>
> The plot that gets drawn is missing the contours as well as a coastline.
>
> What's the matter and is there any way I could figure this out on my own?
>
> James F. Drake
> Mission Data Exploitation
> Meteorological Satellite Systems
> The Aerospace Corporation
> HQ/AFWA
> 106 Peacekeeper Dr., Ste. 2N3
> Offutt AFB, NE 68113-4039
>
> Phone: 402-292-1274
> Fax: 402-291-3137
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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 Oct 11 2007 - 13:48:12 MDT
This archive was generated by hypermail 2.2.0 : Thu Oct 11 2007 - 15:12:42 MDT