roms_tools.CDRForcing.plot_distribution#
- CDRForcing.plot_distribution(release_name: str, mark_release_center: bool = True)#
Plot the release location from a top and side view.
This method creates three plots:
A top view of the release distribution.
A side view of the release distribution along a fixed longitude.
A side view of the release distribution along a fixed latitude.
- Parameters:
release_name (str) – Name of the release to plot.
mark_release_center (bool, default True) – Whether to mark the center of the release distribution with an “x”.
- Raises:
ValueError – If self.grid is not set. If the specified release_name does not exist in self.releases.