Thanks, Ethan! I'm attaching the error messages. And also you can
check our server for these data:
http://eclipse.ncdc.noaa.gov:9090/thredds/dodsC/ndfd/20050928/catalog.html
This is the error message I've got when the opendap link is clicked.
***************************************************************
Error { code = 5; message = "NcDODSServlet ERROR opening NcDataset
dodsC/ndfd/20050928/ndfd-all_020238_20050929_0000_fff.grb access =
/raid/ftp/pub/ndfd/20050928/ndfd-all_020238_20050929_0000_fff.grb
null"; };
*****************************************************************
And this is message in log file:
******************************************************************
2005-11-14T11:06:21.588 -0500 [ 331405962][ 268] INFO -
thredds.servlet.ServletUtil - Remote host: 192.153.129.249 -
Request: "GET
/thredds/dodsC/ndfd/20050928/ndfd-all_020238_20050929_0000_fff.grb.html
HTTP/1.1"
2005-11-14T11:06:21.653 -0500 [ 331406027][ 268] ERROR -
dods.servers.netcdf.NcDODSServlet - NcDODSServlet ERROR opening
NcDataset dodsC/ndfd/20050928/ndfd-all_020238_20050929_0000_fff.grb
access =
/raid/ftp/pub/ndfd/20050928/ndfd-all_020238_20050929_0000_fff.grb
null
java.lang.NullPointerException
at ucar.grib.grib1.Grib1Lookup.<init>(Grib1Lookup.java:36)
at
ucar.nc2.iosp.grib.Grib1ServiceProvider.open(Grib1ServiceProvider.java:72)
at ucar.nc2.NetcdfFile.<init>(NetcdfFile.java:754)
at ucar.nc2.NetcdfFile.open(NetcdfFile.java:334)
at ucar.nc2.NetcdfFile.open(NetcdfFile.java:219)
at ucar.nc2.NetcdfFile.open(NetcdfFile.java:165)
at
ucar.nc2.util.NetcdfFileCache.acquire(NetcdfFileCache.java:161)
at
dods.servers.netcdf.GuardedDatasetImpl.<init>(GuardedDatasetImpl.java:53)
at
dods.servers.netcdf.NcDODSServlet.getDataset(NcDODSServlet.java:338)
at dods.servlet.DODSServlet.doGetHTML(DODSServlet.java:951)
at dods.servlet.DODSServlet.doGet(DODSServlet.java:1462)
at
dods.servers.netcdf.NcDODSServlet.doGet(NcDODSServlet.java:291)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
2005-11-14T11:06:21.680 -0500 [ 331406054][ 268] INFO -
thredds.servlet.ServletUtil - Request Completed - 200 - -1 - 92
*************************************************************************************
Seems it can't be opened at all and Netcdf Tool verified this too.
Yes, GRIB-2 data files directly downloaded from NDFD work fine in
TDS. But the files I've got problem are from NCDC archive system.
I'm puzzled because these files seem in GRIB-1 format when I use
'degrib' decoder to decode them. And current 'degrib' can't handle
them too because center & subcenter are not included in local use
tables.
Thanks,
Leilei
Ethan Davis wrote:
Hi Leilei,
The GRIB data is being read by the netCDF-java 2.2 library which
has a number of adapters for reading various file formats. I'm
CCing Robb Kambic who developed and maintains our GRIB code. I
just checked on our server and looks like we are serving NDFD
data. Here's the catalog for the NDFD data we're serving in case
you want to take a look at that
http://motherlode.ucar.edu:8080/thredds/idd/model/NDFD/CONUS_5km/catalog.xml
Are you getting any relavent messages in the TDS logs in the
${TOMCAT_HOME}/content/thredds/logs directory?
Another thing you could do is use the netCDF Tools UI to look at
one of your data files and see if it can read it in. In the
"Viewer" tab you can click on the folder icon to find a local file
and try to open onf the your NDFD files. That way we'll know if it
is a TDS or nc/GRIB issue. If the ToolsUI can't open the file, can
you make one available so Robb can take a closer look?
Let us know what kind of error messages (if any) you get from the
ToolsUI or in the TDS logs.
Thanks,
Ethan
Leilei Wang wrote:
Hi Ethan:
Which decoder does TDS use to decode GRIB files? Is it degrib?
We're trying to serve NCDC archived NDFD data files through TDS
which in GRIB but failed.
Thanks,
Leilei
Ethan Davis wrote:
Hi all,
We will be presenting a paper on the THREDDS Data Server (TDS)
at the 2006 AMS meeting in Atlanta. It is available online now
if you want to take a look before January.
http://www.unidata.ucar.edu/projects/THREDDS/PublicationsAndPresentations/2006AMS-TDS/
Ethan