Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: [thredds] Collection Specification

For the Collection Specification, Im thinking of using this when we start using Java 7 (which will be in version 4.4):

<http://docs.oracle.com/javase/7/docs/api/> http://docs.oracle.com/javase/7/docs/api/java/nio/file/FileSystem.html#getPathMatcher(java.lang.String) <http://docs.oracle.com/javase/7/docs/api/java/nio/file/FileSystem.html#getPathMatcher%28java.lang.String%29>

Comments on this decision would be welcome.

On 12/14/2011 8:40 AM, John Caron wrote:
On 12/14/2011 6:24 AM, Comiskey, Glenn wrote:
Does the <featureCollection> <collection spec=""/> </featureCollection> only support regular expresions in the filename section, or is it suppose to support it in the directory path as well?
Trying to select subdirectories 1999-2009 only:

<collection spec="//fgwfnas1/data/fnl/grib1/fnl[12][09][09][0-9].*/.*grib$"/>

readCatalog(): full path=C:\Tomcat\content\thredds\catalogs\f.xml; path=catalogs/f.xml
readCatalog(): valid catalog -- ----Catalog Validation version 1.0.01
**Error: DatasetFmrc =fnl directory= <//fgwfnas1/data/fnl/grib1/fnl[12][09][09][0-9].*> does not exist
Regards,
Glenn


_______________________________________________
thredds mailing list
thredds@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit:http://www.unidata.ucar.edu/mailing_lists/

hi glenn:

sorry its taking me so long to catch up here. yes, i have a rather kludgy piece of code implementing the collection spec, only allows regular expressions after the last slash. the problem is also trying to support ant style /**/ syntax.

ill try to find some code for full regexps. if anyone knows of any, let me know.

john


_______________________________________________
thredds mailing list
thredds@xxxxxxxxxxxxxxxx
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/

  • 2011 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: