swot_simulator.error.generator.Generator.generate#
- Generator.generate(cycle_number: int, pass_number: int, curvilinear_distance: float, time: ndarray, x_al: ndarray, x_ac: ndarray, swh: Union[ndarray, float]) Dict[str, ndarray] [source]#
Generate errors.
- Parameters
cycle_number (int) – Cycle number.
pass_number (int) – Pass number.
curvilinear_distance (float) – Curvilinear distance covered by the satellite during a complete cycle.
time (numpy.ndarray) – Date of measurements.
x_al (numpy.ndarray) – Along track distance.
x_ac (numpy.ndarray) – Across track distance.
swh (numpy.ndarray, float) – Significant wave height. Used to modulate instrumental noise as a function of sea state.
- Returns
Associative array between error variables and simulated values.
- Return type