[Geoserver-users] Cascadind WMS with time parameter

Hi,

I would like to use geoServer to harvest WMS layers from an other server
(ncWMS from University of Reading, specialized in netCDF format).
The problem is that in my get map request from Open Layers, I need to
precise a time parameter.
Concretely, this is the request use by GeoServer to visualize my layer:
http://webportals.ipsl.jussieu.fr:8080/geoserver/couches_from_ncWMS/wms?service=WMS&version=1.1.0&request=GetMap&layers=couches_from_ncWMS:poste_land&styles=&bbox=-179.5,-89.5,179.5,89.5&width=661&height=330&srs=EPSG:4326&format=application/openlayers
In this case, I've got no image.

... And this is the request which works :
http://webportals.ipsl.jussieu.fr/thredds/wms?DATASET=http://webportals.ipsl.jussieu.fr/thredds/dodsC/ATLAS/Flux/Inversions/latest/fco2.ccam_c13_rachel.1992-2008.mask11.Fev2012.nc&VERSION=1.1.1&LAYERS=poste_oce&ELEVATION=false&TIME=1992-01-16T00%3A00%3A00.000Z&NUMCOLORBANDS=30&STYLES=boxfill%2Foccam_pastel-30&COLORSCALERANGE=-160%2C130&ABOVEMAXCOLOR=extend&BELOWMINCOLOR=extend&FORMAT=image%2Fpng&SERVICE=WMS&REQUEST=GetMap&SRS=EPSG%3A4326&BBOX=-179.5,-89.5,179.5,89.5&WIDTH=168&HEIGHT=168

So, is there a way to integrate the TIME parameter or is is really
impossible?

Thank you for your help,

Pascal.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Cascadind-WMS-with-time-parameter-tp5085350.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

On Wed, Oct 23, 2013 at 4:29 PM, pascal <pascal2833@anonymised.com> wrote:

Hi,

I would like to use geoServer to harvest WMS layers from an other server
(ncWMS from University of Reading, specialized in netCDF format).
The problem is that in my get map request from Open Layers, I need to
precise a time parameter.
Concretely, this is the request use by GeoServer to visualize my layer:

http://webportals.ipsl.jussieu.fr:8080/geoserver/couches_from_ncWMS/wms?service=WMS&version=1.1.0&request=GetMap&layers=couches_from_ncWMS:poste_land&styles=&bbox=-179.5,-89.5,179.5,89.5&width=661&height=330&srs=EPSG:4326&format=application/openlayers
In this case, I've got no image.

... And this is the request which works :

http://webportals.ipsl.jussieu.fr/thredds/wms?DATASET=http://webportals.ipsl.jussieu.fr/thredds/dodsC/ATLAS/Flux/Inversions/latest/fco2.ccam_c13_rachel.1992-2008.mask11.Fev2012.nc&VERSION=1.1.1&LAYERS=poste_oce&ELEVATION=false&TIME=1992-01-16T00%3A00%3A00.000Z&NUMCOLORBANDS=30&STYLES=boxfill%2Foccam_pastel-30&COLORSCALERANGE=-160%2C130&ABOVEMAXCOLOR=extend&BELOWMINCOLOR=extend&FORMAT=image%2Fpng&SERVICE=WMS&REQUEST=GetMap&SRS=EPSG%3A4326&BBOX=-179.5,-89.5,179.5,89.5&WIDTH=168&HEIGHT=168

So, is there a way to integrate the TIME parameter or is is really
impossible?

Depends... if you are interested in writing java code it's possible,
otherwise impossible :slight_smile:
Ah, GeoServer 2.4.0 can serve netcdf data directly if you install the
netcdf community
module, and your netCDF files are CF compliant
http://ares.opengeo.org/geoserver/2.4.x/community-latest/geoserver-2.4-SNAPSHOT-netcdf-plugin.zip

Cheers
Andrea

--

Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------