LVIS HDF5¶
Driver for LVIS HDF5 files. Read only.
Read Driver Options¶
These are contained in the READSUPPORTEDOPTIONS module level variable.
Name | Use |
---|---|
POINT_FROM | A 3 element tuple defining which fields to create a fake point from (x,y,z). Default is (‘LON0’, ‘LAT0’, ‘Z0’) |
-
pylidar.lidarformats.lvishdf5.
CLASSIFICATION_NAME
= 'CLASSIFICATION'¶ LVIS Files don’t have a CLASSIFICATION column so we have to create a blank one for SPDV4
-
class
pylidar.lidarformats.lvishdf5.
LVISHDF5File
(fname, mode, controls, userClass)[source]¶ Reader for LVIS HDF5 files
-
static
readHeaderAsDict
(fileHandle)[source]¶ Internal method to gather info from file and build into a dictionary.
-
readPointsByPulse
(colNames=None)[source]¶ Return a 2d masked structured array of point that matches the pulses.
-
readPointsForRange
(colNames=None)[source]¶ Reads the points for the current range. Returns a 1d array.
Returns an empty array if range is outside of the current file.
colNames can be a list of column names to return. By default all columns are returned.
-
readPulsesForRange
(colNames=None)[source]¶ Reads the pulses for the current range. Returns a 1d array.
Returns an empty array if range is outside of the current file.
colNames can be a list of column names to return. By default all columns are returned.
-
readRange
(colNames=None)[source]¶ Internal method. Returns the requested column(s) as a structured array. Since both points and pulses come from the same place this function is called to read both.
Assumes colName is not None
-
readReceived
()[source]¶ Return the 3d masked integer array of received for each of the current pulses. First axis is the waveform bin. Second axis is waveform number and last is pulse.
-
static
-
class
pylidar.lidarformats.lvishdf5.
LVISHDF5FileInfo
(fname)[source]¶ Class that gets information about a LVIS file and makes it available as fields.
-
pylidar.lidarformats.lvishdf5.
READSUPPORTEDOPTIONS
= ('POINT_FROM',)¶ Supported read options