pyku.postmodel#
pyku functions to post-process models
- pyku.postmodel.derotate(ds)[source]#
Derotate wind components
- Parameters:
ds (
xarray.Dataset) – The input dataset.uname (str) – U component.
vname (str) – V component.
- Returns:
The dataset with derotated wind components.
- Return type:
- pyku.postmodel.post(ds)[source]#
Extend model output:
If U, V, and pressure levels are present, build U850p and V850p, U500p and V500p, U200p and V200p.
If U, V, and height levels are present, build U100m and V100m.
if ASWDIR_S and ASWDIFD_S are present, build ASWD_S.
if FR_SNOW, build W_SNOW.
- Parameters:
ds (
xarray.Dataset) – The input dataset.- Returns:
The dataset with extended output.
- Return type: