windkit.spatial.get_crs
- windkit.spatial.get_crs(obj)[source]
Returns a pyproj.crs.CRS object from object metadata.
This helper function allows gets the Coordinate Reference System (CRS) from any WindKit object.
- Parameters:
obj (geopandas.GeoDataFrame, geopandas.GeoSeries,xarray.DataArray,xarray.Dataset or BBox) – Object to get CRS from.
- Returns:
CRS object
- Return type:
CRS