Skip to content
Snippets Groups Projects
  1. Aug 12, 2022
    • bjorn-stevens's avatar
      added moist adiabat and theta to functions · 2b9cf304
      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.
      2b9cf304
    • bjorn-stevens's avatar
      added new formulats for saturation vapor pressure · 90e27b58
      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
      90e27b58
    • bjorn-stevens's avatar
      added function saturation partition · 0bcbb599
      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.
      0bcbb599
    • bjorn-stevens's avatar
      added more complete docstrings · 5bc611c1
      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
      5bc611c1
  2. Aug 11, 2022
  3. Aug 10, 2022
    • bjorn-stevens's avatar
      added plot directory to repository · 05a6abde
      bjorn-stevens authored
      Some of the routines assume the existence of a directory to
      collect plots.  This adds the directory to the repository.
      05a6abde
    • bjorn-stevens's avatar
      0.2 release (cleanup and additional examples) · 9a6e141d
      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.
      9a6e141d
    • bjorn-stevens's avatar
      clean up · 83bffa9c
      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.
      83bffa9c
    • bjorn-stevens's avatar
      clean release with relative module references · 9514823d
      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
      9514823d
    • bjorn-stevens's avatar
      [rename] renamed repository · 0d7f6c40
      bjorn-stevens authored
      renamed respository, changing from aes_thermo to moist_thermodynamics.
      This resulted in changes in directory and file names
      0d7f6c40
    • bjorn-stevens's avatar
    • bjorn-stevens's avatar
      [feature] modified calls to sat vapor pressure · 8d3d268b
      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.
      8d3d268b
    • bjorn-stevens's avatar
      [feature] modified calls to sat vapor pressure · 283f3d54
      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.
      283f3d54
    • bjorn-stevens's avatar
      [bugfix] modified import of constants in functions · 1e1f0412
      bjorn-stevens authored
      Originally I had imported the module constants using an absolute
      path, now this is modified for a relative import
      1e1f0412
    • bjorn-stevens's avatar
      [feature] added an example script · f0115327
      bjorn-stevens authored
      Added a ipython notebook script with a first example of using the
      functions to plot a moist adiabat.
      f0115327
    • bjorn-stevens's avatar
      cleaned up functions and constants · 815bc7c1
      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
      815bc7c1
  4. Aug 07, 2022
Loading