Specifying a map region longitude

From: Cathryn Meyer (cathryn.meyer AT yale.edu)
Date: Thu Sep 15 2005 - 08:52:43 MDT


Hello,

I am trying to make a map with contours of RH overlaid with wind
vectors. I want this plot to be over the region 100E to 200E degrees
longitude. I have tried to specify this using:

  res@mpLimitMode = "LatLon"
  res@mpMinLonF = 100. ; select a subregion
  res@mpMaxLonF = 200.
  res@mpMinLatF = -30.
  res@mpMaxLatF = 30.
                                                                       
        
However when I try to do this, all of the continents are always plotted.
 If I make my region 100 to 180 lon, then the correct area and
continents are plotted. I am not sure why. Why does the longitude
coordinate get screwed up if I go past 180?

Also, if I instead specify the correct longitudes in the following plot
line:

plot=gsn_csm_vector_scalar_map_ce(wks,U_warmtimeavg(:,40:80)*0.01+\
202.65,V_warmtimeavg(:,40:80)*0.01+202.65,RH_warmtimeavg(:,40:80)\
*0.01+302.65,res)

Completely different wind vectors are plotted, even though this
specifies the same longitude as above!

Does anybody know how to correctly plot RH and wind vectors from 100 to
200 lon, with the correct gray continents in it? Do the resources
mpMinLonF, etc. only change values of the x-axis but not specify which
data is actually plotted?

Thanks,
Cathy

-- 
Cathryn Meyer
Department of Geology and Geophysics
Yale University
cathryn.meyer@yale.edu
(203)432-1959
_______________________________________________
ncl-talk mailing list
ncl-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk



This archive was generated by hypermail 2b29 : Thu Sep 15 2005 - 09:31:35 MDT