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

[THREDDS #ZMI-588838]: Simple "dateFormatMark" question



Text can be quoted using single quotes (') to avoid interpretation.

so try

#/data/#yyyy'/his_'MMdd

(but i didnt test it)


> John & Co,
> 
> I'm trying to use "dataFormatMark" to match files like:
> 
> c:/data/2009/his_0101.nc
> c:/data/2009/his_0102.nc
> c:/data/2009/his_0103.nc
> 
> I've tried:
> <aggregation dimName="runtime"
> type="forecastModelRunCollection" recheckEvery="10min">
> <scan location="c:/data/" suffix=".nc"
> dateFormatMark="#/data/#yyyy/his_MMdd"
> subdirs="true" olderThan="5 min"/>
> </aggregation>
> 
> The "his" text in between the year (yyyy) and the month/day (MMdd) is
> a problem that I don't know how to avoid.  Is there a way to use ???
> or something to specify characters that you don't want interpreted as
> a possible date?
> 
> Thanks,
> Rich
> --
> Dr. Richard P. Signell   (508) 457-2229
> USGS, 384 Woods Hole Rd.
> Woods Hole, MA 02543-1598
> 
> 


Ticket Details
===================
Ticket ID: ZMI-588838
Department: Support THREDDS
Priority: Normal
Status: Closed