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

Re: fmrc error



On 7/29/2011 11:06 AM, tom cook wrote:
HI John, I was just wondering if you had any time to look at the email
I sent on Monday?

On Mon, Jul 25, 2011 at 2:04 PM, tom cook<address@hidden>  wrote:
HI John,
I forgot to tell you before I left that I was able to get the fmrc
collection running by enabling a service (duh!). I still have a couple
of issues that I hope you can help with. One, when I enable all
services (dods, wcs, wms, nccs) it seems like the server times out and
I get a blank screen. So far I've tried dods and wms alone and they
work. Haven't gotten around to test the others, but I think ncss may
be the problem.

hmm, i havent seen that, but these a good change you are getting an error in threddsServlet.log. try to make it happen and then check in the logs.

Second, my data is saved in a filesystem like

/data1/HFRadar/RTV/USWC/YYYY_MM/NetCDF/#yyyyMMddHHmm#_HFRadar_USWC_6km_rtv_SIO.nc$

I'd like to scan all the folders under NetCDF. but when I use
/data1/HFRadar/RTV/USWC/**/NetCDF/#yyyyMMddHHmm#_HFRadar_USWC_6km_rtv_SIO.nc$
it doesn't work. It will work supplying the actual YYYY_MM folder ie:
/data1/HFRadar/RTV/USWC/2011_07/NetCDF/#yyyyMMddHHmm#_HFRadar_USWC_6km_rtv_SIO.nc$

i think this is a problem where the /**/ actually has to be at the end of the path, ie /root/**/regexp. I will have to test this to be sure.


Below is (most of) my catalog.xml.

BTW thanks again, I got a lot out of the training.
Tom

  <service name="allServices" base="" serviceType="compound">
    <service name="ncdods" serviceType="OPENDAP" base="/thredds/dodsC/"/>
    <service name="wcs" serviceType="WCS" base="/thredds/wcs/"/>
    <service name="ncss" serviceType="NetcdfSubset" base="/thredds/ncss/grid/"/>
    <service name="wms" serviceType="WMS" base="/thredds/wms/"/>
  </service>


<featureCollection name="USWC_6km" featureType="FMRC"
path="HFRNET/USWC_6km/FMRC">
  <metadata inherited="true">
  <serviceName>wms</serviceName>
  <documentation type="Summary">  6km HF Radar Data</documentation>
  </metadata>
  <collection 
spec="/data1/HFRadar/RTV/USWC/2011_07/NetCDF/#yyyyMMddHHmm#_HFRadar_USWC_6km_rtv_SIO.nc$"
recheckAfter="15 min" name="USWC_6km_RTV_fmrc"
  olderThan="5 min"/>
  <!--   Re-scan the directory each hour at 5 minutes and 0 seconds
past the hour -->
  <update startup="true" rescan="0 5 * * * ? *" trigger="allow"/>
  <fmrcConfig regularize="false" datasetTypes="Best"/>
  </featureCollection>



On Fri, Jul 22, 2011 at 1:57 PM, tom cook<address@hidden>  wrote:
2011-07-22T20:55:07.876 +0000 [      8646][      12] ERROR -
thredds.server.catalogservice.LocalCatalogServiceController -
handleRequestInternal(): Problem handling request.
java.lang.NullPointerException
        at 
thredds.catalog.InvDatasetFeatureCollection.makeVirtualService(InvDatasetFeatureCollection.java:252)
        at thredds.catalog.InvDatasetFcFmrc.checkState(InvDatasetFcFmrc.java:87)
        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)