[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: <dataset> Listing Order



Hi Mark,

Mark A Ohrenschall wrote:
> 
> I'm wondering if the catalog generator crawls files -- and thus lists
> <dataset> elements -- in file timestamp order, same as doing an ls -lt
> from a command prompt.

I'm afraid not. It currently orders them alphabetically by the name. A quick
hack when I needed our test server datasets ordered. Adding a sorting capability
is on my list of tasks for the catalog generator.

> The reason I'm asking is that I'm using (bastardizing?) the catalog
> generator to create a DODS Aggregation Server catalog (with editing),
> and the order that the files are being aggregated is defaulting to the
> order that I get them from the THREDDS catalog generator. Are there (can
> I wish for) any ordering options in the catalog generator?

Yes.

> Can I also wish for an option to generate DODS AS catalogs? Anyone else
> creating DODS AS catalogs?

Creating DODS AggServer config files is also on my list for the catalog
generator.

I'm planning on focusing on the catalog generator for a few weeks starting
towards the end of May. A refactoring of the code; some rethinking of how the
datasetSource, datasetFilter, and datasetNamer elements are handled and how they
interact (sort and aggServer probably fall in here); and adding other metadata
capabilities. So, keep the ideas coming.

Ethan

-- 
Ethan R. Davis                       Telephone: (303) 497-8155
Software Engineer                    Fax:       (303) 497-8690
UCAR Unidata Program Center          E-mail:    address@hidden
P.O. Box 3000
Boulder, CO  80307-3000              http://www.unidata.ucar.edu/