Skip to content

Commit

Permalink
Feature: vertical wind velocity diagnostic (#16)
Browse files Browse the repository at this point in the history
This commit includes

* Wind diagnostic
* Update of the documentation with the vertical velocity fields diagnostic
* Added a new notebook to show the vertical wind velocity
  • Loading branch information
jodemaey authored Dec 11, 2022
1 parent fa6c67e commit 35e42e9
Show file tree
Hide file tree
Showing 9 changed files with 1,304 additions and 17 deletions.
4 changes: 4 additions & 0 deletions documentation/source/files/technical/tensors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ Module holding the model's tendencies tensor encoding each of their additive ter
.. automodule:: qgs.tensors.qgtensor
:show-inheritance:
:members:

.. automodule:: qgs.tensors.atmo_thermo_tensor
:show-inheritance:
:members:
7 changes: 4 additions & 3 deletions documentation/source/files/user_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -510,9 +510,10 @@ Note that it is also possible to use other ordinary differential equations integ
* :class:`.MiddleAtmosphericUWindDiagnostic`: Diagnostic giving the middle atmospheric U wind fields :math:`- \partial_y \psi_{\rm a}`.
* :class:`.UpperLayerAtmosphericVWindDiagnostic`: Diagnostic giving the upper layer atmospheric V wind fields :math:`\partial_x \psi^1_{\rm a}`.
* :class:`.UpperLayerAtmosphericUWindDiagnostic`: Diagnostic giving the upper layer atmospheric U wind fields :math:`- \partial_y \psi^1_{\rm a}`.
* :class:`.LowerLayerAtmosphericWindIntensityDiagnostic`: Diagnostic giving the lower layer atmospheric wind intensity fields.
* :class:`.MiddleAtmosphericWindIntensityDiagnostic`: Diagnostic giving the middle atmospheric wind intensity fields.
* :class:`.UpperLayerAtmosphericWindIntensityDiagnostic`: Diagnostic giving the upper layer atmospheric wind intensity fields.
* :class:`.LowerLayerAtmosphericWindIntensityDiagnostic`: Diagnostic giving the lower layer atmospheric horizontal wind intensity fields.
* :class:`.MiddleAtmosphericWindIntensityDiagnostic`: Diagnostic giving the middle atmospheric horizontal wind intensity fields.
* :class:`.UpperLayerAtmosphericWindIntensityDiagnostic`: Diagnostic giving the upper layer atmospheric horizontal wind intensity fields.
* :class:`.MiddleLayerVerticalVelocity`: Diagnostic giving the middle atmospheric layer vertical wind intensity fields.
* :class:`.MiddleAtmosphericEddyHeatFluxDiagnostic`: Diagnostic giving the middle atmospheric eddy heat flux field.
* :class:`.MiddleAtmosphericEddyHeatFluxProfileDiagnostic`: Diagnostic giving the middle atmospheric eddy heat flux zonally averaged profile.

Expand Down
6 changes: 1 addition & 5 deletions notebooks/diagnostics/eddy_heat_flux.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -401,16 +401,12 @@
" diagnostic_kwargs={'show_time': False, 'background': background},\n",
" plot_kwargs={'ms': 0.2})\n",
"\n",
"# m.add_diagnostic(vwind)#,\n",
" #diagnostic_kwargs={'style': 'contour', 'contour_labels': False},\n",
" #plot_kwargs={'colors': 'k'})\n",
" \n",
"m.add_diagnostic(eddy, plot_kwargs={'cmap':plt.get_cmap('magma')})\n",
"m.add_diagnostic(eddyp, plot_kwargs={'figsize':(10,8)})\n",
"\n",
"m.add_diagnostic(temp)\n",
" \n",
"m.set_data(reference_time, reference_traj)"
"m.set_data(reference_time[:2000], reference_traj[:,:2000])"
]
},
{
Expand Down
Loading

0 comments on commit 35e42e9

Please sign in to comment.