Previous topic

Moist Class

Next topic

Source Code

This Page

Wind Class

Copyright (C) 2020 AMSIMP

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

class amsimp.wind.Wind

This class is concerned with calculating numerical values for wind.

globe

Generates a wind vector plot over a contour plot.

Parameters
  • which (str) – Desired atmospheric parameter

  • central_latitude (float) – The line of latitude at which the view is looking directly down at

  • central_longitude (float) – The line of longitude at which the view is looking directly down at

  • psurface (int) – Pressure at which the contour plot is generated

Notes

It overlays both of these elements onto a Nearside Perspective projection of the Earth. By default, the perspective view is looking directly down at the city of Dublin in the country of Ireland. If you would like a particular atmospheric parameter to be added to this method, either create an issue on GitHub or send an email to support@amsimp.com.

See also

wind

static_stability

Generates an array of the the static stability.

\[\sigma = - \frac{R T}{p \theta} \frac{\partial \theta}{\partial p}\]
Returns

Static stability

Return type

astropy.units.quantity.Quantity

Notes

Static stability is defined as the stability of the atmosphere in hydrostatic equilibrium with respect to vertical displacements.

vertical_motion

Generates an array of the vertical motion.

\[\frac{\partial u}{\partial x} + \frac{\partial v}{\partial y} \ = - \frac{\partial \omega}{\partial p}\]
Returns

Vertical motion

Return type

astropy.units.quantity.Quantity

Notes

Typical large-scale vertical motions in the atmosphere are of the order of 0.01 – 0.1 \(\frac{m}{s}\).

See also

wind

wind

Generates an arrray of wind.

Returns

Wind (zonal and meridional components)

Return type

tuple

Notes

If the user did not define initial conditions on initialisation of the class, this data is retrieved from the AMSIMP Initial Conditions Data Repository on GitHub. Wind is the flow of gases on a large scale. Wind consists of the bulk movement of air.

See also

vertical_motion