xarray.Dataset.traj.crop#

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

Remove parts of trajectories outside of 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 given area