Can't parse date string
Jeremy Gaultier
webmaster at METEOROLOGIC.NET
Thu Aug 10 11:23:53 EDT 2006
Hello,
I encounter a problem with Grads/Dods at the time or I wish to read info,
dds. das or to use the ascii request.
My version of GDS : 1.3 My version of GRADS : Version 1.9b4 My Platform :
Linux Ubuntu Dapper Drake
Ci below you can see the error which GrADS Data Server turns over me :
Wed Jun 28 13:14:17 GMT+02:00 2006: [ Thread-5 192.168.30.2 GET
/gfs_1deg_00z.info ] java.lang.IllegalArgumentException: Can't parse date
string: 00z26jun2006 GMT at
org.iges.util.Range.parseGradsFormat(Range.java:199) at
org.iges.grads.server.GradsExtracter.convertGradsDateToCOARDS(GradsExtracter.java:612)
at
org.iges.grads.server.GradsExtracter.loadDimValues(GradsExtracter.java:490)
at
org.iges.grads.server.GradsGridExtracter.load(GradsGridExtracter.java:227)
at org.iges.grads.server.GradsExtracter.parse(GradsExtracter.java:82) at
org.iges.grads.server.GradsDODSModule.extract(GradsDODSModule.java:423) at
org.iges.grads.server.GradsDODSModule.loadDDS(GradsDODSModule.java:357) at
org.iges.grads.server.GradsDODSModule.getDDS(GradsDODSModule.java:91) at
org.iges.grads.server.GradsTool.getDDS(GradsTool.java:146) at
org.iges.anagram.service.InfoService.writeToCache(InfoService.java:98) at
org.iges.anagram.service.InfoService.handle(InfoService.java:76) at
org.iges.anagram.filter.DispatchFilter.doFilter(DispatchFilter.java:62) at
org.iges.anagram.filter.Filter.handle(Filter.java:83) at
org.iges.anagram.filter.Filter.handle(Filter.java:90) at
org.iges.anagram.filter.Filter.handle(Filter.java:90) at
org.iges.anagram.filter.AnalysisFilter.doFilter(AnalysisFilter.java:69) at
org.iges.anagram.filter.Filter.handle(Filter.java:83) at
org.iges.anagram.AnagramServlet.doGet(AnagramServlet.java:214) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:854) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:195)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:262)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:482)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:997) at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:193)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:482)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:997) at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2418)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:172)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:482)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:997) at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:176)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:482)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:997) at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:224) at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:433)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:394)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:535)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:532)
at java.lang.Thread.run(libgcj.so.7)
-------------------------------------------------------------------
Error wich open file das (dods)
Error {
code = 0;
message = "Oops! The server encountered an unexpected error while
serving the this request.
Please report this error at
http://www.iges.org/grads/gds
and include the following debug information:
java.lang.IllegalArgumentException: Can't parse date string: 00z01jan1950 GMT
at org.iges.util.Range.parseGradsFormat(Range.java:199)
at
org.iges.grads.server.GradsExtracter.convertGradsDateToCOARDS(GradsExtracter.java:612)
at org.iges.grads.server.GradsExtracter.loadDimValues(GradsExtracter.java:490)
at org.iges.grads.server.GradsGridExtracter.load(GradsGridExtracter.java:227)
at org.iges.grads.server.GradsExtracter.parse(GradsExtracter.java:80)
at org.iges.grads.server.GradsDODSModule.extract(GradsDODSModule.java:420)
at org.iges.grads.server.GradsDODSModule.loadDAS(GradsDODSModule.java:380)
at org.iges.grads.server.GradsDODSModule.writeDAS(GradsDODSModule.java:187)
at org.iges.grads.server.GradsTool.writeDAS(GradsTool.java:178)
at org.iges.anagram.service.DASService.handle(DASService.java:63)
at org.iges.anagram.filter.DispatchFilter.doFilter(DispatchFilter.java:60)
at org.iges.anagram.filter.Filter.handle(Filter.java:83)
at org.iges.anagram.filter.Filter.handle(Filter.java:87)
at org.iges.anagram.filter.Filter.handle(Filter.java:87)
at org.iges.anagram.filter.AnalysisFilter.doFilter(AnalysisFilter.java:67)
at org.iges.anagram.filter.Filter.handle(Filter.java:83)
at org.iges.anagram.AnagramServlet.doGet(AnagramServlet.java:212)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
at java.lang.Thread.run(Thread.java:534)
";
};
-----------------------------------------------------------------------
q config on gradsc :
Grid Analysis and Display System (GrADS) Version 1.9b4 Copyright (c)
1988-2005 by Brian Doty and IGES Center for Ocean-Land-Atmosphere Studies
(COLA) Institute for Global Environment and Society (IGES) This program is
distributed WITHOUT ANY WARRANTY See file COPYRIGHT for more information.
Built Mon May 23 13:31:07 EDT 2005 for i686-pc-linux-gnu
This version of GrADS has been configured with the following options:
o This is a 32-bit LITTLE ENDIAN machine version. o Command line editing
(readline) ENABLED. o CIRES/CDC (http://www.cdc.noaa.gov) SDF/XDF interface
ENABLED. Use sdfopen/xdfopen to read NetCDF files. o DTYPE netcdf is
ENABLED; DTYPE hdfsds is DISABLED. o OPeNDAP (a.k.a. DODS) gridded data
interface ENABLED. (http://opendap.org) This version is configured to access
gridded data on OPeNDAP servers via the sdfopen or xdfopen commands, or
using DTYPE netcdf. o OPeNDAP (a.k.a. DODS) station data interface (gadods)
ENABLED. This version is configured to access station data on OPeNDAP
servers via the open command. o PCMDI (http://www-pcmdi.llnl.gov) LATS
interface ENABLED. This version is configured to write GRIB and NetCDF
files. o DAO (http://dao.gsfc.nasa.gov) Athena Widget GUI ENABLED. o
NRL/DAO/PCMDI XA or ImageMagick Image Output DISABLED. o printim command for
direct png/gif output ENABLED. (via the GD Library -- http://www.boutell.com/gd)
My gds.xml :
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
This is a configuration file for the GrADS Data Server.
See README and doc/index.html for general GDS information.
See doc/tag-ref.html for help editing this file.
If you want to revert your GDS to its "factory settings", overwrite gds.xml
with the file gds.xml.reference. - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - --> - <gds> - <catalog> - <data> <!-- specify
public datasets here --> <dataset name="gfs_1deg_00z"
file="data/gfs/gfs_00z.ctl" format="ctl"/> <!-- specify private datasets
here --> <dataset name="test" file="testdata/test.ctl"
das="testdata/extra.das" format="ctl"> </dataset> </data> </catalog> <log
mode="file" file="log/gds.log" level="info"/> - <grads> <invoker
grads_bin="grads/bin/gradsnc"/> - <!-- edit this tag to point to your GrADS
distribution --> </grads> - <servlet> <filter-abuse enabled="false"
hits="1000" timeout="24"/> <filter-overload enabled="false" limit="20"/>
<!-- edit these tags to enable 'throttling' features --> <filter-analysis
enabled="true"/> </servlet> - <mapper> <service-admin auth="2"/> - <!-- edit
this tag to enable the administration service --> </mapper> - <privilege_mgr
default="public"> <ip_range mask="127.0.0.1" privilege="full"/> <ip_range
mask="192.168.30.3" privilege="full"/> <privilege name="full"/> <!-- no
restrictions --> <privilege name="public" analyze_allowed="false"
abuse_hits="1000" abuse_timeout="24"/> </privilege_mgr> </gds>
Can you help me please?
I need really assistance.
More information about the gradsusr
mailing list