## matplotlib-users

 [Matplotlib-users] Basemap: What is the angular domain for coordinates? From: Reckoner - 2010-05-13 21:22:48 Attachments: Message as HTML How do I know if the angular domain for a map is Longitude \in {0,360} or Longitude \in {-180,180}? Or, for that matter, Latitude \in {-90,90} as opposed to: Latitude \in {0,180} Thanks!
 Re: [Matplotlib-users] Basemap: What is the angular domain for coordinates? From: Jeff Whitaker - 2010-05-13 23:20:20 On 5/13/10 3:22 PM, Reckoner wrote: > How do I know if the angular domain for a map is > > Longitude \in {0,360} > > or > > Longitude \in {-180,180}? > > Or, for that matter, > > Latitude \in {-90,90} > > as opposed to: > > Latitude \in {0,180} > > Thanks! > > You can query the Basemap instance variables lonmin, lonmax, latmin, latmax. -Jeff -- Jeffrey S. Whitaker Phone : (303)497-6313 Meteorologist FAX : (303)497-6449 NOAA/OAR/PSD R/PSD1 Email : Jeffrey.S.Whitaker@... 325 Broadway Office : Skaggs Research Cntr 1D-113 Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg
 Re: [Matplotlib-users] Basemap: What is the angular domain for coordinates? From: reckoner - 2010-05-14 14:40:36 Thanks for your reply. >>> m = Basemap(resolution='c',projection='robin', lon_0=-120.) doesn't have lonmin, lonmax variables. However, when I do >>> m(*m(190,0),inverse=1) (-169.99999999999997, 0.0) Which implies that the angular domain for longitude is [-180.,180], right? Thanks! On 5/13/2010 4:20 PM, Jeff Whitaker wrote: > On 5/13/10 3:22 PM, Reckoner wrote: >> How do I know if the angular domain for a map is >> >> Longitude \in {0,360} >> >> or >> >> Longitude \in {-180,180}? >> >> Or, for that matter, >> >> Latitude \in {-90,90} >> >> as opposed to: >> >> Latitude \in {0,180} >> >> Thanks! >> >> > > You can query the Basemap instance variables lonmin, lonmax, latmin, > latmax. > > -Jeff > >