windkit.spatial.add_projected_wrf_coordinates

windkit.spatial.add_projected_wrf_coordinates(ds)[source]

Add the west_east, south_north coordinates to a WRF xarray.Dataset output.

Parameters:

ds (xarray.Dataset) – Dataset that is the output of WRF, with TRUELAT1, TRUELAT2, MOAD_CEN_LAT, STAND_LON coordinates.

Returns:

ds – dataset with the windkit west_east, south_north coordinates.

Return type:

xr.Dataset