[thredds] Problems with FMRC Collection

Hi all,

I am Micho García, I am a GIS Developer from Spain. I have worked with TDS
in multiple projects, but I am not specialist in it, only an integrator.

Now I am working in a project managing model climate data. I have created a
catalog with two FMRC Collections, one works but the other one don't works.
I send you the catalog.xml and the traceback from the TDS.

Any help will be welcome!.

Thanks in advance.

The catalog:

<?xml version="1.0" encoding="UTF-8"?>
<catalog xmlns="
http://www.unidata.ucar.edu/namespaces/thredds/InvCatalog/v1.0";
xmlns:xlink="http://www.w3.org/1999/xlink"; name="Unidata THREDDS-IDD
NetCDF-OpenDAP Server" version="1.0.1">
  <service name="all" serviceType="Compound" base="">
    <service name="odap" serviceType="OPENDAP" base="/thredds/dodsC/"/>
    <service name="http" serviceType="HTTPServer"
base="/thredds/fileServer/"/>
    <service name="wms" serviceType="WMS" base="/thredds/wms/"/>
    <!--service name="wcs" serviceType="WCS" base="/thredds/wcs/"/>
<service name="ncss" serviceType="NetcdfSubset" base="/thredds/ncss/grid/"/>
<service name="ncml" serviceType="NCML" base="/thredds/ncml/"/>
<service name="uddc" serviceType="UDDC" base="/thredds/uddc/"/>
<service name="iso" serviceType="ISO" base="/thredds/iso/"/-->
  </service>
  <dataset name="Mixed Models">
    <metadata inherited="true">
      <serviceName>all</serviceName>
      <dataType>Grid</dataType>
      <dataFormat>NetCDF</dataFormat>
    </metadata>
    <!-- MODELO Combinado CMIP5 -->
    <dataset name="CMIP5">
      <featureCollection name="CMIP5_rcp26" featureType="FMRC"
path="CMIP5/2020_2039/rcp26">
        <metadata inherited="true">
          <serviceName>all</serviceName>
        </metadata>
        <collection
spec="/home/datos/netcdf/modelos/combinado/CMIP5/rcp26/.*nc$"/>
      </featureCollection>
      <featureCollection name="CMIP5_rcp45" featureType="FMRC"
path="CMIP5/2020_2039/rcp45">
        <metadata inherited="true">
          <serviceName>all</serviceName>
        </metadata>
        <collection
spec="/home/datos/netcdf/modelos/combinado/CMIP5/rcp45/.*nc$"/>
      </featureCollection>
      <featureCollection name="CMIP5_rcp85" featureType="FMRC"
path="CMIP5/2020_2039/rcp85">
        <metadata inherited="true">
          <serviceName>all</serviceName>
        </metadata>
        <collection
spec="/home/datos/netcdf/modelos/combinado/CMIP5/rcp85/.*nc$"/>
      </featureCollection>
    </dataset>
    <!-- MODELO Combinado REMO -->
    <dataset name="REMO">
      <!--featureCollection name="REMO" featureType="FMRC"
path="REMO/2020_2039">
        <metadata inherited="true">
          <serviceName>all</serviceName>
        </metadata>
        <collection spec="/home/datos/netcdf/modelos/combinado/REMO/.*nc$"/>
      </featureCollection-->
    </dataset>
  </dataset>
</catalog>

The traceback:

[2014-09-11T12:42:49.946-0400] ERROR ucar.nc2.ft.fmrc.Fmrc: makeFmrcInv
java.lang.NullPointerException
at ucar.nc2.ft.fmrc.GridDatasetInv.<init>(GridDatasetInv.java:182)
at ucar.nc2.ft.fmrc.GridDatasetInv.open(GridDatasetInv.java:130)
at ucar.nc2.ft.fmrc.Fmrc.makeFmrcInv(Fmrc.java:300)
at ucar.nc2.ft.fmrc.Fmrc.update(Fmrc.java:239)
at ucar.nc2.ft.fmrc.Fmrc.checkNeeded(Fmrc.java:268)
at ucar.nc2.ft.fmrc.Fmrc.getDataset2D(Fmrc.java:184)
at thredds.catalog.InvDatasetFcFmrc.checkState(InvDatasetFcFmrc.java:103)
at thredds.catalog.InvDatasetFcFmrc.makeCatalog(InvDatasetFcFmrc.java:131)
at
thredds.servlet.DataRootHandler.makeDynamicCatalog(DataRootHandler.java:1459)
at thredds.servlet.DataRootHandler.getCatalog(DataRootHandler.java:1422)
at
thredds.server.catalogservice.LocalCatalogServiceController.handleRequestInternal(LocalCatalogServiceController.java:191)
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:925)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)
at
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
at
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
thredds.servlet.filter.CatalogServiceFilter.doFilter(CatalogServiceFilter.java:107)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
thredds.servlet.filter.RequestQueryFilter.doFilter(RequestQueryFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
thredds.servlet.filter.RequestPathFilter.doFilter(RequestPathFilter.java:102)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
thredds.server.RequestBracketingLogMessageFilter.doFilter(RequestBracketingLogMessageFilter.java:48)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
[2014-09-11T12:42:49.946-0400] ERROR ucar.nc2.ft.fmrc.Fmrc:
/home/datos/netcdf/modelos/combinado/REMO/.*nc$: makeFmrcInv failed
java.lang.RuntimeException: java.lang.NullPointerException
at ucar.nc2.ft.fmrc.Fmrc.makeFmrcInv(Fmrc.java:332)
at ucar.nc2.ft.fmrc.Fmrc.update(Fmrc.java:239)
at ucar.nc2.ft.fmrc.Fmrc.checkNeeded(Fmrc.java:268)
at ucar.nc2.ft.fmrc.Fmrc.getDataset2D(Fmrc.java:184)
at thredds.catalog.InvDatasetFcFmrc.checkState(InvDatasetFcFmrc.java:103)
at thredds.catalog.InvDatasetFcFmrc.makeCatalog(InvDatasetFcFmrc.java:131)
at
thredds.servlet.DataRootHandler.makeDynamicCatalog(DataRootHandler.java:1459)
at thredds.servlet.DataRootHandler.getCatalog(DataRootHandler.java:1422)
at
thredds.server.catalogservice.LocalCatalogServiceController.handleRequestInternal(LocalCatalogServiceController.java:191)
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:925)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)
at
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
at
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
thredds.servlet.filter.CatalogServiceFilter.doFilter(CatalogServiceFilter.java:107)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
thredds.servlet.filter.RequestQueryFilter.doFilter(RequestQueryFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
thredds.servlet.filter.RequestPathFilter.doFilter(RequestPathFilter.java:102)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
thredds.server.RequestBracketingLogMessageFilter.doFilter(RequestBracketingLogMessageFilter.java:48)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at ucar.nc2.ft.fmrc.GridDatasetInv.<init>(GridDatasetInv.java:182)
at ucar.nc2.ft.fmrc.GridDatasetInv.open(GridDatasetInv.java:130)
at ucar.nc2.ft.fmrc.Fmrc.makeFmrcInv(Fmrc.java:300)
... 45 more

-- 
Micho Garcia
http://geomati.co
  • 2014 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: