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

4.0.43 is ready for you to grab.> John,
> 
> You'll let me know?  Or do I just get the nightly netcdf-java.jar
> tomorrow AM, drop it in the tomcat/webapps/thredds/WEB-INF/lib
> directory and give it a whirl?
> 
> -Rich
> 
> On Tue, May 19, 2009 at 11:54 AM, Unidata netCDF Java Support
> <support-netcdf-java@xxxxxxxxxxxxxxxx> wrote:
> > Hi Rich:
> >
> > Wow, you are the bug magnet! Its a problem with the WRF coordSysBuilder, 
> > its been there since the beginning of time.
> > Ill have a fix this afternoon.
> >
> > seriously, my apologies for these problems, and thanks again for your 
> > patience is unravelling them.
> >
> >
> >
> >> John,
> >>
> >> Ah, right.  I saw the May 15 release date on the TDS and thought it
> >> had the new NetCDF-Java.jar.
> >>
> >> Okay, 1 step forward:
> >>
> >> I copies the latest netcdf-java into the latest TDS, and now the FMRC
> >> datasets pop up.  Yeah!
> >>
> >> But when I try to access the OpenDAP URL from the "Best time series" I
> >> have problems:
> >>
> >> If I bring up:
> >> http://omglnx1.meas.ncsu.edu:8080/thredds/dodsC/caricoos/wrf/fmrc_test/FMRC_test_best.ncd
> >>
> >> in ToolsUI, I get "null".
> >>
> >> And in Matlab, I get:
> >> May 18, 2009 6:48:36 PM ucar.nc2.dods.DODSNetcdfFile readArrays
> >>
> >> SEVERE: ERROR readDataDDSfromServer on
> >> ?Time_offset,CF1,CF2,CF3,CFN,CFN1,DN,DNW,DZS,FNM,FNP,ITIMESTEP,LAT_LL_D,LAT_LL_T,LAT_LL_U,LAT_LL_V,LAT_LR_D,LAT_LR_T,LAT_LR_U,LAT_LR_V,LAT_UL_D,LAT_UL_T,LAT_UL_U,LAT_UL_V,LAT_UR_D,LAT_UR_T,LAT_UR_U,LAT_UR_V,LON_LL_D,LON_LL_T,LON_LL_U,LON_LL_V,LON_LR_D,LON_LR_T,LON_LR_U,LON_LR_V,LON_UL_D,LON_UL_T,LON_UL_U,LON_UL_V,LON_UR_D,LON_UR_T,LON_UR_U,LON_UR_V,P_TOP,RDN,RDNW,RDX,RDY,RESM,Times,XTIME,ZETATOP,ZNU,ZNW,ZS,Mercator,Time,Time_run,x,x_stag,y,y_stag,z,z_stag,soilDepth
> >>
> >> java.io.EOFException
> >>
> >> at java.io.DataInputStream.readInt(Unknown Source)
> >>
> >> at java.io.DataInputStream.readFloat(Unknown Source)
> >>
> >> at 
> >> opendap.dap.Float32PrimitiveVector.deserialize(Float32PrimitiveVector.java:166)
> >>
> >> at opendap.dap.DVector.deserialize(DVector.java:241)
> >>
> >>
> >> The catalog is at:
> >> http://omglnx1.meas.ncsu.edu:8080/thredds/caricoos_fmrc.html
> >>
> >> -Rich
> >>
> >>
> >> On Mon, May 18, 2009 at 4:00 PM, Unidata netCDF Java Support
> >> <support-netcdf-java@xxxxxxxxxxxxxxxx> wrote:
> >> >
> >> > 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
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> 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
> >
> >
> 
> 
> 
> --
> 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: