pydda.initialization.make_wind_field_from_profile#

pydda.initialization.make_wind_field_from_profile(Grid, profile, vel_field=None)[source]#

This function makes a 3D wind field from a sounding.

This function is useful for using sounding data as an initialization for get_dd_wind_field.

Parameters:
  • Grid (Py-ART Grid object) – This is the Py-ART Grid containing the coordinates for the analysis grid.

  • profile (PyART HorizontalWindProfile) – This is the HorizontalWindProfile of the sounding

  • wind (3-tuple of floats) – The 3-tuple specifying the (u,v,w) of the wind field.

  • vel_field (String) – The name of the velocity field in Grid. None will automatically try to detect this field.

Returns:

new_Grid (Py-ART Grid) – The Py-ART Grid with the sounding wind field added in the u, v, and w fields.