FieldParam#
- class hydromodpy.spatial.FieldParam(*, identifier, kind, unit=None, value=None, values_by_key=None, field_spatial_id=None, vertical_profile=None)[source]#
Bases:
objectScalar field values (homogeneous or heterogeneous), stored in SI.
unit exposes the canonical SI unit; original_unit preserves the raw user-provided unit string for round-trip introspection. vertical_profile introduces an optional depth-dependent multiplicative factor f(z).
- Parameters:
- to_array(*, shape=None, x=None, y=None, zone_ids=None, zone_field=None, depth=0.0)[source]#
Materialize field values as a numeric array (homogeneous = value-driven, heterogeneous = structure-driven; depth applies vertical factors).