lmpy.data_wrangling.occurrence.common_format_wrangler

Module containing common format occurrence data wrangler.

Module Contents

Classes

CommonFormatWrangler

Constructor for CommonFormatWrangler class.

class lmpy.data_wrangling.occurrence.common_format_wrangler.CommonFormatWrangler(attribute_map, **params)[source]

Bases: lmpy.data_wrangling.occurrence.base._OccurrenceDataWrangler

Constructor for CommonFormatWrangler class.

Parameters
  • attribute_map (dict) – A mapping of source key, target values.

  • **params (dict) – Extra parameters to be sent to the base class.

name = CommonFormatWrangler[source]
version = 1.0[source]
_modify_point(point)[source]

Update point attributes.

Parameters

point (Point) – A point to modify.

Returns

Modified (if needed) point and boolean if point was modified.

Return type

Point, bool