public abstract class GribIosp
extends ucar.nc2.iosp.AbstractIOServiceProvider
| Modifier and Type | Field and Description |
|---|---|
protected thredds.featurecollection.FeatureCollectionConfig |
config |
static int |
debugIndexOnlyCount |
protected GribCollectionImmutable.GroupGC |
gHcs |
protected GribCollectionImmutable |
gribCollection |
protected GribTables |
gribTable |
protected GribCollectionImmutable.Type |
gtype |
protected boolean |
isGrib1 |
protected boolean |
isPartitioned |
protected org.slf4j.Logger |
logger |
protected boolean |
owned |
| Constructor and Description |
|---|
GribIosp(boolean isGrib1,
org.slf4j.Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
clearLastRecordRead() |
void |
close() |
protected abstract GribTables |
createCustomizer() |
String |
getDetailInfo() |
abstract Object |
getGribCustomizer() |
abstract Object |
getLastRecordRead() |
protected abstract GribTables.Parameter |
getParameter(GribCollectionImmutable.VariableIndex vindex) |
protected abstract String |
getVerticalCoordDesc(int vc_code) |
protected abstract String |
makeVariableLongName(GribCollectionImmutable.VariableIndex vindex) |
protected abstract String |
makeVariableName(GribCollectionImmutable.VariableIndex vindex) |
protected abstract String |
makeVariableUnits(GribCollectionImmutable.VariableIndex vindex) |
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) |
Object |
sendIospMessage(Object special) |
void |
setLookupTablePath(String lookupTablePath) |
void |
setParamTable(org.jdom2.Element paramTable) |
void |
setParamTablePath(String paramTablePath) |
getFileTypeVersion, getLastModified, getStructureIterator, reacquire, readSection, readToByteChannel, readToOutputStream, release, streamToByteChannel, syncExtend, toStringDebugpublic static int debugIndexOnlyCount
protected final thredds.featurecollection.FeatureCollectionConfig config
protected final boolean isGrib1
protected final org.slf4j.Logger logger
protected GribCollectionImmutable gribCollection
protected GribCollectionImmutable.GroupGC gHcs
protected GribCollectionImmutable.Type gtype
protected boolean isPartitioned
protected boolean owned
protected GribTables gribTable
public void setParamTable(org.jdom2.Element paramTable)
public void setLookupTablePath(String lookupTablePath)
public void setParamTablePath(String paramTablePath)
@Nullable public Object sendIospMessage(Object special)
sendIospMessage in interface ucar.nc2.iosp.IOServiceProvidersendIospMessage in class ucar.nc2.iosp.AbstractIOServiceProviderprotected abstract GribTables createCustomizer() throws IOException
IOExceptionprotected abstract String makeVariableName(GribCollectionImmutable.VariableIndex vindex)
protected abstract String makeVariableLongName(GribCollectionImmutable.VariableIndex vindex)
protected abstract String makeVariableUnits(GribCollectionImmutable.VariableIndex vindex)
protected abstract String getVerticalCoordDesc(int vc_code)
protected abstract GribTables.Parameter getParameter(GribCollectionImmutable.VariableIndex vindex)
public 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 void close()
throws IOException
close in interface ucar.nc2.iosp.IOServiceProviderclose in class ucar.nc2.iosp.AbstractIOServiceProviderIOExceptionpublic String getDetailInfo()
getDetailInfo in interface ucar.nc2.iosp.IOServiceProvidergetDetailInfo in class ucar.nc2.iosp.AbstractIOServiceProviderpublic ucar.ma2.Array readData(ucar.nc2.Variable v2,
ucar.ma2.Section section)
throws IOException,
ucar.ma2.InvalidRangeException
IOExceptionucar.ma2.InvalidRangeExceptionpublic abstract Object getLastRecordRead()
public abstract void clearLastRecordRead()
public abstract Object getGribCustomizer()