Re: [thredds] THREDS v4.2.7 Feature Collections

Thanks, John, the quoted examples have worked.

----------------------------------------------------------------------

Message: 1
Date: Wed, 06 Jul 2011 15:17:51 -0600
From: John Caron <caron@xxxxxxxxxxxxxxxx>
To: thredds@xxxxxxxxxxxxxxxx
Subject: Re: [thredds] THREDS v4.2.7 Feature Collections
Message-ID: <4E14D0FF.1050505@xxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"

> Still have a problem, though, defining wildcard filenames so that the 
> files get grouped together. If I specify a single file name, i.e 
> <collection 
> spec="C:/data/datasets/forecasts/DNMI-Nsea.2011-07-06.grb"/>,
> everything works:
> [2011-07-06T11:58:28.140+0100] INFO
> thredds.inventory.bdb.MetadataManager: MetadataManager: open bdb at 
> root C:\Program Files\Apache Software Foundation\Tomcat 6.0 
> THREDDS\content\thredds/cache/collection/ readOnly = false 
> [2011-07-06T11:58:28.153+0100] INFO
> thredds.inventory.bdb.MetadataManager: NMIFMRC #files deleted = 0 
> [2011-07-06T11:58:28.381+0100] INFO  ucar.nc2.ft.fmrc.Fmrc:
> C:/data/datasets/forecasts/DNMI-Nsea.2011-07-06.grb: make new Dataset,

> new proto = false [2011-07-06T11:58:28.383+0100] INFO  
> ucar.nc2.ft.fmrc.Fmrc:
> C:/data/datasets/forecasts/DNMI-Nsea.2011-07-06.grb: make new Dataset,

> new proto = false However, if I try using a wildcard substitute, i.e. 
> <collection 
> spec="C:/data/datasets/forecasts/DNMI-Nsea.2011-07-??.grb"/> or 
> <collection
> spec="C:/data/datasets/forecasts/DNMI-Nsea.2011-07-*.grb"/>,   it
fails:

these are regular expressions, not wildcard syntax. I think you would
need for those 2 examples:

C:/data/datasets/forecasts/DNMI-Nsea.2011-07-..\.grb$

C:/data/datasets/forecasts/DNMI-Nsea.2011-07-.*grb$

The $ "end anchor" is important to exclude index files that sometimes
are in the same directory.