2011 Unidata NetCDF Workshop > Introduction to the NetCDF APIs and Example Programs
7.6 The Java API
The netCDF Java library provides advanced
capabilities not yet available in other language interfaces.
A separate presentation covers the netCDF Java API and the Unidata
Common Data Model, so this is just a brief overview.
Strengths
- Object-oriented interface
- Platform independence
- Advanced network support, client-server access
- Provides CF conventions compliance, coordinate systems layer
- Implements the NetCDF Markup Language (NcML), which allows
addition of metadata and creation of virtual netCDF datasets through
aggregation
- Supports reading netCDF data and data in other formats through a Common Data
Model interface: GRIB, HDF5, BUFR, GINI, DMSP, NEXRAD level 2
and 3, DORADE, ADDE, ...
- Supports on-the-fly decompression and caching
- ncgen can generate Java code from CDL for netCDF classic model data
Examples
Annotated examples of complete Java netCDF programs are available from
the program examples page.
2011 Unidata NetCDF Workshop > Introduction to the NetCDF APIs and Example Programs