NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [thredds] Subset service fails as Point Data

Hi Kyle:

The dataset

http://staging.asascience.com:8989/thredds/catalog/Cadiz/Currents/catalog.html?dataset=Cadiz/Currents/EGM200_3.nc

as downloaded doesnt get recognized as a grid. did you modify it with ncml?

Kyle Wilcox wrote:
Still receiving the same error using version 4.0.20.2.  See original
post below for the server links.


Here is a dataset where the Point subset is working correctly:
http://staging.asascience.com:8989/thredds/catalog/fmrc/GFS/catalog.html
?dataset=fmrc/GFS/GFS_best.ncd

And another which is not working correctly (same error):
http://staging.asascience.com:8989/thredds/ncss/grid/nmfs/roms.ncml/poin
tDataset.html


-----Original Message-----
From: John Caron [mailto:caron@xxxxxxxxxxxxxxxx] Sent: Wednesday, July 08, 2009 11:16 PM
To: Kyle Wilcox
Cc: thredds@xxxxxxxxxxxxxxxx
Subject: Re: [thredds] Subset service fails as Point Data

Hi Kyle:

I just made a release (4.0.20.2) that i think will fix this. Can you
download and try again? thanks

Kyle Wilcox wrote:
Hello all,

I have a dataset that works correctly with the grid subset, ncWMS, and

any other NetCDF tool I can come across.  It is failing with the
THREDDS
NetCDF subset when requesting point data.

Dataset:
http://staging.asascience.com:8989/thredds/catalog/Cadiz/Currents/catalo
g.html?dataset=Cadiz/Currents/EGM200_3.nc
Point Subset:
http://staging.asascience.com:8989/thredds/ncss/grid/Cadiz/Currents/EGM2
00_3.nc/pointDataset.html
Request: http://staging.asascience.com:8989
/thredds/ncss/grid/Cadiz/Currents/EGM200_3.nc?var=u_wind,v_wind&latitude
=35&longitude=-6&temporal=point&accept=xml&point=true&time_end=present&t
ime_duration=P3D
Trace:

2009-07-08T17:32:13.277 -0400 [ 5142656][ 167] ERROR - thredds.server.ncSubset.GridServlet - GridServlet.processGridAsPoint

java.lang.ArrayIndexOutOfBoundsException

                at ucar.ma2.Index2D.setDirect(Index2D.java:135)

                at ucar.ma2.ArrayDouble$D2.get(ArrayDouble.java:295)

at
ucar.nc2.dataset.CoordinateAxis2D.getCoordValue(CoordinateAxis2D.java:75
)
at ucar.nc2.dt.grid.GridCoordSys.getLatLon(GridCoordSys.java:1026)

at
ucar.nc2.dt.grid.GridAsPointDataset.readData(GridAsPointDataset.java:100
)
at
thredds.server.ncSubset.GridPointWriter.write(GridPointWriter.java:253)
at
thredds.server.ncSubset.GridServlet.processGridAsPoint(GridServlet.java:
259)
at thredds.server.ncSubset.GridServlet.doGet(GridServlet.java:171)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
at
thredds.servlet.filter.RequestQueryFilter.doFilter(RequestQueryFilter.ja
va:121)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
at
thredds.servlet.filter.RequestPathFilter.doFilter(RequestPathFilter.java
:105)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:191)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
Base.java:433)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
93)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84
9)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
                at java.lang.Thread.run(Unknown Source)

Is this most likely caused by an incorrect dataset?

*Kyle Wilcox*

*ASA **|** Science. Services. Solutions.*

Consider the environment before printing this email



------------------------------------------------------------------------
_______________________________________________
thredds mailing list
thredds@xxxxxxxxxxxxxxxx
For list information or to unsubscribe,  visit:
http://www.unidata.ucar.edu/mailing_lists/



  • 2009 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: