Package edu.wisc.ssec.mcidasv.data
Class GpmIosp
java.lang.Object
ucar.nc2.iosp.AbstractIOServiceProvider
edu.wisc.ssec.mcidasv.data.GpmIosp
- All Implemented Interfaces:
Comparable<IOServiceProvider>,IOServiceProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface ucar.nc2.iosp.IOServiceProvider
IOServiceProvider.SortGroup -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate NetcdfFileprivate static final Stringprivate static final org.slf4j.Loggerprivate static final Stringprivate static final StringFields inherited from class ucar.nc2.iosp.AbstractIOServiceProvider
location, ncfile, raf, rafOrder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidaddLatitude(NetcdfFile nc, Group g) private static voidaddLongitude(NetcdfFile nc, Group g) private static voidaddVar(NetcdfFile nc, Group g, int channel) voidclose()private voidcreateGroupFromHdf(NetcdfFile ncOut, String groupName) private static int[]getDimensionLengths(NetcdfFile hdf, String groupName) booleanstatic voidvoidopen(RandomAccessFile raf, NetcdfFile ncfile, CancelTask cancelTask) private ArrayreadChannel(Variable v, int lines, int elements, int channel) private static intvariableToChannel(String variableName) Methods inherited from class ucar.nc2.iosp.AbstractIOServiceProvider
build, buildFinish, getDetailInfo, getFileTypeVersion, getLastModified, getStructureIterator, isBuilder, reacquire, readSection, readToByteChannel, readToOutputStream, release, sendIospMessage, setNetcdfFile, streamToByteChannel, syncExtend, toStringDebugMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ucar.nc2.iosp.IOServiceProvider
compareTo, getSortGroup
-
Field Details
-
LAT
- See Also:
-
LON
- See Also:
-
TC_PREFIX
- See Also:
-
logger
-
hdfFile
-
-
Constructor Details
-
GpmIosp
public GpmIosp()
-
-
Method Details
-
getDimensionLengths
- Throws:
IOException
-
addVar
-
variableToChannel
-
addLatitude
-
addLongitude
-
isValidFile
- Throws:
IOException
-
open
- Specified by:
openin interfaceIOServiceProvider- Overrides:
openin classAbstractIOServiceProvider- Throws:
IOException
-
createGroupFromHdf
- Throws:
IOException
-
readData
- Throws:
IOExceptionInvalidRangeException
-
readChannel
private Array readChannel(Variable v, int lines, int elements, int channel) throws IOException, InvalidRangeException - Throws:
IOExceptionInvalidRangeException
-
getFileTypeId
-
getFileTypeDescription
-
close
- Specified by:
closein interfaceIOServiceProvider- Overrides:
closein classAbstractIOServiceProvider- Throws:
IOException
-
main
public static void main(String[] args) throws IOException, IllegalAccessException, InstantiationException
-