Target
Target
evo.compute.tasks.common.source_target.Target
The target object and attribute to create or update with results.
Used to specify where output data should be written for geostatistical operations.
Example: >>> # Create a new attribute on a target object: >>> target = Target.new_attribute(block_model, "kriged_grade") >>> >>> # Or update an existing attribute: >>> target = Target(object=grid, attribute=UpdateAttribute(reference="existing_ref"))
object
Object to write results onto.
attribute
Attribute specification (create new or update existing).
new_attribute
Create a Target that will create a new attribute on the target object.
Args: object: The target object to write results onto. attribute_name: The name of the new attribute to create.
Returns: A Target instance configured to create a new attribute.
Example: >>> target = Target.new_attribute(block_model, "kriged_grade")