Re: [netcdf-java] Aggregating NetCDF files programmatically

Hi John and Guy,

----- Original Message -----
> From: "John Caron" <caron@xxxxxxxxxxxxxxxx>
> One workaround would be to construct the NcML as a string in memory
> and pass it to NcMLReader.readNcML () with a ByteArrayInputStream:
> [...]

This is what we are doing in our Raster Storage Archive (RSA [1] / SpatialCube 
[2]). We have code for constructing an NCML dataset in-memory, and it's 
available under the GPL v3. The code to look at is in this directory:

- AggregationDefinition is the data model (XStream-based)
- AggregationFactory has methods for constructing the model
- AggregationOpener converts the model to NCML and opens the aggregated dataset

There's also RsaAggregationFactory which has special code for interacting with 
our data store.


Alex Fraser
Software Engineer


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