Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

[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


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690