[netcdf-java] [netCDFJava #IAO-531526]: Does FMRC work for WRF files?

maybe need the new netcdf-java library in the TDS (?)
do you want to just copy it in, or shall i give you a new release of TDS?

> NJ guys,
> 
> Dang it.  I'm really limping toward the finish line.
> 
> The FRMC is working fine in the ToolsUI, but in the TDS, I'm still
> having problems.   The error in "models.log" is:
> 18/May/2009:15:31:51] ERROR thredds.catalog.InvDatasetFmrc : Error
> making catalog for wrf/fmrc_test
> java.lang.NullPointerException
> at 
> ucar.nc2.ncml.AggregationOuterDimension$DatasetOuterDimension.read(AggregationOuterDimension.java:784)
> at ucar.nc2.ncml.AggregationFmrc.read(AggregationFmrc.java:511)
> 
> My Catalog looks like this:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <catalog name="Caricoos FMRC Test"
> xmlns="http://www.unidata.ucar.edu/namespaces/thredds/InvCatalog/v1.0";
> xmlns:xlink="http://www.w3.org/1999/xlink";>
> 
> <service name="all_services" serviceType="Compound" base="">
> <service name="dap" serviceType="OPENDAP" base="/thredds/dodsC/"/>
> </service>
> <dataset name="FMRC test">
> <metadata inherited="true">
> <serviceName>all_services</serviceName>
> </metadata>
> 
> <datasetFmrc name="FMRC test" path="wrf/fmrc_test">
> <netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2";>
> <aggregation dimName="runtime"
> type="forecastModelRunCollection" recheckEvery="10min">
> <scan location="file:C:/RPS/cf/caricoos"
> regExp=".*wrfout_d01.*\.nc$"  subdirs="false"
> dateFormatMark="wrfout_d01_#yyyy-MM-dd_hh" olderThan="5 min"/>
> </aggregation>
> <attribute name="Conventions" type="String" value="CF-1.0"/>
> </netcdf>
> </datasetFmrc>
> </dataset>
> </catalog>
> 
> See anything obvious?
> 
> Thanks,
> Rich
> 
> 
> On Mon, May 18, 2009 at 2:52 PM, Unidata netCDF Java Support
> <support-netcdf-java@xxxxxxxxxxxxxxxx> wrote:
> > NcML is misinterpresting
> >
> >  C:\RPS\cf\caricoos
> >
> > as a path reletive to the NcML file.
> >
> > You should use
> >
> >  <scan location="C:/RPS/cf/caricoos" suffix=".nc" subdirs="true"
> >
> > instead of
> >
> >  <scan location="C:\RPS\cf\caricoos" suffix=".nc" subdirs="true"
> >
> > or even better:
> >
> >  <scan location="file:C:/RPS/cf/caricoos" suffix=".nc" subdirs="true"
> >
> >
> > see this for more info:
> >
> > http://www.unidata.ucar.edu/software/netcdf-java/reference/DatasetUrls.html
> >
> > "When using a directory location that has an embedded ':' char, eg 
> > C:/share/data/model.nc, its a really good idea to add the file: prefix, to 
> > prevent the 'C:' from being misinterpreted as a URI schema. Future versions 
> > of NcML may use URIs for the location."
> >
> >
> > Ticket Details
> > ===================
> > Ticket ID: IAO-531526
> > Department: Support netCDF Java
> > Priority: Normal
> > Status: Open
> >
> >
> 
> 
> 
> --
> Dr. Richard P. Signell   (508) 457-2229
> USGS, 384 Woods Hole Rd.
> Woods Hole, MA 02543-1598
> 
> 


Ticket Details
===================
Ticket ID: IAO-531526
Department: Support netCDF Java
Priority: Normal
Status: Open



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