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

Re: Unable to name "middle-level" dataset elements

Hi Mark,

OK. I got something that should work for you. Grab this jar file


and try it with the "dir namer" after the "netCDF namer", both inside the
datasetSource element. The order matters because the "dir namer" pattern will
match all the datasets and "directory" datasets but the code goes through them
in order and doesn't rename already named datasets.

This is a bit of a hack. I really need to rethink how all of this is working but
that's not going to happen yet.

Let me know how that goes.


Mark A Ohrenschall wrote:
> Hi Ethan,
> When I do that (and the "dir namer" datasetNamer is at the same level as the 
> "netCDF namer" datasetNamer) then the bottom-level dataset elements 
> (corresponding to the data files, i.e., the netCDF files) either get
> named using the "dir namer" datasetNamer (if it comes before the "netCDF 
> namer") or they get named after the "netCDF namer" and the "dir namer" is 
> ignored (if it comes after the "netCDF namer"). Either way, the
> middle-level dataset elements (corresponding to the directories) retain their 
> directory names.
> Thanks,
> Mark
> Ethan Davis wrote:
> > Try moving the "dir namer" datasetNamer element inside the datasetSource
> > element. I think that will work. Let me know. If not, I have a few other 
> > ideas
> > that I'm hoping aren't the case.

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/

NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.