[GRASS-dev] why doesn't r.in.wms work with NCAR WMS server

I tested r.in.wms with the example NASA server and it works.
I tested the NCAR WMS server with a get capabilities request in my browser and it works.

But when I try r.in.wms with the NCAR server it fails.

Here is the address: [http://tds.gisclimatechange.ucar.edu/thredds/wms/anomalies/downscaled/seasonal/ppt_SRESB1_near_seasonal_down_anomaly.nc]](http://tds.gisclimatechange.ucar.edu/thredds/wms/anomalies/downscaled/seasonal/ppt_SRESB1_near_seasonal_down_anomaly.nc])

When I just try to list data layers and exit I get an error saying the get capabilities request has failed. This uses WMS version 1.3.0 if that makes any difference. I have tried specifying that version to no avail.

I haven’t used r.in.wms and so could be doing something wrong. Any suggestions would be helpful.

Michael


C. Michael Barton
Visiting Scientist, Integrated Science Program
National Center for Atmospheric Research &
University Consortium for Atmospheric Research
303-497-2889 (voice)

Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu

Just a bit more detailed information. Here is the command and response:

GRASS 7.0.svn (Global_latlon):~ > r.in.wms -l --overwrite output=anomaly mapserver=http://tds.gisclimatechange.ucar.edu/thredds/wms/anomalies/downscaled/seasonal/ppt_SRESB1_near_seasonal_down_anomaly.nc
ERROR: Unable to get capabilities:
http://tds.gisclimatechange.ucar.edu/thredds/wms/anomalies/downscaled/seasonal/ppt_SRESB1_near_seasonal_down_anomaly.nc?service=WMS&request=GetCapabilities&version=1.1.1

However, if I copy from above and paste …

http://tds.gisclimatechange.ucar.edu/thredds/wms/anomalies/downscaled/seasonal/ppt_SRESB1_near_seasonal_down_anomaly.nc?service=WMS&request=GetCapabilities&version=1.1.1

… into a browser, it works.

Michael

On Mar 6, 2012, at 4:05 PM, Michael Barton wrote:

I tested r.in.wms with the example NASA server and it works.
I tested the NCAR WMS server with a get capabilities request in my browser and it works.

But when I try r.in.wms with the NCAR server it fails.

Here is the address: [http://tds.gisclimatechange.ucar.edu/thredds/wms/anomalies/downscaled/seasonal/ppt_SRESB1_near_seasonal_down_anomaly.nc]](http://tds.gisclimatechange.ucar.edu/thredds/wms/anomalies/downscaled/seasonal/ppt_SRESB1_near_seasonal_down_anomaly.nc])

When I just try to list data layers and exit I get an error saying the get capabilities request has failed. This uses WMS version 1.3.0 if that makes any difference. I have tried specifying that version to no avail.

I haven’t used r.in.wms and so could be doing something wrong. Any suggestions would be helpful.

Michael


C. Michael Barton
Visiting Scientist, Integrated Science Program
National Center for Atmospheric Research &
University Consortium for Atmospheric Research
303-497-2889 (voice)

Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu


C. Michael Barton
Visiting Scientist, Integrated Science Program
National Center for Atmospheric Research &
University Consortium for Atmospheric Research
303-497-2889 (voice)

Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu