Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a Thickness Calculation #621

Merged
merged 5 commits into from Dec 1, 2017
Merged

Add a Thickness Calculation #621

merged 5 commits into from Dec 1, 2017

Commits on Nov 28, 2017

  1. Add a Thickness Calculation

    This commit adds a thickness calculation using an integral form of the
    hypsometric equation with virtual temperature adjustment. This assumes
    hydrostatic balance. Also included are two tests of this calculation,
    one using matching data from other tests and one using a simple dry
    isothermal layer.
    jthielen committed Nov 28, 2017
    Copy the full SHA
    6012626 View commit details
    Browse the repository at this point in the history
  2. Correct Thickness Formula Arguments

    Based on feedback, corrects the thickness formula to use d(ln(pres)) instead
    of d(pres)/pres. While these are equivalent in the continuous case, they do
    not give the same results in the discrete case here. Tests have likewise
    been updated to account for this change in formula (which should hopefully
    also resolve the legacy test failure).
    jthielen committed Nov 28, 2017
    Copy the full SHA
    16bea9d View commit details
    Browse the repository at this point in the history
  3. Updates to Optional Mixing Ratio and Depth Code

    Based on review feedback, updates the optional mixing ratio to be handled conditionally rather than with an array of zeros (if none is given), as well as conditionally calling get_layer only when a bottom/depth is specified. Adds two additional tests to cover all four scenarios (full layer-moist, subset-moist, full layer-dry, subset-dry). Also adds a citation for the thickness formula.
    jthielen committed Nov 28, 2017
    Copy the full SHA
    20d72da View commit details
    Browse the repository at this point in the history
  4. Correction After Rebase with Upstream

    The recent addition of the static energy calculations unfortunately caused a messy rebase conflict where the new functions got interleaved. I thought I got it all cleaned up, but unfortunately missed this exporter statement.
    jthielen committed Nov 28, 2017
    Copy the full SHA
    c5fdfd8 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2017

  1. Copy the full SHA
    6b70dc7 View commit details
    Browse the repository at this point in the history