Re: [thredds] need help with FMRC error related to getNetcdfDataset2D

On 4/19/2011 8:53 PM, John Maurer wrote:
Hi THREDDS Folks,
After much fine-tooth combing, I'm still not having any luck adding a new dataset to our TDS for the NCOM global ocean model. My catalotInit.log does not indicate any problems for this catalog either. The only thing that I can think of that differs compared to my existing FMRC collections is that this dataset uses longitudes of 0 to 360 rather than -180 to 180: is that a problem or not allowed? I wouldn't have guessed so. When attempting to access the catalog page for this FMRC (click on "NCOM Global Ocean Model" at http://oos.soest.hawaii.edu/thredds/idd/ocn_mod.html), the only thing I can find in threddsServlet.log is the following:


2011-04-19T16:33:59.229 -1000 [ 9375][ 12] INFO - thredds.server.catalogservice.LocalCatalogServiceController - handleRequestInternal(): Remote host: 128.171.151.240 - Request: "GET /thredds/catalog/pacioos/ncom/global/catalog.html HTTP/1.1" 2011-04-19T16:33:59.280 -1000 [ 9426][ 12] ERROR - thredds.server.catalogservice.LocalCatalogServiceController - handleRequestInternal(): Problem handling request.
java.lang.NullPointerException
at ucar.nc2.ft.fmrc.FmrcDataset.getNetcdfDataset2D(FmrcDataset.java:166)
    at ucar.nc2.ft.fmrc.Fmrc.getDataset2D(Fmrc.java:183)
at thredds.catalog.InvDatasetFcFmrc.checkState(InvDatasetFcFmrc.java:100) at thredds.catalog.InvDatasetFcFmrc.makeCatalog(InvDatasetFcFmrc.java:128) at thredds.servlet.DataRootHandler.makeDynamicCatalog(DataRootHandler.java:1503) at thredds.servlet.DataRootHandler.getCatalog(DataRootHandler.java:1470) at thredds.server.catalogservice.LocalCatalogServiceController.handleRequestInternal(LocalCatalogServiceController.java:196) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
    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.CatalogServiceFilter.doFilter(CatalogServiceFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 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: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.valves.AccessLogValve.invoke(AccessLogValve.java:568) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)
2011-04-19T16:33:59.281 -1000 [ 9427][ 12] INFO - thredds.server.catalogservice.LocalCatalogServiceController - handleRequestInternal(): Request Completed - 400 - -1 - 52


I have placed logs, my catalog file, and an example NetCDF data file (zipped) in the following anonymous ftp directory:

ftp ftp.soest.hawaii.edu <http://ftp.soest.hawaii.edu>
user: anonymous
pass: <your e-mail address>
cd jmaurer/thredds/

Thanks in advance for your help!,
John Maurer
Pacific Islands Ocean Observing System (PacIOOS)
University of Hawaii


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


Hi John:

The problem is that

"../**/ncom_global_sfc_#yyyyMMddHH#\.nc$"

should be:

"../**/ncom_glb_sfc_#yyyyMMddHH#\.nc$"

a messsage:

"Fmrc collection is empty =fmrc:NCOM Global Ocean Model"

is sent, probably to ../content/thredds/logs/model.logs (what, you didnt look there?)

since im always messing up these %&^!! regular expressions, i always double check them.

John

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