working aggregation breaks with upgrade to TDS 4.X

8 views
Skip to first unread message

Davie Robertson

unread,
Oct 16, 2009, 9:25:26 AM10/16/09
to IOOS Model Data Interoperability Working Group
Hi all,

I want to upgrade my TDS to 4.1 so I can serve compressed netcdf 4
files. I have tested it and it works great! However the upgrade to 4.1
breaks a couple of my aggregated datasets. The problem occurs when my
aggregating variable and it's dimension have different names. For
example my working dataset uses ocean_time(ocean_time) but the broken
ones use ocean_time(time). 3.17 works fine for either case but 4.1
(and probably 4.0) crap out with:

Error {
code = 500;
message = "AggregationExisting: no coordinate variable for agg
dimension=time";
};

The relevant section of my catalog is:

<dataset name="Averages"
ID="eac_301_averages"
urlPath="roms/eac/301/avg" >

<netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/
ncml-2.2">
<aggregation dimName="ocean_time" type="joinExisting">
<scan
location="/home/om/dods-data/thredds/roms/eac/301/avg/"
suffix=".nc" />
</aggregation>
</netcdf>
</dataset>

Any ideas? The earlier runs with ocean_time(ocean_time) are fine on
4.1 and 3.17.

Thanks,
David Robertson

Richard Signell

unread,
Oct 16, 2009, 11:39:16 AM10/16/09
to ioos_model_...@googlegroups.com
Dave,

I'm not sure what changed, but stuff in time aggregations need to
understand time, I believe, so one way to fix it would be to add:

<dimension name="ocean_time" orgName="time"/>

to rename your dimension "time" => "ocean_time".

So for example your aggregation would look like:

<aggregation dimName="ocean_time" type="joinExisting">
<dimension name="ocean_time" orgName="time"/>
<scan
location="/home/om/dods-data/thredds/roms/eac/102/avg/"
suffix=".nc" />
</aggregation>

-Rich
--
Dr. Richard P. Signell (508) 457-2229
USGS, 384 Woods Hole Rd.
Woods Hole, MA 02543-1598
Reply all
Reply to author
Forward
0 new messages