[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDFJava #EPO-648843]: Writing netcdf4 files with chunking enabled in netcdf jav

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [netCDFJava #EPO-648843]: Writing netcdf4 files with chunking enabled in netcdf jav
  • Date: Thu, 04 Jun 2015 15:05:16 -0600

Hi Ghansham,

We have a command-line interface for this operation [1]. If you want to see how 
it's implemented, I suggest you take a look at Nccopy [2].

Yes, you will need JNA on the classpath. It will be included transitively if 
you're building with Maven or Gradle.

Cheers,
Christian

[1] 
http://www.unidata.ucar.edu/software/thredds/current/netcdf-java/reference/manPages.html#nccopy
[2] 
https://github.com/Unidata/thredds/blob/v4.6.1/cdm/src/main/java/ucar/nc2/write/Nccopy.java#L143

Ticket Details
===================
Ticket ID: EPO-648843
Department: Support netCDF Java
Priority: Normal
Status: Closed