pydda.initialization.make_constant_wind_field#

pydda.initialization.make_constant_wind_field(Grid, wind=(0.0, 0.0, 0.0), vel_field=None)[source]#

This function makes a constant wind field given a wind vector.

This function is useful for specifying the intialization arrays for get_dd_wind_field.

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

  • 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. None will automatically try to detect this field.

Returns:

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