-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Picciotto et al. 1960 isotopic temperature inference and [hydro]meteo…
…ric water line formulae (journal club paper); fixes in bibliography checks; code cleanups (#1498) Co-authored-by: Agnieszka Żaba <[email protected]> Co-authored-by: AgnieszkaZaba <[email protected]>
- Loading branch information
1 parent
0219928
commit 86ddb1d
Showing
22 changed files
with
238 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
""" definitions of meteoric water line parameters | ||
and definitions of the excess quantities""" | ||
|
||
from PySDM.impl.null_physics_class import Null | ||
from .barkan_and_luz_2007 import BarkanAndLuz2007 | ||
from .dansgaard_1964 import Dansgaard1964 | ||
from .picciotto_et_al_1960 import PicciottoEtAl1960 |
File renamed without changes.
File renamed without changes.
15 changes: 15 additions & 0 deletions
15
PySDM/physics/isotope_meteoric_water_line/picciotto_et_al_1960.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
""" based on [Picciotto et al. 1960](https://doi.org/10.1038/187857a0) | ||
where delta(2H)= slope_coeff * delta(18O) + intercept_coeff formulae is given | ||
with swapped 2H and 18O in a paper | ||
""" | ||
|
||
|
||
class PicciottoEtAl1960: # pylint: disable=too-few-public-methods | ||
def __init__(self, _): | ||
pass | ||
|
||
@staticmethod | ||
def d18O_of_d2H(const, delta_2H): | ||
return ( | ||
delta_2H - const.PICCIOTTO_18O_TO_2H_INTERCEPT_COEFF | ||
) / const.PICCIOTTO_18O_TO_2H_SLOPE_COEFF |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
""" | ||
formulae for inferring atmospheric temperatures from (ice core) water isotopic composition | ||
""" | ||
|
||
from PySDM.impl.null_physics_class import Null | ||
from PySDM.physics.isotope_temperature_inference.picciotto_et_al_1960 import ( | ||
PicciottoEtAl1960, | ||
) |
15 changes: 15 additions & 0 deletions
15
PySDM/physics/isotope_temperature_inference/picciotto_et_al_1960.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
""" based on [Picciotto et al. 1960](https://doi.org/10.1038/187857a0) | ||
where delta(T)=-(a*T + b) formulae given, here cast as T(delta)=(-delta-b)/a """ | ||
|
||
|
||
class PicciottoEtAl1960: # pylint: disable=too-few-public-methods | ||
def __init__(self, _): | ||
pass | ||
|
||
@staticmethod | ||
def temperature_from_delta_18O(const, delta_18O): | ||
return const.T0 + (-delta_18O - const.PICCIOTTO_18O_B) / const.PICCIOTTO_18O_A | ||
|
||
@staticmethod | ||
def temperature_from_delta_2H(const, delta_2H): | ||
return const.T0 + (-delta_2H - const.PICCIOTTO_2H_B) / const.PICCIOTTO_2H_A |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.