aodn / aodn-portal

AODN Open Geospatial Portal
https://portal.aodn.org.au/
GNU General Public License v3.0
21 stars 13 forks source link

Time subset broken #1276

Closed mhidas closed 10 years ago

mhidas commented 10 years ago

Steps to reproduce

What happens

I've found this error with a few other collections (any mooring one, FAIMMS, SOOP-CO2, but e.g. SOOP-XBT works ok).

[Portal Build Info]
Base URL:      http://imos.aodn.org.au/imos123
Build date:    15/07/2014 13:43
Version:       3.26.1-rc1
Instance name: IMOS
Environment:   prerelease

NetCDF Error Details Error 500: Executing action [downloadNetCdfFilesForLayer] of controller [au.org.emii.portal.DownloadController] caused exception: java.io.IOException: Server returned HTTP response code: 500 for URL: http://geoserver-123.aodn.org.au/geoserver/wms?typeName=imos:anmn_burst_avg_timeseries_map&SERVICE=WFS&outputFormat=csv&REQUEST=GetFeature&VERSION=1.0.0&CQL_FILTER=TIME%20%3E%3D%202013-12-31T23%3A00%3A00Z&PROPERTYNAME=file_url Servlet: grails URI: /imos123/grails/download/downloadNetCdfFilesForLayer.dispatch Exception Message: Server returned HTTP response code: 500 for URL: http://geoserver-123.aodn.org.au/geoserver/wms?typeName=imos:anmn_burst_avg_timeseries_map&SERVICE=WFS&outputFormat=csv&REQUEST=GetFeature&VERSION=1.0.0&CQL_FILTER=TIME%20%3E%3D%202013-12-31T23%3A00%3A00Z&PROPERTYNAME=file_url Caused by: Server returned HTTP response code: 500 for URL: http://geoserver-123.aodn.org.au/geoserver/wms?typeName=imos:anmn_burst_avg_timeseries_map&SERVICE=WFS&outputFormat=csv&REQUEST=GetFeature&VERSION=1.0.0&CQL_FILTER=TIME%20%3E%3D%202013-12-31T23%3A00%3A00Z&PROPERTYNAME=file_url Class: DownloadController At Line: [75]

dnahodil commented 10 years ago

Fixed in master which is about to go through testing.

mhidas commented 10 years ago

I'm still seeing this issue on RC, for the collection: IMOS - Australian National Mooring Network (ANMN) Facility - Temperature and salinity time-series

I don't get the Grails Runtime Exception anymore, when I select netCDF download (with a time subset), nothing happens.

dnahodil commented 10 years ago

Confirmed. I will investigate.

dnahodil commented 10 years ago

Resolved in RC. No code changes required, the time filter for this layer just had the incorrect field names configured. :thumbsup:

mhidas commented 10 years ago

Oops, thanks Dave. A consequence of having to manually configure layers in RC independently of prod.


From: David Nahodil [notifications@github.com] Sent: Friday, 25 July 2014 14:03 To: aodn/aodn-portal Cc: Marty Hidas Subject: Re: [aodn-portal] Time subset broken (#1276)

Resolved in RC. No code changes required, the time filter just had the incorrect field names configured. [:thumbsup:]

— Reply to this email directly or view it on GitHubhttps://github.com/aodn/aodn-portal/issues/1276#issuecomment-50105992.

dnahodil commented 10 years ago

No worries