MPL folks,
Would it be possible to enhance Matplotlib to allow "im=imread(url)"
to work if url returns a JPG?
Currently (it seems):
1. If the URL returns a PNG this works:
im = imread(urllib2.urlopen(url))
2. If the URL returns a JPG, this DOESN'T work:
im = imread(urllib2.urlopen(url))
.. a
6 from WMS, that's the 'cyl' in Basemap).
Thanks!
Rich
On Tue, Oct 16, 2012 at 11:38 AM, Jeff Whitaker wrote:
> On 10/16/12 8:48 AM, Rich Signell wrote:
>>
>> Klo & Jeff,
>>
>> I tried making a concrete example of using OWSlib with Basemap, but
>&
so what that snippet I linked does. You can add it to to Basemap
> and it should work.
>
> However Jeff suggested we use this tiny package OWSlib and handle WMS that
> way, which is better IMHO, but for some reason we did not got further reply.
>
>
>
> On Fri, Oct 12,
WMS services are required to respond to "GetCapabiltiies" request,
reporting what layers, styles, times, elevations, and projections they
have available. So for example, using the Unidata WMS example below,
if we do:
http://motherlode.ucar.edu:8080/thredds/wms/fmrc/NCEP/NAM/CONUS_12km/NCEP-NAM
Matplotlib folks,
Probably the two most common web map services are the OGC-standard WMS
service and ESRI's non-standard custom REST service.
I was looking for how to do WMS request in basemap and found
"testarcgisimage.py" which uses the "arcgisimage" method.
It look like there was a "wmsimage