[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Hdf5-eos aggregation question
- Subject: Re: Hdf5-eos aggregation question
- Date: Thu, 10 Jan 2008 15:19:20 -0700
Hi Penny:
A number of changes in the code are needed to handle this file, which will have
to wait until the
4.0 release is out. Hopefully a version will be ready in the next month or so.
If you want to test
with a preliminary release, let me know.
Also here is the test NcML I used, a few changes are needed:
<netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2">
<dimension name="time" length="2" />
<variable name="mytime3" type="double" shape="time">
<attribute name="units" value="days since 2007-06-01 00:00:00"/>
<attribute name="_CoordinateAxisType" value="Time"/>
<values>45 76</values>
</variable>
<aggregation type="joinNew" dimName="mytime3">
<netcdf
location="/testdata/hdf5/eos/aura/TES-Aura_L3-CH4-M2007m07_F01_04.he5"/>
<netcdf
location="/testdata/hdf5/eos/aura/TES-Aura_L3-CH4-M2007m08_F01_04.he5"/>
<variableAgg name="HDFEOS/GRIDS/NadirGrid/Data Fields/CH4"/>
</aggregation>
</netcdf>
Oots, Penny C. (LARC-E301)[SCIENCE SYSTEMS & APPLICATIONS INC.] wrote:
> I get the following error when trying to aggregate three hdf5-eos files
> in my Thredds (version 3.16.27) server
>
>
>
> Error { code = -1; message = "Server Error on dataset
> TESmethane_aggregation"; };
>
>
>
> In the catalina.out log I see the following error:
>
> 2008-01-04T09:28:04.030 -0500 [ 82575][ 18] ERROR -
> thredds.server.opendap.NcDODSServlet - Error
>
> java.lang.IllegalArgumentException: Variable
> /HDFEOS//HDFEOS/GRIDS//HDFEOS/GRIDS/NadirGrid//HDFEOS/GRIDS/NadirGrid/Data_Fields/CH4
> setDimensions = null null null FAILED, dim doesnt exist=null
>
> at ucar.nc2.Variable.setDimensions(Variable.java:1160)
>
>
>
> Here is the catalog.xml code used:
>
>
>
> <dataset name="TESmethane" ID="TESmethane" serviceName="thisDODS"
>
> urlPath="TESmethane_aggregation">
>
> <netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2">
>
>
>
> <variable name="mytime3" type="double" shape="time">
>
> <attribute name="units" value="days since 2007-06-01 00:00:00"/>
>
> <attribute name="_CoordinateAxisType" value="Time"/>
>
> <values>15 45 76</values>
>
> </variable>
>
>
>
> <aggregation type="joinNew" dimName="mytime3">
>
> <netcdf
> location="/usr/local/tomcat/content/thredds/public/testdata/TES_Aura_L3_CH4_M2007m06_F01_04.he5"/>
>
> <netcdf
> location="/usr/local/tomcat/content/thredds/public/testdata/TES-Aura_L3-CH4-M2007m07_F01_04.he5"/>
>
> <netcdf
> location="/usr/local/tomcat/content/thredds/public/testdata/TES-Aura_L3-CH4-M2007m08_F01_04.he5"/>
>
> <variableAgg name="CH4"/>
>
> </aggregation>
>
> </netcdf>
>
> </dataset>
>
>
>
> Opendap version being used is Hyrax 1.2.1.
>
>
>
> I have successfully aggregated netcdf files using similar code (with
> help from Roland Schweitzer).
>
>
>
> The server I am using is not public but the three data files can be
> downloaded from
>
> ftp://l4ftl01.larc.nasa.gov/TES/TL3CH4M.001/
>
> I am using the files under 2007.06.02, 2007.07.02 and 2007.08.02.
> (Note, the file name under 2007.06.02 starts with TES_ and the others
> start with TES-. Not sure why.)
>
>
>
> Would appreciate any help or insight on how to accomplish this aggregation.
>
> Thanks,
>
> Penny Oots
> Science Systems & Applications Inc.
> NASA Langley Research Center, MS 157D
> Hampton, VA 23681-2199
> (757) 864-9816
>
>
>