Thanks Roy,
I was just about to say "Grrr! That didn't work either" when I checked my
THREDDS server version. For some inexplicable reason, I seem to have
downloaded and installed version 3.1, not 3.6! With version 3.6 installed,
things seem to be working as expected, which is a great relief.
OK, now I see why I installed 3.1 -- the link on the main Unidata Download page
(http://www.unidata.ucar.edu/downloads/thredds/index.jsp) is to version 3.1,
not 3.6
Regards, Mike
-----Original Message-----
From: Roy Mendelssohn [mailto:Roy.Mendelssohn@xxxxxxxx]
Sent: Wednesday, March 15, 2006 10:19 AM
To: Godin, Michael; thredds@xxxxxxxxxxxxxxxx
Cc: jerome.king@xxxxxxxx
Subject: RE: Anyone with successful aggregation?
Hi Mike:
Yeah, we have it working. Take a look at:
http://oceanwatch.pfeg.noaa.gov:8081/thredds/catalogServices?catalog=http://oceanwatch.pfeg.noaa.gov:8081/thredds/aggreg/catalog.xml
We have also tested it with matlab. There are 360 files I think in each case.
One aggregates based on the file name, the other aggregates based on time
inside the file. If you have questions as to how we did it, contact Jerome
King at the email above. I have cc:'ed him.
Regards,
-Roy M.
At 9:52 AM -0800 3/15/06, Godin, Michael wrote:
>I am using THREDDS 3.6, and like Bjørge Solli, I have been trying out
>the example aggregation code. When I initialize the catalog, I get no
>errors or warning in the catalog error file (with addition of
>dataType="Grid" to the dataset element).
>
>I am then able to select the "WEST-CONUS_4km Aggregation" dataset.
>However, when I select the Access: OPENDAP link, I get the error:
>
>Error { code = 1; message = "No data root for
>dodsC/satellite/3.9/WEST-CONUS_4km"; };
>
>In one of many attempted workarounds, I tried putting the ncml into its
>own file so I could access it through an <access> element. However, it
>appears that the <access> element ignores the dataFomat="NcML"
>attribute and tries to open the ncml as a netcdf and throws an error.
>
>If anyone has an example xml that uses netcdf aggregation elements
>please let me know... I really need this to work!
>
>BTW, my xml is:
>
><catalog
>xmlns="http://www.unidata.ucar.edu/namespaces/thredds/InvCatalog/v1.0"
> xmlns:xlink="http://www.w3.org/1999/xlink"
> name="THREDDS-IDD OPeNDAP Data Server"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>
>xsi:schemaLocation="http://www.unidata.ucar.edu/namespaces/thredds/InvCatalog/v1.0
> http://www.unidata.ucar.edu/schemas/thredds/InvCatalog.1.0.1.xsd"
> version="1.0.1">
> <service name="ncdods" serviceType="OPENDAP" base="/thredds/dodsC/"
>/>
> <dataset name="WEST-CONUS_4km Aggregation"
>ID="SSEC/IDD-Satellite/3.9/WEST-CONUS_4km-Agg"
>urlPath="satellite/3.9/WEST-CONUS_4km"
>dataType="Grid">
> <serviceName>ncdods</serviceName>
> <netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2">
> <aggregation dimName="time" type="joinNew">
> <variableAgg name="IR" />
> <scan
>dateFormatMark="WEST-CONUS_4km_3.9_#yyyyMMdd_HHmm"
>location="/data/ldm/pub/native/satellite/3.9/WEST-CONUS_4km/"
>suffix=".gini" />
> </aggregation>
> </netcdf>
> </dataset>
></catalog>
--
**********************
"The contents of this message do not reflect any position of the U.S.
Government or NOAA."
**********************
Roy Mendelssohn
Supervisory Operations Research Analyst
NOAA/NMFS
Environmental Research Division
Southwest Fisheries Science Center
1352 Lighthouse Avenue
Pacific Grove, CA 93950-2097
e-mail: Roy.Mendelssohn@xxxxxxxx (Note new e-mail address)
voice: (831)-648-9029
fax: (831)-648-8440
www: http://www.pfeg.noaa.gov/
"Old age and treachery will overcome youth and skill."