Skip to content

Commit

Permalink
Updated api documentation and released v.7.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
uliw committed Aug 9, 2021
1 parent 5d83961 commit d9af37b
Show file tree
Hide file tree
Showing 10 changed files with 12,566 additions and 5,255 deletions.
7 changes: 6 additions & 1 deletion docs/esbmtk.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ <h1 class="modulename">

<span class="n">ureg</span><span class="o">.</span><span class="n">define</span><span class="p">(</span><span class="s2">&quot;Sverdrup = 1e6 * meter **3 / second = Sv = Sverdrups&quot;</span><span class="p">)</span>
<span class="n">ureg</span><span class="o">.</span><span class="n">define</span><span class="p">(</span><span class="s2">&quot;Mol = 1 * mol / liter = M&quot;</span><span class="p">)</span>
<span class="n">ureg</span><span class="o">.</span><span class="n">define</span><span class="p">(</span><span class="s2">&quot;fraction = [] = frac&quot;</span><span class="p">)</span>
<span class="n">ureg</span><span class="o">.</span><span class="n">define</span><span class="p">(</span><span class="s2">&quot;percent = 1e-2 frac = pct&quot;</span><span class="p">)</span>
<span class="n">ureg</span><span class="o">.</span><span class="n">define</span><span class="p">(</span><span class="s2">&quot;permil = 1e-3 fraction&quot;</span><span class="p">)</span>
<span class="n">ureg</span><span class="o">.</span><span class="n">define</span><span class="p">(</span><span class="s2">&quot;ppm = 1e-6 fraction&quot;</span><span class="p">)</span>


<span class="c1"># import utility_functions</span>
<span class="c1"># import esbmtk</span>
Expand All @@ -75,7 +80,7 @@ <h1 class="modulename">
<span class="c1"># rom .species_definitions import carbon, sulfur, hydrogen, phosphor</span>
<span class="kn">from</span> <span class="nn">.esbmtk</span> <span class="kn">import</span> <span class="o">*</span>
<span class="kn">from</span> <span class="nn">.extended_classes</span> <span class="kn">import</span> <span class="o">*</span>
<span class="kn">from</span> <span class="nn">.connections</span> <span class="kn">import</span> <span class="n">ConnectionGroup</span><span class="p">,</span> <span class="n">Connection</span><span class="p">,</span> <span class="n">Connect</span>
<span class="kn">from</span> <span class="nn">.connections</span> <span class="kn">import</span> <span class="n">ConnectionGroup</span><span class="p">,</span> <span class="n">Connection</span><span class="p">,</span> <span class="n">Connect</span><span class="p">,</span> <span class="n">AirSeaExchange</span>
<span class="kn">from</span> <span class="nn">.utility_functions</span> <span class="kn">import</span> <span class="o">*</span>
<span class="kn">from</span> <span class="nn">.sealevel</span> <span class="kn">import</span> <span class="o">*</span>
<span class="kn">from</span> <span class="nn">.solver</span> <span class="kn">import</span> <span class="o">*</span>
Expand Down
1,680 changes: 1,137 additions & 543 deletions docs/esbmtk/carbonate_chemistry.html

Large diffs are not rendered by default.

946 changes: 835 additions & 111 deletions docs/esbmtk/connections.html

Large diffs are not rendered by default.

3,505 changes: 2,480 additions & 1,025 deletions docs/esbmtk/esbmtk.html

Large diffs are not rendered by default.

6,923 changes: 4,924 additions & 1,999 deletions docs/esbmtk/extended_classes.html

Large diffs are not rendered by default.

2,405 changes: 1,558 additions & 847 deletions docs/esbmtk/processes.html

Large diffs are not rendered by default.

247 changes: 220 additions & 27 deletions docs/esbmtk/sealevel.html

Large diffs are not rendered by default.

817 changes: 271 additions & 546 deletions docs/esbmtk/solver.html

Large diffs are not rendered by default.

1,247 changes: 1,107 additions & 140 deletions docs/esbmtk/utility_functions.html

Large diffs are not rendered by default.

44 changes: 28 additions & 16 deletions esbmtk.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: esbmtk
Version: 0.5.1.1
Version: 0.7.0.0
Summary: An Earth Sciences Box Modeling Toolkit
Home-page: https://github.com/uliw/esbmtk
Author: Ulrich G. Wortmann
Expand All @@ -9,16 +9,16 @@ License: GPL-3.0-or-later
Description:
# Table of Contents

1. [ESBMTK - An Earth-sciences box modeling toolkit](#org4cb1dae)
2. [News](#orgf45e924)
3. [Contributing](#orgf86863a)
4. [Installation](#org1926aa5)
5. [Documentation](#org32be20b)
6. [Todo](#org8c386f2)
7. [License](#org262ab0e)
1. [ESBMTK - An Earth-sciences box modeling toolkit](#orgf72bf37)
2. [News](#orgcd094ee)
3. [Contributing](#org8bae6b2)
4. [Installation](#org5f36e62)
5. [Documentation](#org054bfc8)
6. [Todo](#org9201f34)
7. [License](#org658764b)


<a id="org4cb1dae"></a>
<a id="orgf72bf37"></a>

# ESBMTK - An Earth-sciences box modeling toolkit

Expand All @@ -35,10 +35,22 @@ Description:
generation of graphical results.


<a id="orgf45e924"></a>
<a id="orgcd094ee"></a>

# News

- August 2<sup>nd</sup>, 0.7.0.0 Python namespaces are now the default. Esbmtk
now supports carbonate chemistry. Tracers like bicarbonate and
carbonate-ion concentration can be calculated for reservoir groups
which track total alkalinity and dissolved inorganic carbon. The
function `add_carbonate_system_1` will add these tracers to a given
reservoir group. The function `add_carbonate_system_2` will
additionally compute carbonate burial and dissolution fluxes,
following the approach of <sup id="388846f245b537f203fa603cf49f42f1"><a href="#boudreau-2010-ongoin-trans" title="Bernard Boudreau, Jack Middelburg, , Andreas Hofmann \&amp; Filip Meysman, Ongoing Transients in Carbonate Compensation, {Global Biogeochemical Cycles}, v(4), n/a-n/a (2010).">boudreau-2010-ongoin-trans</a></sup>. Big
thanks to Tina and Mahrukh who developed and tested the carbonate
chemistry module. Note that the current release has not yet updated
the documentation or the examples in the github repository.

- July 28<sup>th</sup>, esbmtk now supports python name spaces. The default is
still to register all esbmtk objects in the global
namespace. However, in cases where models need to be integrated
Expand Down Expand Up @@ -155,7 +167,7 @@ Description:
seawater species concentrations and their K and Pk constants at
given set of temperature, salinity and pressure conditions. This
version also includes some refactoring in the `Connnection` and
`ConnectionmGroup` classes. It is likely that this broke some
`ConnectionGroup` classes. It is likely that this broke some
connection types.

- March 13<sup>th</sup>, cleaned up the use of the `k_value` keyword which is
Expand Down Expand Up @@ -260,7 +272,7 @@ Description:
- Oct. 25<sup>th</sup>, Initial release on github.


<a id="orgf86863a"></a>
<a id="org8bae6b2"></a>

# Contributing

Expand All @@ -270,7 +282,7 @@ Description:
graphical interface ;-) See the todo section for ideas.


<a id="org1926aa5"></a>
<a id="org5f36e62"></a>

# Installation

Expand All @@ -291,7 +303,7 @@ Description:
- pip install esbmtk


<a id="org32be20b"></a>
<a id="org054bfc8"></a>

# Documentation

Expand All @@ -309,7 +321,7 @@ Description:
-


<a id="org8c386f2"></a>
<a id="org9201f34"></a>

# Todo

Expand All @@ -318,7 +330,7 @@ Description:
- do more testing


<a id="org262ab0e"></a>
<a id="org658764b"></a>

# License

Expand Down

0 comments on commit d9af37b

Please sign in to comment.