reVX.config.transmission_layer_creation.MergeFrictionBarriers
- class MergeFrictionBarriers(*, friction_layer: str, barrier_layer: str, output_layer_name: str | None = 'transmission_barrier', barrier_multiplier: float = 1000000.0, attrs: Dict | None = None)[source]
Bases:
BaseModelCombine friction and barriers and save to H5. Multiple all barrier values by a factor. The multiplier should be large enough that all barriers have a higher value than any possible friction.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
Methods
Attributes
model_computed_fieldsmodel_fieldsName of friction layer.
Name of barrier layer.
Name of combined output layer.
Value to multiply barrier layer by during merge with friction.
Additional H5 dataset attributes for the combined output layer.
- friction_layer: str
Name of friction layer.
Must be a layer that has just been created or already exists in the tiff directory with the same name and ‘.tif’ extension.
- barrier_layer: str
Name of barrier layer.
Must be a layer that has just been created or already exists in the tiff directory with the same name and ‘.tif’ extension.