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 |
|---|---|
void |
build(ucar.unidata.io.RandomAccessFile raf,
ucar.nc2.Group.Builder rootGroup,
ucar.nc2.util.CancelTask cancelTask) |
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) |
ucar.array.Array<?> |
readArrayData(ucar.nc2.Variable v2,
ucar.array.Section section) |
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) |
buildFinish, getFileTypeVersion, getLastModified, getStructureDataArrayIterator, getStructureIterator, open, reacquire, readSection, readToOutputStream, release, setNetcdfFile, 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 build(ucar.unidata.io.RandomAccessFile raf,
ucar.nc2.Group.Builder rootGroup,
ucar.nc2.util.CancelTask cancelTask)
throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose 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 ucar.array.Array<?> readArrayData(ucar.nc2.Variable v2,
ucar.array.Section section)
throws IOException,
ucar.array.InvalidRangeException
readArrayData in interface ucar.nc2.iosp.IOServiceProviderreadArrayData in class ucar.nc2.iosp.AbstractIOServiceProviderIOExceptionucar.array.InvalidRangeExceptionpublic abstract Object getLastRecordRead()
public abstract void clearLastRecordRead()
public abstract Object getGribCustomizer()