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.
Unidata Support wrote:
------- Forwarded MessageTo: Unidata Support <address@hidden> From: Tom Whittaker <address@hidden> Subject: HDF5 file with java netcdf2.2 Organization: SSEC Keywords: 200511012021.jA1KLa7s018889 netCDF JavaHi gang...One of our scientists has an HDF5 file that opens fine with the ToolsUI, but when I try to open it with "NetcdfFile()", I get an exception about it not being a Netcdf file. Obviously I'm missing something...like how should I be opening this file?Thanks... tom
make sure youre using NetcdfFile.open(), not new NetcdfFile()