- To: thredds@xxxxxxxxxxxxxxxx, Java NetCDF <netcdf-java@xxxxxxxxxxxxxxxx>
- Subject: Re: [thredds] Collection Specification
- From: John Caron <caron@xxxxxxxxxxxxxxxx>
- Date: Fri, 16 Dec 2011 15:21:32 -0700
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.xmlreadCatalog(): valid catalog -- ----Catalog Validation version 1.0.01**Error: DatasetFmrc =fnl directory= <//fgwfnas1/data/fnl/grib1/fnl[12][09][09][0-9].*> does not existRegards, Glenn _______________________________________________ thredds mailing list thredds@xxxxxxxxxxxxxxxxFor 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/
- Follow-Ups:
- Re: [thredds] Collection Specification
- From: Gallagher James
- Re: [thredds] Collection Specification
- References:
- [thredds] Collection Specification
- From: Comiskey, Glenn
- Re: [thredds] Collection Specification
- From: John Caron
- [thredds] Collection Specification