salem.Grid.ij_to_crs¶
- Grid.ij_to_crs(i, j, crs=None, nearest=False)¶
Converts local i, j to cartesian coordinates in a specified crs
Parameters: i : array of floats
the grid coordinates of the point(s) you want to convert
j : array of floats
the grid coordinates of the point(s) you want to convert
crs: crs
the target crs (default: self.proj)
nearest: bool
(for Grid crs only) convert to the nearest grid point
Returns: (x, y) coordinates of the points in the specified crs.