public class Ghcnm
extends ucar.nc2.iosp.AbstractIOServiceProvider
Protobuf generation: cd c:/dev/tds4.2/thredds/cdm/src/main/java protoc --proto_path=. --java_out=. ucar/nc2/iosp/noaa/GhcnmIndex.protoLOOK probable file leaks
| Constructor and Description |
|---|
Ghcnm() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getFileTypeDescription()
Get a human-readable description for this file type.
|
String |
getFileTypeId()
Get a unique stnId for this file type.
|
ucar.ma2.StructureDataIterator |
getStructureIterator(ucar.nc2.Structure s,
int bufferSize)
Get the structure iterator
|
boolean |
isValidFile(ucar.unidata.io.RandomAccessFile raf) |
void |
open(ucar.unidata.io.RandomAccessFile raf,
ucar.nc2.NetcdfFile ncfile,
ucar.nc2.util.CancelTask cancelTask) |
ucar.ma2.Array |
readData(ucar.nc2.Variable v2,
ucar.ma2.Section section)
Returns an ArraySequence, no subsetting is allowed.
|
build, buildFinish, getDetailInfo, getFileTypeVersion, getLastModified, isBuilder, reacquire, readSection, readToByteChannel, readToOutputStream, release, sendIospMessage, setNetcdfFile, streamToByteChannel, syncExtend, toStringDebugpublic boolean isValidFile(ucar.unidata.io.RandomAccessFile raf)
throws IOException
IOExceptionpublic void close()
throws IOException
close in interface ucar.nc2.iosp.IOServiceProviderclose in class ucar.nc2.iosp.AbstractIOServiceProviderIOExceptionpublic void open(ucar.unidata.io.RandomAccessFile raf,
ucar.nc2.NetcdfFile ncfile,
ucar.nc2.util.CancelTask cancelTask)
throws IOException
open in interface ucar.nc2.iosp.IOServiceProvideropen in class ucar.nc2.iosp.AbstractIOServiceProviderIOExceptionpublic String getFileTypeId()
public String getFileTypeDescription()
public ucar.ma2.Array readData(ucar.nc2.Variable v2,
ucar.ma2.Section section)
throws IOException
v2 - a top-level Variablesection - the section of data to read.
There must be a Range for each Dimension in the variable, in order.
Note: no nulls allowed. IOSP may not modify.IOExceptionpublic ucar.ma2.StructureDataIterator getStructureIterator(ucar.nc2.Structure s,
int bufferSize)
throws IOException
getStructureIterator in interface ucar.nc2.iosp.IOServiceProvidergetStructureIterator in class ucar.nc2.iosp.AbstractIOServiceProviders - the StructurebufferSize - the buffersizeIOException - if problem reading data