- Aug 12, 2022
-
-
bjorn-stevens authored
I added the calculation of the moist adiabat from the integration of the first law to the functions, and a generalized definition of the 'dry' potential temperature, which can account for moisture effects on thermodynamic parameters. An additional example was added to show the added functionality.
-
bjorn-stevens authored
the murphy and koop (2005) and hardy (1998) formulations for saturation vapor pressure are sometimes desired. The former for their ability to handle saturation over supercooled liquid, the latter because this equation is frequenly used for the processing of radio sonde data
-
bjorn-stevens authored
added this helper function to make the effect of qt!=qv more clear, a situation that is found when air is saturated, or has condensate in disequilibrium. This is now used in the definition of the moist potential temperatures.
-
bjorn-stevens authored
- added better referenced and more complete docstreams for all of the functions. - modified docstring formatting to better align with standards (google) - cleaned up some stray cells in the examples notebook
-
- Aug 11, 2022
-
-
bjorn-stevens authored
- doctests were corrected and now exist for most functions. ` - repository was restructured so example scripts are not outside of main repository
-
bjorn-stevens authored
Fixed the call and expected outcome statements of the doctest strings in the funciton documentation. In doing noticed that for the mixed supersaturations we should use the minimum, not maximum values, which reverts a false correction from a previous commit.
-
Bjorn Stevens authored
Fix doctests See merge request m219063/aes_thermo!1
-
Lukas Kluft authored
The functions are imported into the top-level namespace directly while the constants are accessible through their submodule namespace.
-
Lukas Kluft authored
-
Lukas Kluft authored
-
- Aug 10, 2022
-
-
bjorn-stevens authored
Some of the routines assume the existence of a directory to collect plots. This adds the directory to the repository.
-
bjorn-stevens authored
This is a new release. In addition to cleaning up existing code, it adds error checking (which identified a few bugs), and a number of examples taken from my archived (unreleased) library. This includes an analysis of different saturation vapor pressure formulations, the effect of the saturation vapor pressure formulation on the potential temperatures, and differences in calculations of ths lifting condensation level.
-
bjorn-stevens authored
renamed funcitons with shorter names as longer descriptions are part of documentation. Began checking functions and documenting expected answers, which also led to some bug corrections.
-
bjorn-stevens authored
resolves m219063/aes_thermo#1 Updated the release so that the module references are now relative references to avoid conflicts. This was the last outstanding open point of the above referenced issue
-
bjorn-stevens authored
renamed respository, changing from aes_thermo to moist_thermodynamics. This resulted in changes in directory and file names
-
bjorn-stevens authored
Resolves issue m219063/aes_thermo#2 Initially saturation vapor pressure calls could select which formulation to use based on a string argument. Now all calls are made explicitly visible and a default form is passed to functions that depend on it. Calls to these functions can however substitute a different form for the default form.
-
bjorn-stevens authored
Initially saturation vapor pressure calls could select which formulation to use based on a string argument. Now all calls are made explicitly visible and a default form is passed to functions that depend on it. Calls to these functions can however substitute a different form for the default form.
-
bjorn-stevens authored
Originally I had imported the module constants using an absolute path, now this is modified for a relative import
-
bjorn-stevens authored
Added a ipython notebook script with a first example of using the functions to plot a moist adiabat.
-
bjorn-stevens authored
1. The constants were redefined with sybmols and expressive names to make their use more intuitive and expressive 2. Functions names were made more expressive and small modifications were made to consistently used previously defined functionality
-
- Aug 07, 2022
-
-
bjorn-stevens authored
When separating the constants from the functions the constants were no longer automatically seen by the functions. The functions module has been modified to explicitly access the constants in the constants module. The latter also has some inquiry functions that make it easy to access many constants at once, grouped by usecase.
-
Bjorn Stevens authored
This contains the basic structure to allow the aes_thermo constants and functions to be available as a package.
-
Bjorn Stevens authored
Added cursory information and deleted some template information from README file
-
Bjorn Stevens authored
-
Bjorn Stevens authored
-