| Package | Description |
|---|---|
| ucar.nc2 |
The public API to the Java-NetCDF library.
|
| ucar.nc2.iosp |
General classes for I/O Service Providers
|
| ucar.nc2.iosp.cinrad |
I/O Service Provider for chinese met radar files
|
| ucar.nc2.iosp.dmsp |
I/O Service Provider for Defense Meteorological Satellite Program (DMSP) format files
|
| ucar.nc2.iosp.dorade |
I/O Service Provider for Dorade format files
|
| ucar.nc2.iosp.grads |
I/O Service Provider for GrADS Binary Grid Files.
|
| ucar.nc2.iosp.hdf4 |
I/O Service Provider for HDF-4 format files
|
| ucar.nc2.iosp.hdf5 |
I/O Service Provider for HDF-5 and netCDF-4 format files
|
| ucar.nc2.iosp.misc |
Miscellaneous IOSPs.
|
| ucar.nc2.iosp.netcdf3 |
I/O Service Provider for NetCDF-3 format files
|
| ucar.nc2.iosp.nexrad2 |
I/O Service Provider for NEXRAD level 2 format files
|
| ucar.nc2.iosp.nids |
I/O Service Provider for NIDS (Nexrad level 3) format files
|
| ucar.nc2.iosp.noaa | |
| ucar.nc2.iosp.nowrad | |
| ucar.nc2.iosp.shapefile | |
| ucar.nc2.iosp.sigmet | |
| ucar.nc2.iosp.uamiv | |
| ucar.nc2.iosp.uf | |
| ucar.nc2.stream | |
| ucar.nc2.util |
Miscellaneous utility classes.
|
| ucar.unidata.io |
Input/Output utilities.
|
| ucar.unidata.io.http |
Make a file on an HTTP server look like a RandomAccessFile, by using HTTP 1.1 byte range header.
|
| Modifier and Type | Method and Description |
|---|---|
static NetcdfFile |
NetcdfFile.open(RandomAccessFile raf,
String location,
CancelTask cancelTask,
Object iospMessage) |
| Constructor and Description |
|---|
NetcdfFile(IOServiceProvider spi,
RandomAccessFile raf,
String location,
CancelTask cancelTask)
Open an existing netcdf file, passing in the iosp and the raf.
|
NetcdfFileSubclass(IOServiceProvider spi,
RandomAccessFile raf,
String location,
CancelTask cancelTask) |
NetcdfFileWriteable(IOServiceProviderWriter iospw,
RandomAccessFile raf,
String location,
boolean fill,
boolean isExisting)
Deprecated.
Open or create a new Netcdf file, put it into define mode to allow
writing, using the provided IOSP and RAF.
|
| Modifier and Type | Field and Description |
|---|---|
protected RandomAccessFile |
AbstractIOServiceProvider.raf
Subclasses that use AbstractIOServiceProvider.open(...) or .close()
should use this (instead of their own private variable).
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
IOServiceProvider.isValidFile(RandomAccessFile raf)
Check if this is a valid file for this IOServiceProvider.
|
void |
IOServiceProvider.open(RandomAccessFile raf,
NetcdfFile ncfile,
CancelTask cancelTask)
Open existing file, and populate ncfile with it.
|
void |
AbstractIOServiceProvider.open(RandomAccessFile raf,
NetcdfFile ncfile,
CancelTask cancelTask) |
void |
IOServiceProviderWriter.openForWriting(RandomAccessFile raf,
NetcdfFile ncfile,
CancelTask cancelTask)
Open existing file and allow writing.
|
static Object |
IospHelper.readData(RandomAccessFile raf,
Layout layout,
DataType dataType,
Object arr,
int byteOrder,
boolean convertChar)
Read data subset from RandomAccessFile, place in given primitive array.
|
static Object |
IospHelper.readDataFill(RandomAccessFile raf,
Layout index,
DataType dataType,
Object fillValue,
int byteOrder)
Read data subset from RandomAccessFile, create primitive array of size Layout.getTotalNelems.
|
static Object |
IospHelper.readDataFill(RandomAccessFile raf,
Layout index,
DataType dataType,
Object fillValue,
int byteOrder,
boolean convertChar) |
| Constructor and Description |
|---|
BitReader(RandomAccessFile raf,
long startPos)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static Cinrad2Record |
Cinrad2Record.factory(RandomAccessFile din,
int record) |
boolean |
Cinrad2IOServiceProvider.isValidFile(RandomAccessFile raf) |
boolean |
Cinrad2IOServiceProvider.isValidFileOld(RandomAccessFile raf) |
void |
Cinrad2IOServiceProvider.open(RandomAccessFile raf,
NetcdfFile ncfile,
CancelTask cancelTask) |
void |
Cinrad2Record.readData(RandomAccessFile raf,
int datatype,
Range gateRange,
IndexIterator ii)
Read data from this record.
|
| Constructor and Description |
|---|
Cinrad2Record(RandomAccessFile din,
int record) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DMSPiosp.isValidFile(RandomAccessFile raf) |
void |
DMSPiosp.open(RandomAccessFile raf,
NetcdfFile ncfile,
CancelTask cancelTask) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
Doradeheader.isValidFile(RandomAccessFile raf) |
boolean |
Doradeiosp.isValidFile(RandomAccessFile raf) |
void |
Doradeiosp.open(RandomAccessFile raf,
NetcdfFile ncfile,
CancelTask cancelTask) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
GradsDataDescriptorFile.failFast(RandomAccessFile raf) |
boolean |
GradsBinaryGridServiceProvider.isValidFile(RandomAccessFile raf)
Is this a valid file? For this GrADS IOSP, the valid file must be:
raw binary grid (not GRIB, netCDF, HDF, etc)
not a cross section (x and y > 1)
not an ensemble definded by EDEF/ENDEDEF (need examples)
|
void |
GradsBinaryGridServiceProvider.open(RandomAccessFile raf,
NetcdfFile ncfile,
CancelTask cancelTask)
Open the service provider for reading.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
H4iosp.isValidFile(RandomAccessFile raf) |
void |
H4iosp.open(RandomAccessFile raf,
NetcdfFile ncfile,
CancelTask cancelTask) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
H5iosp.isValidFile(RandomAccessFile raf) |
static boolean |
H5header.isValidFile(RandomAccessFile raf) |
void |
H5iosp.open(RandomAccessFile raf,
NetcdfFile ncfile,
CancelTask cancelTask) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
GtopoIosp.isValidFile(RandomAccessFile raf) |
boolean |
NmcObsLegacy.isValidFile(RandomAccessFile raf) |
boolean |
Nldn.isValidFile(RandomAccessFile raf)
Check if this is a valid file for this IOServiceProvider.
|
boolean |
Uspln.isValidFile(RandomAccessFile raf)
Check if this is a valid file for this IOServiceProvider.
|
void |
GtopoIosp.open(RandomAccessFile raf,
NetcdfFile ncfile,
CancelTask cancelTask) |
void |
NmcObsLegacy.open(RandomAccessFile raf,
NetcdfFile ncfile,
CancelTask cancelTask) |
void |
Nldn.open(RandomAccessFile raf,
NetcdfFile ncfile,
CancelTask cancelTask)
Open existing file, and populate ncfile with it.
|
void |
Uspln.open(RandomAccessFile raf,
NetcdfFile ncfile,
CancelTask cancelTask)
Open existing file, and populate ncfile with it.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
N3raf._create(RandomAccessFile raf) |
protected abstract void |
N3iosp._create(RandomAccessFile raf) |
protected void |
N3raf._open(RandomAccessFile raf) |
protected abstract void |
N3iosp._open(RandomAccessFile raf) |
static boolean |
N3header.isValidFile(RandomAccessFile raf) |
boolean |
N3iosp.isValidFile(RandomAccessFile raf) |
void |
N3iosp.open(RandomAccessFile raf,
NetcdfFile ncfile,
CancelTask cancelTask) |
void |
N3iosp.openForWriting(RandomAccessFile raf,
NetcdfFile ncfile,
CancelTask cancelTask) |
| Modifier and Type | Method and Description |
|---|---|
static Level2Record |
Level2Record.factory(RandomAccessFile din,
int record,
long message_offset31) |
boolean |
Nexrad2IOServiceProvider.isValidFile(RandomAccessFile raf) |
void |
Nexrad2IOServiceProvider.open(RandomAccessFile raf,
NetcdfFile ncfile,
CancelTask cancelTask) |
void |
Level2Record.readData(RandomAccessFile raf,
int datatype,
Range gateRange,
IndexIterator ii)
Read data from this record.
|
| Constructor and Description |
|---|
Level2Record(RandomAccessFile din,
int record,
long message_offset31) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Nidsiosp.isValidFile(RandomAccessFile raf)
checking the file
|
void |
Nidsiosp.open(RandomAccessFile raf,
NetcdfFile ncfile,
CancelTask cancelTask) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
IgraPor.isValidFile(RandomAccessFile raf) |
boolean |
Ghcnm.isValidFile(RandomAccessFile raf) |
boolean |
Ghcnm2.isValidFile(RandomAccessFile raf) |
void |
IgraPor.open(RandomAccessFile raff,
NetcdfFile ncfile,
CancelTask cancelTask) |
void |
Ghcnm.open(RandomAccessFile raf,
NetcdfFile ncfile,
CancelTask cancelTask) |
void |
Ghcnm2.open(RandomAccessFile raff,
NetcdfFile ncfile,
CancelTask cancelTask) |
| Constructor and Description |
|---|
StructureDataRegexp.Vinfo(RandomAccessFile raff,
StructureMembers sm,
Pattern p) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
NOWRadiosp.isValidFile(RandomAccessFile raf)
checking the file
|
boolean |
NOWRadheader.isValidFile(RandomAccessFile raf)
check if this file is a nids / tdwr file
|
void |
NOWRadiosp.open(RandomAccessFile raf,
NetcdfFile file,
CancelTask cancelTask)
Open the file and read the header part
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ShapefileIosp.isValidFile(RandomAccessFile raf) |
void |
ShapefileIosp.open(RandomAccessFile raf,
NetcdfFile ncfile,
CancelTask cancelTask) |
| Modifier and Type | Field and Description |
|---|---|
RandomAccessFile |
SigmetVolumeScan.raf |
| Modifier and Type | Method and Description |
|---|---|
ArrayList<Variable> |
SigmetIOServiceProvider.init(RandomAccessFile raf,
NetcdfFile ncfile,
Map<String,String> hdrNames)
Define Dimensions, Variables, Attributes in ncfile
|
boolean |
SigmetIOServiceProvider.isValidFile(RandomAccessFile raf)
Check if this is a valid SIGMET-IRIS file for this IOServiceProvider.
|
void |
SigmetIOServiceProvider.open(RandomAccessFile raf,
NetcdfFile ncfile,
CancelTask cancelTask)
Open existing file, and populate ncfile with it.
|
void |
Ray.readData(RandomAccessFile raf,
Range gateRange,
IndexIterator ii)
Read data from this record.
|
static Map<String,Number> |
SigmetIOServiceProvider.readRecordsHdr(RandomAccessFile raf)
Read some global data from SIGMET file.
|
Map<String,String> |
SigmetIOServiceProvider.readStnNames(RandomAccessFile raf)
Read StationName strings
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
UAMIVServiceProvider.isValidFile(RandomAccessFile raf)
Check if this is a valid file for this IOServiceProvider.
|
void |
UAMIVServiceProvider.open(RandomAccessFile raf,
NetcdfFile ncfile,
CancelTask cancelTask)
Open existing file, and populate ncfile with it.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
UFheader.isValidFile(RandomAccessFile raf) |
boolean |
UFiosp.isValidFile(RandomAccessFile raf) |
void |
UFiosp.open(RandomAccessFile raf,
NetcdfFile ncfile,
CancelTask cancelTask) |
void |
Ray.readData(RandomAccessFile raf,
String abbrev,
Range gateRange,
IndexIterator ii)
Read data from this ray.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
NcStreamIosp.isValidFile(RandomAccessFile raf) |
void |
NcStreamIosp.open(RandomAccessFile raf,
NetcdfFile ncfile,
CancelTask cancelTask) |
void |
NcStreamIosp.openDebug(RandomAccessFile raf,
NetcdfFile ncfile,
List<NcStreamIosp.NcsMess> ncm) |
static boolean |
NcStream.readAndTest(RandomAccessFile raf,
byte[] test) |
static int |
NcStream.readVInt(RandomAccessFile raf) |
static int |
NcStream.writeVInt(RandomAccessFile out,
int value) |
| Modifier and Type | Method and Description |
|---|---|
static long |
IO.copyRafB(RandomAccessFile raf,
long offset,
long length,
OutputStream out,
byte[] buffer)
Copy part of a RandomAccessFile to output stream, specify internal buffer size
|
| Modifier and Type | Class and Description |
|---|---|
class |
InMemoryRandomAccessFile
A RandomAccessFile stored entirely in memory as a byte array.
|
class |
MMapRandomAccessFile
Use NIO MappedByteBuffer to implement a RandomAccessFile.
|
| Modifier and Type | Method and Description |
|---|---|
static RandomAccessFile |
RandomAccessFile.acquire(String location) |
static RandomAccessFile |
RandomAccessFile.acquire(String location,
int buffer_size) |
| Modifier and Type | Class and Description |
|---|---|
class |
HTTPRandomAccessFile
Gives access to files over HTTP, using "Accept-Ranges" HTTP header to do random access.
|
Copyright © 1999-2015 UCAR/Unidata. All Rights Reserved.