rock-physics-open 0.1.dev1__py3-none-any.whl → 0.1.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of rock-physics-open might be problematic. Click here for more details.

@@ -10,19 +10,19 @@ from .oil_bubble_point import bp_standing
10
10
 
11
11
 
12
12
  def oil_properties(
13
- temp: np.ndarray | float,
14
- pres: np.ndarray | float,
13
+ temperature: np.ndarray | float,
14
+ pressure: np.ndarray | float,
15
15
  rho0: np.ndarray | float,
16
- gor: np.ndarray | float,
17
- gr: np.ndarray | float,
16
+ gas_oil_ratio: np.ndarray | float,
17
+ gas_gravity: np.ndarray | float,
18
18
  ) -> np.ndarray | float:
19
19
  """
20
- :param temp: Temperature (Celsius) of oil.
21
- :param pres: Pressure (Pa) of oil
20
+ :param temperature: Temperature (Celsius) of oil.
21
+ :param pressure: Pressure (Pa) of oil
22
22
  :param rho0: Density of the oil without dissolved gas at 15.6 degrees Celsius and
23
23
  atmospheric pressure. (kg/m^3)
24
- :param gor: The volume ratio of gas to oil [l/l]
25
- :param gr: Gas Gravity, molar mass of gas relative to air molar mas.
24
+ :param gas_oil_ratio: The volume ratio of gas to oil [l/l]
25
+ :param gas_gravity: Gas Gravity, molar mass of gas relative to air molar mas.
26
26
  :return: vel_oil, den_oil, k_oil
27
27
  """
28
28
  # Since live_oil with gas_oil_ratio=0.0 is not equal to dead oil
@@ -41,9 +41,11 @@ def oil_properties(
41
41
  window = np.clip((np.abs(x) - length / 2) / (length / 2), 0, 1)
42
42
  return 1 - window
43
43
 
44
- loil_den, loil_vel = live_oil(temp, pres, rho0, gor, gr)
45
- doil_den, doil_vel = dead_oil(temp, pres, rho0)
46
- window = triangular_window(gor)
44
+ loil_den, loil_vel = live_oil(
45
+ temperature, pressure, rho0, gas_oil_ratio, gas_gravity
46
+ )
47
+ doil_den, doil_vel = dead_oil(temperature, pressure, rho0)
48
+ window = triangular_window(gas_oil_ratio)
47
49
  den_oil = doil_den * window + (1 - window) * loil_den
48
50
  vel_oil = doil_vel * window + (1 - window) * loil_vel
49
51
  k_oil = vel_oil**2 * den_oil
@@ -17,5 +17,5 @@ __version__: str
17
17
  __version_tuple__: VERSION_TUPLE
18
18
  version_tuple: VERSION_TUPLE
19
19
 
20
- __version__ = version = '0.1.dev1'
21
- __version_tuple__ = version_tuple = (0, 1, 'dev1')
20
+ __version__ = version = '0.1.3'
21
+ __version_tuple__ = version_tuple = (0, 1, 3)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rock_physics_open
3
- Version: 0.1.dev1
3
+ Version: 0.1.3
4
4
  Summary: Equinor Rock Physics Module
5
5
  Author-email: Harald Flesche <hfle@equinor.com>, Eivind Jahren <ejah@equinor.com>, Jimmy Zurcher <jiz@equinor.com>
6
6
  Maintainer-email: Harald Flesche <hfle@equinor.com>, Eirik Ola Aksnes <eoaksnes@equinor.com>, Christopher Collin Løkken <chcl@equinor.com>, Sivert Utne <sutn@equinor.com>
@@ -34,7 +34,7 @@ Dynamic: license-file
34
34
 
35
35
  <div align="center">
36
36
 
37
- # rock_physics_open
37
+ # rock-physics-open
38
38
 
39
39
  [![License: LGPL v3][license-badge]][license]
40
40
  [![SCM Compliance][scm-compliance-badge]][scm-compliance]
@@ -67,10 +67,10 @@ definition of equations and other utilities.
67
67
 
68
68
  ## Installation
69
69
 
70
- This module can be installed through PyPi with:
70
+ This module can be installed through [PyPI](https://pypi.org/project/rock-physics-open/) with:
71
71
 
72
72
  ```sh
73
- pip install rock_physics_open
73
+ pip install rock-physics-open
74
74
  ```
75
75
 
76
76
  Alternatively, you can update the dependencies in your `pyproject.toml` file:
@@ -78,14 +78,14 @@ Alternatively, you can update the dependencies in your `pyproject.toml` file:
78
78
  <!-- x-release-please-start-version -->
79
79
  ```toml
80
80
  dependencies = [
81
- "rock_physics_open == 0.1.2",
81
+ "rock-physics-open == 0.1.3",
82
82
  ]
83
83
  ```
84
84
  <!-- x-release-please-end-version -->
85
85
 
86
86
  <!-- External Links -->
87
87
  [scm-compliance]: https://developer.equinor.com/governance/scm-policy/
88
- [scm-compliance-badge]: https://scm-compliance-api.radix.equinor.com/repos/equinor/7ace9d61-dd9d-46b6-901d-f0f008fef142/badge
88
+ [scm-compliance-badge]: https://scm-compliance-api.radix.equinor.com/repos/equinor/rock-physics-open/badge
89
89
  [license]: https://www.gnu.org/licenses/lgpl-3.0
90
90
  [license-badge]: https://img.shields.io/badge/License-LGPL_v3-blue.svg
91
91
  [on-push-main-action]: https://github.com/equinor/rock-physics-open/actions/workflows/on-push-main.yaml
@@ -1,5 +1,5 @@
1
1
  rock_physics_open/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- rock_physics_open/version.py,sha256=WD4pBB9mG1gePPC5HudjcgQNJOSnqu7QeHQ022Gjt7Q,519
2
+ rock_physics_open/version.py,sha256=NIzzV8ZM0W-CSLuEs1weG4zPrn_-8yr1AwwI1iuS6yo,511
3
3
  rock_physics_open/equinor_utilities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  rock_physics_open/equinor_utilities/anisotropy.py,sha256=toEsuIW_gHr34gZQpam3sQTl0ap6nAq1pW5hcX9GOHI,4469
5
5
  rock_physics_open/equinor_utilities/conversions.py,sha256=d6SGPbzYsmYBvhDqnohg1lPjAeYGOc0z_vdsuFeNlb4,194
@@ -61,7 +61,7 @@ rock_physics_open/fluid_models/oil_model/dead_oil_velocity.py,sha256=jA-XxbxsBzs
61
61
  rock_physics_open/fluid_models/oil_model/live_oil_density.py,sha256=oURrY4YM28RoC6I513xWiWIUi6hWSNIFgdb5D01kjwE,2775
62
62
  rock_physics_open/fluid_models/oil_model/live_oil_velocity.py,sha256=pPAZm24CPTJQYF9CK69t7UWkWI2JjGksR9XKccUPhbI,937
63
63
  rock_physics_open/fluid_models/oil_model/oil_bubble_point.py,sha256=hWxxJtYZFK8_mVuKTYGipLmkT6DJobz6SVm53fa_rSc,2605
64
- rock_physics_open/fluid_models/oil_model/oil_properties.py,sha256=6nucE7M_wUb-YEW-Wmos7OnqxDlnsuDJBhCF3EPGh_0,4117
64
+ rock_physics_open/fluid_models/oil_model/oil_properties.py,sha256=U8CbgrnwYT9c3lSw9yILwm8_Mau7sKpFM1BLc3zlIOw,4242
65
65
  rock_physics_open/sandstone_models/__init__.py,sha256=KC_b_SMFzIeTVXZy1IDFVSa0jC5sHlONJjun5R12H6A,1955
66
66
  rock_physics_open/sandstone_models/cemented_shalysand_sandyshale_models.py,sha256=jXEuEOMOmiAukYlDgV3-vd2tiZWW8Dm59PaeP-XXh8Y,8516
67
67
  rock_physics_open/sandstone_models/constant_cement_models.py,sha256=kHRcPEC114uolMZvvPxzvHJhF9wdSuuDKNS0mNFrqtI,7223
@@ -135,8 +135,8 @@ rock_physics_open/ternary_plots/shale_prop_ternary.py,sha256=5-NB4LoXRP7JPQYaJBZ
135
135
  rock_physics_open/ternary_plots/ternary_patches.py,sha256=oYaIkCbzC4L19VWBz5iphVdQnpHX9kdy0p2NK65aIIM,7256
136
136
  rock_physics_open/ternary_plots/ternary_plot_utilities.py,sha256=weFDWyzd7wgr3xB63Q-xtT-KoJA6FNIDWuTkA7jr94Q,5669
137
137
  rock_physics_open/ternary_plots/unconventionals_ternary.py,sha256=KWjcBrjI8Tgr2FYpz1ey-DPuhUeSC7b5mpN8OzwNa4I,1823
138
- rock_physics_open-0.1.dev1.dist-info/licenses/LICENSE,sha256=46mU2C5kSwOnkqkw9XQAJlhBL2JAf1_uCD8lVcXyMRg,7652
139
- rock_physics_open-0.1.dev1.dist-info/METADATA,sha256=EQMYUsSoNErmG1ED2Kaf9rj9DLXAOh6mQP7PQjuMZbI,3909
140
- rock_physics_open-0.1.dev1.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
141
- rock_physics_open-0.1.dev1.dist-info/top_level.txt,sha256=zFBbfbv2pshFJvcvcLLigDmlJjjg08iDdb6ABgncaP8,18
142
- rock_physics_open-0.1.dev1.dist-info/RECORD,,
138
+ rock_physics_open-0.1.3.dist-info/licenses/LICENSE,sha256=46mU2C5kSwOnkqkw9XQAJlhBL2JAf1_uCD8lVcXyMRg,7652
139
+ rock_physics_open-0.1.3.dist-info/METADATA,sha256=vE1bqOfLEormD8hwmSLv24KXfA2x50ugzE7xVFq3_aw,3934
140
+ rock_physics_open-0.1.3.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
141
+ rock_physics_open-0.1.3.dist-info/top_level.txt,sha256=zFBbfbv2pshFJvcvcLLigDmlJjjg08iDdb6ABgncaP8,18
142
+ rock_physics_open-0.1.3.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.3.1)
2
+ Generator: setuptools (80.4.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5