Thanks Jeff. I'll explore those options and see what I can do.
Mike
________________________________
From: Jeff Whitaker <jef...@no...>
To: mat...@li...; fat...@ya...
Sent: Tuesday, July 3, 2012 11:21 AM
Subject: Re: [Matplotlib-users] draw track across the Dateline in Basemap
On 7/3/12 11:39 AM, fatuheeva wrote:
Hello,
>I am wondering if Basemap has the ability to plot a track across the Dateline? Plotting longitudes that go across the Dateline (e.g., [175,177,179,-179,-176]) wraps the track back around the globe when it goes from 179 to -179. Instead, I want them directly connected. My Basemap instance looks like:
>
>
>m = Basemap(projection='merc',llcrnrlat = 10,urcrnrlat = 30,llcrnrlon = 160,\
> urcrnrlon = -160,lat_ts = 20,resolution =
'l',lon_0 = 180)
>
>
>Am I screwed on this one?
>Thanks,
>
>
>Mike
>
Mike: There's no automagical way to do this. You either have to
shift your map so the dateline is in the middle, or split you track
into two segments.
-Jeff
--
Jeffrey S. Whitaker Phone : (303)497-6313
Meteorologist FAX : (303)497-6449
NOAA/OAR/PSD R/PSD1 Email : Jef...@no... 325 Broadway Office : Skaggs Research Cntr 1D-113
Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg |