Package noaa.coastwatch.io
Provides classes for reading and writing earth data in a variety of formats.
The basis of all earth data reading functionality in the software
is the EarthDataReader
class and subclasses. The reader classes provide generic methods for
reading metadata and data variables one at a time from HDF, NetCDF, and NOAA 1b
files. To open a new file of unknown format, use the EarthDataReaderFactory
, which attempts to guess the
file format and provide an EarthDataReader
object.
The reader classes can be grouped by format and capabilities as follows:
Class | Metadata | Earth Tranform | Data Buffering |
---|---|---|---|
NetCDF 3/4 Format (NCReader subclasses) | |||
CommonDataModelNCReader | CF-1.4 | Grid mapped projections supported by the Java NetCDF library, also lat/lon projections with explicitly specified points. | Per-variable tile caching |
CWNCReader | CoastWatch HDF 3.4 | Map projection only | None |
CWCFNCReader | CF-1.4 with CoastWatch extensions | Map projection only | None |
HDF 4 Format (HDFReader subclasses) | |||
CWHDFReader | CoastWatch HDF 3.4 | Map projection (GCTP), satellite swath, ellipsoid perspective | Per-variable tile caching |
TSHDFReader | TDF | Map projection (equirect, polar stereo, Mercator), satellite swath | Per-variable tile caching |
NOAA 1b AVHRR (NOAA1bReader subclasses) | |||
NOAA1bV1Reader, NOAA1bV2Reader, NOAA1bV3Reader, NOAA1bV4Reader, NOAA1bV5Reader | NOAA 1b-specific | Satellite swath (AVHRR LAC and GAC) | Per-variable scan line caching |
NOAA 1b Non-AVHRR | |||
NOAA1bFileReader | NOAA 1b-specific | Satellite swath (AMSU-A, AMSU-B, HIRS4, MHS) | Per-variable scan line caching |
The writer classes, subclasses of EarthDataWriter
, support the creation of many
different output file formats. In particular, the BinaryWriter
classes write data variables as a
stream of binary data values, the TextWriter
class handles the writing of ASCII text
files, and the CWHDFWriter
writes
CoastWatch HDF format.
-
ClassDescriptionThe
AbstractReaderList
class implements some of the more universal methods for aReaderList
.Deprecated.Deprecated.As of version 3.4.1, format is not produced anymore, replaced byCommonDataModelNCReader
compatible files.Deprecated.As of version 3.4.1, format is not produced anymore, replaced byCommonDataModelNCReader
compatible files.An Arc writer is a float writer that writes a binary format file for input to ArcView or ArcInfo as a binary grid.TheBinaryStreamReader
class reads streams of binary data described by an XML template.TheBinaryStreamReaderFactory
class handles efficient storage and retrieval of stream readers for specific classes.A binary writer is an earth data writer that writes variable data as a stream of binary values.A byte writer is a binary writer that writes data as a stream of 8-bit unsigned bytes.ACachedGrid
is aGrid
that uses temporary caching to reduce the overall memory footprint of gridded data.A CF NetCDF 4 writer creates NetCDF 4 format files with CF metadata using the Nujan NetCDF 4 writing library.A CF NetCDF writer creates NetCDF format files with CF metadata using the Unidata Java NetCDF library.TheCommonDataModelNCReader
class reads Java NetCDF API accessible datasets and attempts to use any metadata and geographic referencing information that the NetCDF layer provides.TheCWCFNCReader
class reads Java NetCDF accessible datasets and uses the CoastWatch HDF metadata conventions to parse the attribute and variable data.A CWHDF reader is an earth data reader that reads CoastWatch HDF format files using the HDF library class.A CoastWatch HDF writer is an earth data writer that writes CoastWatch HDF format files using the HDF library class.TheCWNCReader
class reads Java NetCDF accessible datasets and uses the CoastWatch HDF metadata conventions to parse the attribute and variable data.TheCWOpendapReader
class reads OPeNDAP accessible datasets and uses the CoastWatch HDF metadata conventions to parse the attribute and variable data.The data transfer class allows for the generic connection between input and output streams.A data transfer adapter provides default implementations for a data transfer listener.A data transfer event handles the details of a data transfer.A data transfer listener receives data transfer events and performs some appripriate action in response.AnEarthDataReader
obtains earth data from a data source and provides it to the user in a consistent format.The earth data reader factory class creates an appropriate earth data reader object based on a file name.TheEarthDataWriter
interface is for classes that obtain data fromEarthDataInfo
andDataVariable
objects and format the information to some output destination.TheEarthImageWriter
has a single static method that writes image data from anEarthDataView
to one of various formats.A float writer is a binary writer that writes data as a stream of 32-bit IEEE floating point values.TheGeoTIFFDataWriter
encodes a set of data variables as a 32-bit floating-point value multiband TIFF file with GeoTIFF georeferencing tags.A GeoTIFF writer uses an earth image transform and rendered image to create a TIFF file with extra TIFF tags decribing the earth location of the image data.TheGIFWriter
class writes non-interlaced GIF87a images from a rendered Java image.TheGridSubsetReader
is an interface that anyEarthDataReader
can implement to indicate that it is capable of reading grid data in a subset/subsampled form.TheHDF5Lib
object provides a singleton interface for accessing a thread-safe version of the HDF 5 library.The HDF cached grid class is a cached grid that understands how to read variable data from HDF files.TheHDFLib
object provides a singleton interface for accessing a thread-safe version of the HDF 4 library.An HDF reader is an earth data reader that reads HDF format files using the HDF library class.The HDF scientific dataset (SD) interface sets the methods required for all HDF SD classes.An HDF writer is an earth data writer that writes HDF format files using the HDF library class.The IO services class defines various static methods relating to input/output services.TheNCCachedGrid
class is a cached grid that understands how to read variable data from NetCDF files.TheNCReader
class is the base class for readers that use the Java NetCDF API to read and parse metadata.The NetCDF scientific dataset (SD) interface sets the methods required for all NetCDF SD classes.The NOAA1b cached grid class is a cached grid that understands how to read variable data from NOAA1b files.A NOAA 1b reader is an earth data reader that reads NOAA 1b format GAC/LAC/HRPT data files available from the NOAA/NESDIS Satellite Active Archive.TheLongitudeInterpolator
class performs longitude interpolation using polar coordinates.A NOAA 1b version 1 reader is a NOAA 1b reader that reads NOAA 1b format NOAA-A through -J GAC/LAC/HRPT data files available from the NOAA/NESDIS Satellite Active Archive.A NOAA 1b version 2 reader is a NOAA 1b reader that reads NOAA 1b format KLM GAC/LAC/HRPT data files available from the NOAA/NESDIS Satellite Active Archive.A NOAA 1b version 3 reader is a NOAA 1b reader that reads NOAA 1b packed format KLMNN' GAC/LAC/HRPT data files available from the NOAA/NESDIS Satellite Active Archive.A NOAA 1b version 4 reader is similar to the 1b version 3 reader except that it accepts the version 4 in the archive and data headers.A NOAA 1b version 5 reader is the same as a 1b version 4 reader except that it accepts the version 5 in the archive and data headers.TheOpendapGrid
is an intelligent OPeNDAP client that delivers data by listening forDataVariable.setAccessHint(int[], int[], int[])
calls and only downloads the data which is specified within that call.TheOpendapReader
class is the base class for readers that use the OPeNDAP API to read data and metadata.AnOpendapReaderList
holds a list ofOpendapReader
objects created through the use of the data URL entries in the results of aCatalogQueryAgent
.TheReaderList
interface is designed to group together a set of relatedEarthDataReader
instances with the same earth transform and allow them to be accessible with less I/O overhead than if they were each opened separately.TheReaderSummaryProducer
class creates summary data forEarthDataReader
objects.Holds summary information for a reader in the form of maps of properties to values, and a variable information table.ASummaryTable
holds the output of a summary that needs to be formatted as a series of rows and columns in a table.TheSerializedObjectManager
class can be used to save, load, delete, and get a list of serialized objects.A short writer is a binary writer that writes data as a stream of 16-bit signed integers.The simple parser class is a stream tokenizer with various methods for simplifed parsing of text input streams.A stall monitor is a data transfer listener that helps to handle stalled transfers.A text writer is an earth data writer that writes variable data as a series of lines in an ASCII text file.ATSHDFReader
reads SeaSpace TeraScan HDF format files using the HDF library class.TheWorldFileWriter
class writes ASCII text world files that store image to map coordinate transformation parameters as a set of floating point values.
CommonDataModelNCReader
compatible files.