Skip to content

Commit

Permalink
Merge pull request #172 from edoddridge/JOSS-submission
Browse files Browse the repository at this point in the history
JOSS submission
  • Loading branch information
edoddridge authored Dec 12, 2017
2 parents ec8eb91 + 8fcaa8a commit 18d404e
Show file tree
Hide file tree
Showing 3 changed files with 147 additions and 0 deletions.
30 changes: 30 additions & 0 deletions paper/codemeta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"@context": "https://raw.githubusercontent.com/codemeta/codemeta/master/codemeta.jsonld",
"@type": "Code",
"author": [
{
"@id": "https://orcid.org/0000-0002-6097-5729",
"@type": "Person",
"email": "ewd@mit.edu",
"name": "Ed Doddridge",
"affiliation": "MIT"
},
{
"@id": "",
"@type": "Person",
"email": "axch@mit.edu",
"name": "Alexey Radul",
"affiliation": "MIT"
}
],
"identifier": "",
"codeRepository": "https://github.com/edoddridge/aronnax",
"datePublished": "2017-11-18",
"dateModified": "2017-11-18",
"dateCreated": "2017-11-18",
"description": "An idealised isopycnal ocean circulation model.",
"keywords": "ocean model, python, geophysical fluid dynamics",
"license": "MIT",
"title": "Aronnax",
"version": "v0.1"
}
80 changes: 80 additions & 0 deletions paper/paper.bib
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
@article{Johnson2002a,
author = {Johnson, Helen L. and Marshall, David P.},
journal = {J. Phys. Oceanogr.},
pages = {1121--1132},
title = {{A theory for the surface Atlantic response to thermohaline variability}},
url = {http://dx.doi.org/10.1175/1520-0485(2002)032{\%}3C1121:ATFTSA{\%}3E2.0.CO;2},
year = {2002}
}
@article{Stern1998,
author = {Stern, Melvin E.},
doi = {10.1175/1520-0485(1998)028<2040:SOADCF>2.0.CO;2},
issn = {0022-3670},
journal = {J. Phys. Oceanogr.},
month = {oct},
number = {10},
pages = {2040--2049},
title = {{Separation of a Density Current from the Bottom of a Continental Slope}},
url = {http://journals.ametsoc.org/doi/abs/10.1175/1520-0485(1998)028{\%}3C2040:SOADCF{\%}3E2.0.CO;2},
volume = {28},
year = {1998}
}
@article{Fevrier2007,
author = {F{\'{e}}vrier, Sabine and Sirven, J{\'{e}}r{\^{o}}me and Herbaut, Christophe},
doi = {10.1175/JPO3062.1},
issn = {0022-3670},
journal = {J. Phys. Oceanogr.},
month = {jun},
number = {6},
pages = {1429--1444},
title = {{Interaction of a Coastal Kelvin Wave with the Mean State in the Gulf Stream Separation Area}},
url = {http://journals.ametsoc.org/doi/abs/10.1175/JPO3062.1},
volume = {37},
year = {2007}
}
@article{Davis2014,
abstract = {AbstractRecent satellite and hydrographic observations have shown that the rate of freshwater accumulation in the Beaufort Gyre of the Arctic Ocean has accelerated over the past decade. This acceleration has coincided with the dramatic decline observed in Arctic sea ice cover, which is expected to modify the efficiency of momentum transfer into the upper ocean. Here, a simple process model is used to investigate the dynamical response of the Beaufort Gyre to the changing efficiency of momentum transfer, and its link with the enhanced accumulation of freshwater. A linear relationship is found between the annual mean momentum flux and the amount of freshwater accumulated in the Beaufort Gyre. In the model, both the response time scale and the total quantity of freshwater accumulated are determined by a balance between Ekman pumping and an eddy-induced volume flux toward the boundary, highlighting the importance of eddies in the adjustment of the Arctic Ocean to a change in forcing. When the seasonal cycle i...},
author = {Davis, Peter E D and Lique, Camille and Johnson, Helen L.},
doi = {10.1175/JCLI-D-14-00090.1},
issn = {08948755},
journal = {J. Clim.},
keywords = {Arctic,Freshwater,Ocean dynamics},
number = {21},
pages = {8170--8184},
title = {{On the link between arctic sea ice decline and the freshwater content of the beaufort gyre: Insights from a simple process model}},
volume = {27},
year = {2014}
}
@article{Griffies2000,
author = {Griffies, Stephen M and B{\"{o}}ning, Claus and Bryan, Frank O. and Chassignet, Eric P. and Gerdes, Rudiger and Hasumi, Hiroyasu and Hirst, Anthony and Treguier, Anne-Marie and Webb, David},
journal = {Ocean Model.},
number = {2000},
pages = {123--192},
title = {{Developments in ocean climate modelling}},
url = {http://www.sciencedirect.com/science/article/pii/S1463500300000147},
volume = {2},
year = {2000}
}
@article{Stewart2017,
author = {Stewart, K.D. and Hogg, A.McC. and Griffies, S.M. and Heerdegen, A.P. and Ward, M.L. and Spence, P. and England, M.H.},
doi = {10.1016/j.ocemod.2017.03.012},
issn = {14635003},
journal = {Ocean Model.},
keywords = {Baroclinic modal structure,High-resolution global ocean model,Vertical resolution},
month = {may},
pages = {50--65},
publisher = {Elsevier Ltd},
title = {{Vertical resolution of baroclinic modes in global ocean models}},
url = {http://dx.doi.org/10.1016/j.ocemod.2017.03.012 http://linkinghub.elsevier.com/retrieve/pii/S1463500317300434},
volume = {113},
year = {2017}
}
@book{Vallis2006,
address = {Cambridge, UK},
author = {Vallis, Geoffrey K.},
isbn = {9780521849692},
pages = {745},
publisher = {Cambridge University Press},
title = {{Atmospheric and Oceanic Fluid Dynamics}},
year = {2006}
}
37 changes: 37 additions & 0 deletions paper/paper.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
title: 'Aronnax: An idealised isopycnal ocean model'
tags:
- oceanography
- isopycnal model
- python
- geophysical fluid dynamics
authors:
- name: Edward W. Doddridge
orcid: 0000-0002-6097-5729
affiliation: 1
- name: Alexey Radul
affiliation: 2
affiliations:
- name: Massachusetts Institute of Technology, Earth, Atmospheric and Planetary Sciences
index: 1
- name: Massachusetts Institute of Technology
index: 2
date: 5 December 2017
bibliography: paper.bib
---

# Summary

Aronnax is a highly idealised model for simulating large-scale (100-1000km) flows in the ocean. Aronnax is intended for theoretical and empirical oceanographers, as a (relatively) fast and easy-to-use simulation model, bridging the gap between pencil-and-paper on one hand, and more faithful (and complex) computational models on the other. The numerical core is written in Fortran to improve performance, and wrapped in Python to improve usability.

Aronnax is an _isopyncal_ model: it approximates the ocean as a number of discrete homogeneous layers with spatially variable thicknesses. These layers are stacked vertically and the density difference between neighbouring layers is specified by the user. Other widely used vertical coordinates require solving the equations of motion at specified vertical levels where the density is allowed to vary [@Griffies2000]. Representing the large-scale ocean circulation in layers contributes to Aronnax's speed: one needs only a few layers to achieve the same fidelity as 50 or more fixed vertical levels [@Stewart2017].

Aronnax serves three distinct purposes. Firstly, many of the studies that use a model like Aronnax do not provide the source code, see e.g. [@Davis2014,@Fevrier2007,Johnson2002a,@Stern1998]. This increases the likelihood that coding errors go undetected, and requires that each research group spend time developing their own idealised model. Aronnax solves these problems by providing an open source, tested model for the community to use. Secondly, Aronnax furthers the goals of scientific reproducibility since a simulation can be entirely specified with a set of input files and a version number. Thirdly, Aronnax provides an easy-to-use model that may be included in future modelling hierarchies with minimal effort, thereby enabling new research questions to be addressed.

There are a number of other publicly available ocean models. Of these the most abundant are general circulation models and quasigeostrophic models. General circulation models such as [NEMO](https://www.nemo-ocean.eu/), [GOLD](https://www.gfdl.noaa.gov/gold-ocean-model/), [MOM6](https://github.com/NOAA-GFDL/MOM6), and the [MITgcm](http://mitgcm.org/) solve a less idealised version of the Navier-Stokes equations and can be coupled with sea ice and atmospheric models to create fully coupled climate models. Because the underlying equations are derived with fewer approximations these models can more faithfully simulate a wider range of flow regimes. However, this comes at a price; general circulation models are extremely complex, with numerous free parameters that must be specified, often prior to compiling the source code. It is possible to use most of these models in idealised configurations, but doing so requires a substantial investment of time from the user, and non-trivial computing resources. In comparison, Aronnax is easy to install and cheap to run.

The other abundant class of models is quasigeostrophic models. Geostrophy is a balance between the Coriolis force and the horizontal gradient of the pressure field; flows in which the Coriolis force and the horizontal pressure gradient _almost_ balance are known as quasigeostrophic. Quasigeostrophic models of the ocean make use of this near balance and a number of other assumptions to simplify the equations of motion from a system of five coupled partial differential equations to a single partial differential equation [@Vallis2006]. Quasigeostrophic models range in complexity from [QGcm](http://www.q-gcm.org/), which includes the option of a coupled atmosphere, to doubly periodic quasigeostrophic turbulence models such as [PyQG](http://pyqg.readthedocs.io/en/stable/) and [QGModel](https://github.com/joernc/QGModel). While quasigeostrophic models are extremely useful, there are some problems for which they are ill-suited. For example, the adjustment of the ocean circulation often occurs through ageostrophic motions such as boundary waves [@Johnson2002a], which are not represented in quasigeostrophic models. In addition, quasigeostrophic models are limited in their representation of sloping bathymetry (depth of the sea floor). For these reasons it may be preferable to use an idealised non-linear model such as Aronnax.

Aronnax is MIT licensed and can be retrieved from GitHub at [https://github.com/edoddridge/aronnax](https://github.com/edoddridge/aronnax).

# References

0 comments on commit 18d404e

Please sign in to comment.