resqpy.well.well_utils.load_lattice_array¶
- resqpy.well.well_utils.load_lattice_array(object, node, array_attribute, trajectory)[source]¶
Loads the property array data as an attribute of object, from the lattice array referenced in xml node.
This loader expects the XML node to be in the form of a lattice array, which is a variant of NodeMd data defined as a series of regularly spaced measured depth values computed from the metadata in the XML (start_value, offset, step_value, step_count). Checks that the computed NodeMds are valid on the trajectory, and only loads those.
- Param
object: The object to load the data into (typically a WellboreFrame)
- Param
node: The XML node to load the metadata from
- Param
array_attribute: The name of the attribute on ‘object’ to load the data into
- Param
trajectory: The trajectory object to use to check the validity of the data