4.4.1. thuner.attribute.core

Convenience classes describing core object attributes like position and velocity,

Functions

time_from_tracks(attribute, object_tracks)

Get time from object tracks.

coordinates_from_match_record(...)

Get coordinate from match record created by the matching process to avoid redundant calculation.

echo_top_height_from_mask(attribute, ...)

Get echo top height from the object mask and dataset.

areas_from_match_record(attribute, object_tracks)

Get area from match record created by the matching process to avoid redundant calculation.

parents_from_match_record(attribute, ...)

Get parent ids from the match record to avoid recalculating.

velocities_from_match_record(...)

Get velocity from match record created by the matching process.

ids_from_mask(attribute, object_tracks, ...)

Get object ids from a labelled mask.

ids_from_match_record(attribute, object_tracks)

Get object ids from the match record to avoid recalculating.

coordinates_from_mask(attribute_group, ...)

Get object coordinate from mask.

areas_from_mask(object_tracks, attribute, ...)

Get object area from mask.

default_tracked()

Create the default core attribute type for tracked objects.

default_member()

Create the default core attribute type for member, i.e. component, objects.

record_id()

Convenience function to build a record ID attribute.

mask_id()

Convenience function to build a mask ID attribute.

record_universal_id()

Convenience function to build a record universal ID attribute.

mask_universal_id()

Convenience function to build a mask universal ID attribute.

parents()

Convenience function to build a parents attribute.

latitude()

Convenience function to build a latitude attribute.

longitude()

Convenience function to build a longitude attribute.

coordinates_record()

Convenience function to build a coordinates record attribute group.

coordinates_mask()

Convenience function to build a coordinates mask attribute group.

u_flow()

Convenience function to build a zonal flow velocity attribute.

v_flow()

Convenience function to build a meridional flow velocity attribute.

flow_velocity()

Convenience function to build a flow velocity attribute group.

u_displacement()

Convenience function to build a zonal displacement velocity attribute.

v_displacement()

Convenience function to build a meridional displacement velocity attribute.

displacement_velocity()

Convenience function to build a displacement velocity attribute group.

areas_record()

Convenience function to build an areas record attribute.

areas_mask()

Convenience function to build an areas mask attribute.

echo_top_height()

Convenience function to build an echo top height attribute.

time()

Convenience function to build a time attribute.

thuner.attribute.core.areas_from_mask(object_tracks, attribute, grid_options, member_object, matched)[source]

Get object area from mask.

thuner.attribute.core.areas_from_match_record(attribute: Attribute, object_tracks)[source]

Get area from match record created by the matching process to avoid redundant calculation.

thuner.attribute.core.areas_mask()[source]

Convenience function to build an areas mask attribute.

thuner.attribute.core.areas_record()[source]

Convenience function to build an areas record attribute.

thuner.attribute.core.coordinates_from_mask(attribute_group: AttributeGroup, object_tracks, grid_options, matched, member_object)[source]

Get object coordinate from mask.

thuner.attribute.core.coordinates_from_match_record(attribute_group: AttributeGroup, object_tracks, grid_options)[source]

Get coordinate from match record created by the matching process to avoid redundant calculation.

thuner.attribute.core.coordinates_mask()[source]

Convenience function to build a coordinates mask attribute group.

thuner.attribute.core.coordinates_record()[source]

Convenience function to build a coordinates record attribute group.

thuner.attribute.core.default_member()[source]

Create the default core attribute type for member, i.e. component, objects.

thuner.attribute.core.default_tracked()[source]

Create the default core attribute type for tracked objects.

thuner.attribute.core.displacement_velocity()[source]

Convenience function to build a displacement velocity attribute group.

thuner.attribute.core.echo_top_height()[source]

Convenience function to build an echo top height attribute.

thuner.attribute.core.echo_top_height_from_mask(attribute: Attribute, object_tracks, input_records, object_options, threshold)[source]

Get echo top height from the object mask and dataset.

thuner.attribute.core.flow_velocity()[source]

Convenience function to build a flow velocity attribute group.

thuner.attribute.core.ids_from_mask(attribute: Attribute, object_tracks, member_object: str, matched: bool)[source]

Get object ids from a labelled mask.

thuner.attribute.core.ids_from_match_record(attribute: Attribute, object_tracks)[source]

Get object ids from the match record to avoid recalculating.

thuner.attribute.core.latitude()[source]

Convenience function to build a latitude attribute.

thuner.attribute.core.longitude()[source]

Convenience function to build a longitude attribute.

thuner.attribute.core.mask_id()[source]

Convenience function to build a mask ID attribute.

thuner.attribute.core.mask_universal_id()[source]

Convenience function to build a mask universal ID attribute.

thuner.attribute.core.parents()[source]

Convenience function to build a parents attribute.

thuner.attribute.core.parents_from_match_record(attribute: Attribute, object_tracks)[source]

Get parent ids from the match record to avoid recalculating.

thuner.attribute.core.record_id()[source]

Convenience function to build a record ID attribute.

thuner.attribute.core.record_universal_id()[source]

Convenience function to build a record universal ID attribute.

thuner.attribute.core.time()[source]

Convenience function to build a time attribute.

thuner.attribute.core.time_from_tracks(attribute: Attribute, object_tracks)[source]

Get time from object tracks.

thuner.attribute.core.u_displacement()[source]

Convenience function to build a zonal displacement velocity attribute.

thuner.attribute.core.u_flow()[source]

Convenience function to build a zonal flow velocity attribute.

thuner.attribute.core.v_displacement()[source]

Convenience function to build a meridional displacement velocity attribute.

thuner.attribute.core.v_flow()[source]

Convenience function to build a meridional flow velocity attribute.

thuner.attribute.core.velocities_from_match_record(attribute_group: AttributeGroup, object_tracks, grid_options)[source]

Get velocity from match record created by the matching process.