public class Fysatiosp
extends ucar.nc2.iosp.AbstractIOServiceProvider
| Modifier and Type | Field and Description |
|---|---|
protected FysatHeader |
headerParser |
| Constructor and Description |
|---|
Fysatiosp() |
| Modifier and Type | Method and Description |
|---|---|
short |
convertunsignedByte2Short(byte b) |
java.lang.String |
getFileTypeDescription() |
java.lang.String |
getFileTypeId() |
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 |
readCompressedData(ucar.nc2.Variable v2,
long dataPos,
int[] origin,
int[] shape,
int[] stride) |
ucar.ma2.Array |
readCompressedZlib(ucar.nc2.Variable v2,
long dataPos,
int nx,
int ny,
int[] origin,
int[] shape,
int[] stride) |
ucar.ma2.Array |
readData(ucar.nc2.Variable v2,
ucar.ma2.Section section) |
ucar.ma2.Array |
readDataOld(ucar.nc2.Variable v2,
long dataPos,
int[] origin,
int[] shape,
int[] stride) |
build, buildFinish, close, getDetailInfo, getFileTypeVersion, getLastModified, getStructureIterator, isBuilder, reacquire, readSection, readToByteChannel, readToOutputStream, release, sendIospMessage, setNetcdfFile, streamToByteChannel, syncExtend, toStringDebugprotected FysatHeader headerParser
public boolean isValidFile(ucar.unidata.io.RandomAccessFile raf)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getFileTypeId()
public java.lang.String getFileTypeDescription()
public void open(ucar.unidata.io.RandomAccessFile raf,
ucar.nc2.NetcdfFile ncfile,
ucar.nc2.util.CancelTask cancelTask)
throws java.io.IOException
open in interface ucar.nc2.iosp.IOServiceProvideropen in class ucar.nc2.iosp.AbstractIOServiceProviderjava.io.IOExceptionpublic ucar.ma2.Array readData(ucar.nc2.Variable v2,
ucar.ma2.Section section)
throws java.io.IOException,
ucar.ma2.InvalidRangeException
java.io.IOExceptionucar.ma2.InvalidRangeExceptionpublic ucar.ma2.Array readDataOld(ucar.nc2.Variable v2,
long dataPos,
int[] origin,
int[] shape,
int[] stride)
throws java.io.IOException
java.io.IOExceptionpublic ucar.ma2.Array readCompressedData(ucar.nc2.Variable v2,
long dataPos,
int[] origin,
int[] shape,
int[] stride)
throws java.io.IOException,
ucar.ma2.InvalidRangeException
java.io.IOExceptionucar.ma2.InvalidRangeExceptionpublic ucar.ma2.Array readCompressedZlib(ucar.nc2.Variable v2,
long dataPos,
int nx,
int ny,
int[] origin,
int[] shape,
int[] stride)
throws java.io.IOException,
ucar.ma2.InvalidRangeException
java.io.IOExceptionucar.ma2.InvalidRangeExceptionpublic short convertunsignedByte2Short(byte b)