gnome.weatherers.manual_beaching¶
For Adios behavior with no trajectory processing and no map, we add beaching events manually. This class controls the manual addition of beaching events in our model run. It is modeled as a weathering process.
Classes¶
It isn't really a response/cleanup option; however, it works in the same |
Module Contents¶
- class gnome.weatherers.manual_beaching.Beaching(active_range, units='m^3', timeseries=None, water=None, **kwargs)¶
Bases:
gnome.weatherers.cleanup.RemoveMass
,gnome.weatherers.Weatherer
It isn’t really a response/cleanup option; however, it works in the same manner in that Beaching removes mass at a user specified rate. Mixin the RemoveMass functionality.
Initialization for the manual beaching events.
- Parameters:
timeseries – array containing the volume of oil beached at specified time. The time corresponds with end time of the beaching contains: [(t0, v0), (t1, v1), ..] Assumes the delta time (t1 - t0) is larger than model’s time_step.
Note
Assumes the model’s time_step is smaller than the timeseries timestep, meaning the
fixme: water is never used – it should be removed.
- water = None¶
- property units¶
- property timeseries¶
- convert_to_internal_volume()¶
- prepare_for_model_run(sc)¶
Preparation of data arrays related to beaching
- weather_elements(sc, time_step, model_time)¶
remove equal fraction of mass from each component.