xarray.Dataset.traj.contained_in#

Dataset.traj.contained_in(lonmin=-360, lonmax=360, latmin=-90, latmax=90, shape='not_yet_implemented')#

Return only trajectories fully within given geographical bounds.

Parameters:
  • lonmin (float) – Minimum longitude

  • lonmax (float) – Maximum longitude

  • latmin (float) – Minimum latitude

  • latmax (float) – Maximum latitude

Returns:

Dataset – A new Xarray Dataset containing only the trajectories fully within given area.