Skip to content

Commit 2868a40

Browse files
authored
Merge pull request #2 from AB-Ares/develop
Develop
2 parents 260d58c + 6f097e6 commit 2868a40

35 files changed

Lines changed: 2592 additions & 4866 deletions

Displacement_strain_planet/B1986_nmax.py

Lines changed: 91 additions & 86 deletions
Large diffs are not rendered by default.

Displacement_strain_planet/Displacement_strain.py

Lines changed: 238 additions & 194 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
2+
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.4916799.svg)](http://doi.org/10.5281/zenodo.4916799)
23

34
# Displacement_strain_planet
45

@@ -11,10 +12,14 @@ Planetary crustal thickness, displacement, stress, and strain calculations in sp
1112
These functions solve the [Banerdt (1986)](https://agupubs.onlinelibrary.wiley.com/doi/abs/10.1029/JB091iB01p00403) system of equations under different assumptions. Various improvements have been made to the model including the possibility to account for finite-amplitude correction and filtering [(Wieczorek & Phillips, 1998)](https://agupubs.onlinelibrary.wiley.com/doi/abs/10.1029/97JE03136), lateral density variations at any arbitrary depth and within the surface or moho-relief [(Wieczorek et al., 2013)](https://science.sciencemag.org/content/early/2012/12/04/science.1231530?versioned=true), and density difference between the surface topography and crust [(Broquet & Wieczorek, 2019)](https://agupubs.onlinelibrary.wiley.com/doi/abs/10.1029/2019JE005959).
1213

1314
### Comments
15+
#### Dependencies
1416
We note that some of these functions rely heavily on the [pyshtools](https://shtools.github.io/SHTOOLS/) package of [Wieczorek & Meschede (2018)](https://agupubs.onlinelibrary.wiley.com/doi/full/10.1029/2018GC007529) that is used to perform the spherical harmonic transforms, Legendre polynomial expansions, and finite-amplitude calculations.
1517

18+
#### Contribute
1619
This code is still under development and benchmarking. If you find any bugs or errors in the code, please report them in GitHub or to adrien.broquet at oca.eu.
1720

21+
For this code, we work on the develop branch and merge it to the main branch (with a new version number) everytime significant addtions/improvements are made. If you plan on making contributions, please base everything on the develop branch.
22+
1823
### Benchmarks
1924
Moho-relief calculations have been benchmarked to the [ctplanet](https://github.com/MarkWieczorek/ctplanet) package of Mark Wieczorek.
2025
Displacement calculations have been benchmarked to the analytical model of [Broquet & Wieczorek (2019)](https://agupubs.onlinelibrary.wiley.com/doi/abs/10.1029/2019JE005959).
@@ -64,13 +69,12 @@ Alternatively, you can install Displacement-strain-planet via pip
6469
```bash
6570
cd examples
6671
jupyter notebook Run_demo.ipynb
67-
python Mars_crust_displacement.py
68-
python Mars_SouthPolarCap_displacement.py
72+
python Mars_crust_displacement.py
6973
```
7074

7175
## Author
7276
[Adrien Broquet](https://www.oca.eu/fr/adrien-broquet) (adrien.broquet@oca.eu)
7377

7478
## Cite
7579
You can cite the latest release of the package as:
76-
Adrien Broquet. (2021, June 15). AB-Ares/Displacement_strain_planet: 0.2.3 (Version 0.2.3). Zenodo. http://doi.org/10.5281/zenodo.4916799
80+
Adrien Broquet. (2021, June 15). AB-Ares/Displacement_strain_planet: 0.2.4 (Version 0.2.4). Zenodo. http://doi.org/10.5281/zenodo.4916799
338 Bytes
Binary file not shown.
-92 Bytes
Binary file not shown.

docs/_build/doctrees/index.doctree

32 Bytes
Binary file not shown.
-68 Bytes
Binary file not shown.
-279 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)