public class Fysatiosp extends AbstractIOServiceProvider
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
debug |
protected boolean |
debugSize |
protected boolean |
debugSPIO |
protected HashMap |
dimHash |
protected int |
fileUsed |
protected boolean |
fill |
protected FysatHeader |
headerParser |
protected boolean |
readonly |
protected int |
recStart |
protected boolean |
showHeaderBytes |
raf| Constructor and Description |
|---|
Fysatiosp() |
| Modifier and Type | Method and Description |
|---|---|
protected static char[] |
convertByteToChar(byte[] byteArray) |
protected static byte[] |
convertCharToByte(char[] from) |
short |
convertunsignedByte2Short(byte b) |
String |
getFileTypeDescription() |
String |
getFileTypeId() |
boolean |
isValidFile(RandomAccessFile raf) |
static void |
main(String[] args) |
void |
open(RandomAccessFile raf,
NetcdfFile file,
CancelTask cancelTask) |
Array |
readCompressedData(Variable v2,
long dataPos,
int[] origin,
int[] shape,
int[] stride) |
Array |
readCompressedZlib(Variable v2,
long dataPos,
int nx,
int ny,
int[] origin,
int[] shape,
int[] stride) |
Array |
readData(Variable v2,
Section section) |
Array |
readDataOld(Variable v2,
long dataPos,
int[] origin,
int[] shape,
int[] stride) |
close, getDetailInfo, getFileTypeVersion, getLastModified, getStructureIterator, readSection, readToByteChannel, readToOutputStream, sendIospMessage, streamToByteChannel, syncExtend, toStringDebugprotected boolean readonly
protected FysatHeader headerParser
protected int fileUsed
protected int recStart
protected boolean debug
protected boolean debugSize
protected boolean debugSPIO
protected boolean showHeaderBytes
protected boolean fill
protected HashMap dimHash
public boolean isValidFile(RandomAccessFile raf)
public String getFileTypeId()
public String getFileTypeDescription()
public void open(RandomAccessFile raf, NetcdfFile file, CancelTask cancelTask) throws IOException
open in interface IOServiceProvideropen in class AbstractIOServiceProviderIOExceptionpublic Array readData(Variable v2, Section section) throws IOException, InvalidRangeException
IOExceptionInvalidRangeExceptionpublic Array readDataOld(Variable v2, long dataPos, int[] origin, int[] shape, int[] stride) throws IOException, InvalidRangeException
IOExceptionInvalidRangeExceptionpublic Array readCompressedData(Variable v2, long dataPos, int[] origin, int[] shape, int[] stride) throws IOException, InvalidRangeException
IOExceptionInvalidRangeExceptionpublic Array readCompressedZlib(Variable v2, long dataPos, int nx, int ny, int[] origin, int[] shape, int[] stride) throws IOException, InvalidRangeException
IOExceptionInvalidRangeExceptionprotected static char[] convertByteToChar(byte[] byteArray)
protected static byte[] convertCharToByte(char[] from)
public short convertunsignedByte2Short(byte b)
public static void main(String[] args) throws Exception, IOException, InstantiationException, IllegalAccessException
Copyright © 1999–2014 UCAR/Unidata. All rights reserved.