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.
Are feature collections still supported by netcdf-java? I get the following stack trace attempting to open one:java.lang.ClassNotFoundException: thredds.catalog.InvDatasetFeatureCollection
at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357)at thredds.catalog.parser.jdom.InvCatalogFactory10.readFeatureCollection(InvCatalogFactory10.java:344) at thredds.catalog.parser.jdom.InvCatalogFactory10.readDatasetInfo(InvCatalogFactory10.java:330) at thredds.catalog.parser.jdom.InvCatalogFactory10.readDataset(InvCatalogFactory10.java:242) at thredds.catalog.parser.jdom.InvCatalogFactory10.readCatalog(InvCatalogFactory10.java:191) at thredds.catalog.parser.jdom.InvCatalogFactory10.parseXML(InvCatalogFactory10.java:124) at thredds.catalog.InvCatalogFactory.readXML(InvCatalogFactory.java:471) at thredds.catalog.InvCatalogFactory.readXML(InvCatalogFactory.java:350) at thredds.catalog.InvCatalogFactory.readXML(InvCatalogFactory.java:295)
Kind Regards Niels On 10-11-16 14:03, Antonio S. Cofiño wrote:
Niels,Yes, it would interesting to have the optionto specify the explicit collection of filesand technically Idon't see any limitation on featureCollection to developthis feature. In fact, the featureCollection creates this collection internally.Meanwhile what you can do it's justto create a directorywith the specific files inside or symbolic links inside to the ones you want and uses the example 1 which appears on the doc.<featureCollection name="MyCollectionOfFiles" featureType="GRIB2" path="grib/collection/files"> <collection name="MyCollectionOfFiles" spec="/directory/with/symbolink/links/*\.grib2$"/></featureCollection>Another option it could be explicit add files into the regular expression into the specs attribute. I never tried this because I'm not good with regexp but also it would be a problem if the list of files it's too long.Regards Antonio On 10/11/16 12:36, Niels Charlier wrote:Hello,I have a question regarding FeatureCollections (http://www.unidata.ucar.edu/software/thredds/current/tds/reference/collections/FeatureCollections.html)The XSD scheme only allows specifying a regular expression to pick files from the file system. We are investigating the possibility to implement a way to specify a list of files instead (without a consistent naming system). I'm just trying to figure out if this is even possible - since we are bound by the existing XSD scheme, right? If in any way possible, what would be involved?Kind Regards, Niels _______________________________________________ NOTE: All exchanges posted to Unidata maintained email lists are recorded in the Unidata inquiry tracking system and made publicly available through the web. Users who post to any of the lists we maintain are reminded to remove any personal information that they do not want to be made public. netcdf-java mailing list netcdf-java@xxxxxxxxxxxxxxxxFor list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/
netcdf-java
archives: