reV.bespoke.plant_noise.PlantNoiseInputs
- class PlantNoiseInputs(spl_path: str | PathLike | None = None, obs_tiff_fp: str | PathLike | None = None, plant_noise_limit: float = 55, spl_type: str = 'Leq')[source]
Bases:
objectConfiguration inputs needed to build plant noise evaluators.
- spl_path
Path to the HDF5 file containing turbine SPL tables.
- Type:
str | os.PathLike | None
- obs_tiff_fp
Path to the raster of observer locations used for noise checks.
- Type:
str | os.PathLike | None
Methods
build_for_sc_point(sc_point, x_locations, ...)Build a plant noise evaluator for a supply curve point.
Attributes
- build_for_sc_point(sc_point, x_locations, y_locations, buffer=0)[source]
Build a plant noise evaluator for a supply curve point.
- Parameters:
sc_point (SupplyCurvePoint) – Supply curve point providing the exclusions profile and turbine mapping.
x_locations (ndarray) – Turbine x coordinates in the SC-point frame.
y_locations (ndarray) – Turbine y coordinates in the SC-point frame.
buffer (float, optional) – Buffer distance around sc boundary to include obs locations.
- Returns:
PlantNoise | None – Plant noise evaluator for the requested turbine locations, or None when noise inputs are unavailable or no observers overlap the SC-point.