Basemap: What is the angular domain for coordinates?

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

···

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!

--
Jeffrey S. Whitaker Phone : (303)497-6313
Meteorologist FAX : (303)497-6449
NOAA/OAR/PSD R/PSD1 Email : Jeffrey.S.Whitaker@...259...
325 Broadway Office : Skaggs Research Cntr 1D-113
Boulder, CO, USA 80303-3328 Web : Jeffrey S. Whitaker: NOAA Physical Sciences Laboratory

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