xarray.Dataset.traj.transform#
- Dataset.traj.transform(to_crs, x, y)#
Transform coordinates in this datasets coordinate system to to_crs coordinate system.
- Parameters:
to_crs (
pyproj.crs.CRS
)x, y (array-like) – Coordinates in self CRS
- Returns:
xn, yn (array-like) – Coordinates in to_crs