Package edu.wisc.ssec.mcidasv.data
Class GpmIosp
java.lang.Object
ucar.nc2.iosp.AbstractIOServiceProvider
edu.wisc.ssec.mcidasv.data.GpmIosp
- All Implemented Interfaces:
IOServiceProvider
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate NetcdfFile
private static final String
private static final org.slf4j.Logger
private static final String
private static final String
Fields inherited from class ucar.nc2.iosp.AbstractIOServiceProvider
location, ncfile, raf, rafOrder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
addLatitude
(NetcdfFile nc, Group g) private static void
addLongitude
(NetcdfFile nc, Group g) private static void
addVar
(NetcdfFile nc, Group g, int channel) void
close()
private void
createGroupFromHdf
(NetcdfFile ncOut, String groupName) private static int[]
getDimensionLengths
(NetcdfFile hdf, String groupName) boolean
static void
void
open
(RandomAccessFile raf, NetcdfFile ncfile, CancelTask cancelTask) private Array
readChannel
(Variable v, int lines, int elements, int channel) private static int
variableToChannel
(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, toStringDebug
-
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:
open
in interfaceIOServiceProvider
- Overrides:
open
in classAbstractIOServiceProvider
- Throws:
IOException
-
createGroupFromHdf
- Throws:
IOException
-
readData
- Throws:
IOException
InvalidRangeException
-
readChannel
private Array readChannel(Variable v, int lines, int elements, int channel) throws IOException, InvalidRangeException - Throws:
IOException
InvalidRangeException
-
getFileTypeId
-
getFileTypeDescription
-
close
- Specified by:
close
in interfaceIOServiceProvider
- Overrides:
close
in classAbstractIOServiceProvider
- Throws:
IOException
-
main
public static void main(String[] args) throws IOException, IllegalAccessException, InstantiationException
-