NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: appending arbitrary netCDF files

Mark A Ohrenschall wrote:

Hello,

I know I can use ncks to append two netCDF files which share a common
dimension, but I'd like to append two netCDF files which have (syntactically)
nothing in common. No shared dimensions, coordinates, nada. I just want a
combined netCDF file.

Is there any way to do this?

Thanks,

Mark
ncml can be used to create a "union" of two or more files. you can use ucar.nc2.dataset.FileWriter to then copy to a physical netcdf file.

see

http://www.unidata.ucar.edu/packages/netcdf/ncml/NetcdfAggregation.html

for more info on how to write the ncml.


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