Re: [netcdf-java] FeatureCollections

That is a useful tip to consider, thanks!


On 11/10/2016 02:03 PM, 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@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/




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