public abstract class GribIosp extends AbstractIOServiceProvider
| Modifier and Type | Class and Description |
|---|---|
protected class |
GribIosp.DataReader |
| Modifier and Type | Field and Description |
|---|---|
protected FeatureCollectionConfig |
config |
static int |
debugIndexOnlyCount |
static boolean |
debugRead |
protected GribCollection.GroupGC |
gHcs |
static String |
GRIB_VALID_TIME |
protected GribCollection |
gribCollection |
protected GribTables |
gribTable |
protected GribCollection.Type |
gtype |
protected boolean |
isGrib1 |
protected boolean |
isPartitioned |
protected org.slf4j.Logger |
logger |
protected boolean |
owned |
static String |
VARIABLE_ID_ATTNAME |
raf| Constructor and Description |
|---|
GribIosp(boolean isGrib1,
org.slf4j.Logger logger) |
getFileTypeVersion, getLastModified, getStructureIterator, readSection, readToByteChannel, readToOutputStream, syncExtend, toStringDebugclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFileTypeDescription, getFileTypeId, isValidFilepublic static final String VARIABLE_ID_ATTNAME
public static final String GRIB_VALID_TIME
public static boolean debugRead
public static int debugIndexOnlyCount
protected FeatureCollectionConfig config
protected final boolean isGrib1
protected final org.slf4j.Logger logger
protected GribCollection gribCollection
protected GribCollection.GroupGC gHcs
protected GribCollection.Type gtype
protected boolean isPartitioned
protected boolean owned
protected GribTables gribTable
public static void setDebugFlags(DebugFlags debugFlag)
public void setParamTable(org.jdom2.Element paramTable)
public void setLookupTablePath(String lookupTablePath)
public void setParamTablePath(String paramTablePath)
public Object sendIospMessage(Object special)
sendIospMessage in interface IOServiceProvidersendIospMessage in class AbstractIOServiceProviderprotected abstract GribTables createCustomizer() throws IOException
IOExceptionprotected abstract String makeVariableName(GribCollection.VariableIndex vindex)
protected abstract String makeVariableNameFromRecord(GribCollection.VariableIndex vindex)
protected abstract String makeVariableLongName(GribCollection.VariableIndex vindex)
protected abstract String makeVariableUnits(GribCollection.VariableIndex vindex)
protected abstract String getVerticalCoordDesc(int vc_code)
protected abstract GribTables.Parameter getParameter(GribCollection.VariableIndex vindex)
protected abstract void addGlobalAttributes(NetcdfFile ncfile)
protected abstract void addVariableAttributes(Variable v, GribCollection.VariableIndex vindex)
protected abstract void show(RandomAccessFile rafData, long pos) throws IOException
IOExceptionprotected abstract float[] readData(RandomAccessFile rafData, ucar.nc2.grib.collection.GribIosp.DataRecord dr) throws IOException
IOExceptionpublic void open(RandomAccessFile raf, NetcdfFile ncfile, CancelTask cancelTask) throws IOException
open in interface IOServiceProvideropen in class AbstractIOServiceProviderIOExceptionpublic void close()
throws IOException
close in interface IOServiceProviderclose in class AbstractIOServiceProviderIOExceptionpublic String getDetailInfo()
getDetailInfo in interface IOServiceProvidergetDetailInfo in class AbstractIOServiceProviderpublic Array readData(Variable v2, Section section) throws IOException, InvalidRangeException
IOExceptionInvalidRangeExceptionpublic long streamToByteChannel(Variable v2, Section section, WritableByteChannel channel) throws IOException, InvalidRangeException
streamToByteChannel in interface IOServiceProviderstreamToByteChannel in class AbstractIOServiceProviderIOExceptionInvalidRangeExceptionpublic abstract Object getLastRecordRead()
public abstract void clearLastRecordRead()
public abstract Object getGribCustomizer()
Copyright © 1999–2015 UCAR/Unidata. All rights reserved.