[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NetCDF Subset Service error



John,

I am seeing this in the logs, but this shouldn't matter unless I'm doing
a FMRC, right?

Nov 30, 2010 11:20:36 AM ucar.nc2.ft.fmrc.GridDatasetInv <init>
SEVERE: GridDatasetInv missing rundate in
file=/home/raid/data/cdr/patmosx/files/n09/1987/patmosx_lw_n09_asc_1987_003_v05r02.nc
Exception in thread "AWT-EventQueue-0"
java.lang.IllegalArgumentException: File must have
_CoordinateModelBaseDate or _CoordinateModelRunDate attribute

Steve


John Caron wrote:
> Hi Steve: it looks like a null-valued attribute. I couldnt get at the
> sample file to verify this, however, is www1.ncdc.noaa.gov  public?
>
> On 11/30/2010 9:50 AM, Steve Ansari wrote:
>> Hi John,
>>
>> I'm getting this error when trying to use the NetCDF Subset Service in
>> the TDS 4.2.  I'm not sure if this error exists in older versions.  I've
>> been unable to reproduce using CDM grid access with ToolsUI or with
>> custom code.
>>
>> I don't see any 'null' attributes when doing ncdumps or grid views in
>> ToolsUI.  There is no time dimension, but we are using NcML Aggregation
>> with dateFormatMark to add it later.  We are getting the same error with
>> the NcML aggregation as well.  Unfortunately, the error doesn't show
>> which attribute is 'null'.  I was going to look in the source, but
>> figured I'd ask first.
>>
>> Sample file is here:
>> http://www1.ncdc.noaa.gov/pub/download/sansari/patmosx_sw_n19_asc_2009_365_v05r02.nc
>>
>>
>> Thanks!
>> Steve
>>
>>
>> Error:
>>
>> 2010-11-30T11:43:45.995 -0500 [   2913177][     129] ERROR -
>> thredds.server.ncSubset.GridServlet - GridServlet.showForm
>> org.jdom.IllegalDataException: The data "null" is not legal for a JDOM
>> attribute: A null is not a legal XML value.
>>          at org.jdom.Attribute.setValue(Attribute.java:491)
>>          at org.jdom.Attribute.<init>(Attribute.java:228)
>>          at org.jdom.Attribute.<init>(Attribute.java:251)
>>          at org.jdom.Element.setAttribute(Element.java:1128)
>>          at ucar.nc2.ncml.NcMLWriter.writeAttribute(NcMLWriter.java:254)
>>          at
>> ucar.nc2.dt.grid.GridDatasetInfo.writeGrid(GridDatasetInfo.java:511)
>>          at
>> ucar.nc2.dt.grid.GridDatasetInfo.makeGridForm(GridDatasetInfo.java:236)
>>          at
>> thredds.server.ncSubset.GridServlet.showForm(GridServlet.java:495)
>>          at
>> thredds.server.ncSubset.GridServlet.doGet(GridServlet.java:155)
>>          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(ApplicationFilterChain.java:290)
>>
>>          at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>
>>          at
>> thredds.servlet.filter.RequestQueryFilter.doFilter(RequestQueryFilter.java:121)
>>
>>          at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>
>>          at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>
>>          at
>> thredds.servlet.filter.RequestPathFilter.doFilter(RequestPathFilter.java:105)
>>
>>          at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>
>>          at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>
>>          at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>>
>>          at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>>
>>          at
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
>>
>>          at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>>
>>          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:298)
>>
>>          at
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
>>
>>          at
>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
>>
>>          at
>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
>>          at java.lang.Thread.run(Thread.java:619)
>> 2010-11-30T11:43:45.996 -0500 [   2913178][     129] INFO  -
>> thredds.server.ncSubset.GridServlet - Request Completed - 500 - 0 - 77
>>