res2df 1.3.8__py3-none-any.whl → 1.3.9__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.
res2df/grid.py CHANGED
@@ -216,10 +216,10 @@ def rst2df(
216
216
  # Filter the rst vectors once more, all of them
217
217
  # might not be available at all timesteps:
218
218
  present_rstvectors = []
219
- for vec in rstvectors:
219
+ for rst_vec in rstvectors:
220
220
  try:
221
- if resdatafiles.get_rstfile().iget_named_kw(vec, rstindex):
222
- present_rstvectors.append(vec)
221
+ if resdatafiles.get_rstfile().iget_named_kw(rst_vec, rstindex):
222
+ present_rstvectors.append(rst_vec)
223
223
  except IndexError:
224
224
  pass
225
225
  logger.info(
res2df/rft.py CHANGED
@@ -406,8 +406,7 @@ def merge_icd_seg_conseg(
406
406
  seg_data = pd.DataFrame()
407
407
  if icd_data is None:
408
408
  icd_data = pd.DataFrame()
409
-
410
- if logger.level <= logging.DEBUG:
409
+ if logger.isEnabledFor(logging.DEBUG):
411
410
  logger.debug("Writing connection data to con.csv")
412
411
  con_data[list(CON_TOPOLOGY_COLS.intersection(con_data.columns))].to_csv(
413
412
  "con.csv", index=False
res2df/version.py CHANGED
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
28
28
  commit_id: COMMIT_ID
29
29
  __commit_id__: COMMIT_ID
30
30
 
31
- __version__ = version = '1.3.8'
32
- __version_tuple__ = version_tuple = (1, 3, 8)
31
+ __version__ = version = '1.3.9'
32
+ __version_tuple__ = version_tuple = (1, 3, 9)
33
33
 
34
34
  __commit_id__ = commit_id = None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: res2df
3
- Version: 1.3.8
3
+ Version: 1.3.9
4
4
  Summary: Convert reservoir simulator input and output to DataFrames
5
5
  Author-email: Håvard Berland <havb@equinor.com>
6
6
  License: GNU GENERAL PUBLIC LICENSE
@@ -689,6 +689,7 @@ Classifier: Topic :: Software Development :: Libraries
689
689
  Classifier: Topic :: Utilities
690
690
  Classifier: Programming Language :: Python :: 3.11
691
691
  Classifier: Programming Language :: Python :: 3.12
692
+ Classifier: Programming Language :: Python :: 3.13
692
693
  Classifier: Natural Language :: English
693
694
  Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
694
695
  Requires-Python: >=3.11
@@ -733,7 +734,7 @@ Dynamic: license-file
733
734
  [![Publish to PyPI](https://github.com/equinor/res2df/actions/workflows/publish.yml/badge.svg)](https://github.com/equinor/res2df/actions/workflows/publish.yml)
734
735
  [![PyPI version](https://img.shields.io/pypi/v/res2df.svg)](https://pypi.org/project/res2df/)
735
736
  [![codecov](https://codecov.io/gh/equinor/res2df/graph/badge.svg?token=3sZBGGu5VG)](https://codecov.io/gh/equinor/res2df)
736
- [![Python 3.11-3.12](https://img.shields.io/badge/python-3.11%20|%203.12-blue.svg)](https://www.python.org)
737
+ [![Python 3.11-3.13](https://img.shields.io/badge/python-3.11%20|%203.12%20|%203.13-blue.svg)](https://www.python.org)
737
738
  [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
738
739
  [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
739
740
 
@@ -7,7 +7,7 @@ res2df/csv2res.py,sha256=i1SqzDYoKDmwik0ZHRb-F775Lhmt2GQPoFrquE_viOI,3093
7
7
  res2df/equil.py,sha256=Fk5aGYhje4pgrHLHEn2MdQwhl59pel4cOg5dLdWMWaU,16911
8
8
  res2df/faults.py,sha256=JMOib30354Me9qLonqRlo9hhhhfB4oUg5vit1-GGb-U,3038
9
9
  res2df/fipreports.py,sha256=1d7rp1me51dN2Rr6wYMq_wVWbh1bbSM-srnNlehtYFY,7549
10
- res2df/grid.py,sha256=XarFKldUfyAVf1nwLHKfgJDM_PLV-eoYL4SwFKmGVeU,27302
10
+ res2df/grid.py,sha256=-KTjhINfZoxbsvdYMY_MeAj5Wdr6wTn6LR79XGwT2Jw,27314
11
11
  res2df/gruptree.py,sha256=ET7IuqHkamxDpZN2mK6FDwZwC1lqgg4aNodexghW-0A,16926
12
12
  res2df/inferdims.py,sha256=xRNkHJ9EQMx2ai9hDBntlXYqDIuB-0tO3EXsHcIZI_Q,7241
13
13
  res2df/nnc.py,sha256=UvgBVqs8b3hXfumiAZT6xv4yF3Rjaxwc71iLNcJ-UfI,9193
@@ -17,12 +17,12 @@ res2df/pvt.py,sha256=WnVVh8wGz2DVQwmuwllz_TnJdl1AdpI-8LWztRGCOgw,22385
17
17
  res2df/res2csv.py,sha256=Xu0qHubHlmxzxblwdhRY6H6CLTMTGQvsLQq8HpMBF40,10851
18
18
  res2df/res2csvlogger.py,sha256=n9gMmlgzPNbtZAN9dhrBDpahEK1bG2jPWQZ7CHjSN6c,2243
19
19
  res2df/resdatafiles.py,sha256=v68iKobzSNC_5_1uDBTdK5t2TcYQcPn0buURtxZ9QLk,10029
20
- res2df/rft.py,sha256=zIVJf2nwzUMYWaA_h9uT-Tc8QWhdcornLA_btBDKeP8,27950
20
+ res2df/rft.py,sha256=2wxqfY7_ItuhaqA3hXeyXCRzVWjxq7apteG88_sjGFs,27954
21
21
  res2df/satfunc.py,sha256=V_8e_x5OByKyfmke8uZUPRJ_kUnGkp4uwdArpZV1ZaM,13570
22
22
  res2df/summary.py,sha256=42zn8Lj7QmywYbmf3YQjUyAYK9jerZEt-r38-3TTtzI,31483
23
23
  res2df/svg_color_keyword_names.txt,sha256=yiI2Ohv3NxxEAJC5OjVERZi7MLi2-bk7okyI5-xFDr8,1456
24
24
  res2df/trans.py,sha256=AHBJ-UUqU-BToLzygezMzM8YVGPBixGNRzxemOHOy84,10455
25
- res2df/version.py,sha256=_hPMnsWQOeGw9lqV0fueN3y4Gw7vLcBaoT0Bio9pJWo,704
25
+ res2df/version.py,sha256=a7l_eTulmw3DuiEVvjDmjg5F3kTt-dSmgMwVTZEYCc4,704
26
26
  res2df/wcon.py,sha256=4Fq8JG2GeLJs7GKCC3F3RkkyJMmwn3iESJeXQuY01iA,3198
27
27
  res2df/wellcompletiondata.py,sha256=u_qD1XiCxAJM_corqHWZH9t2mvO1TIGVyc0l6MUd1II,10918
28
28
  res2df/wellconnstatus.py,sha256=5MWqtyagl_t9FbbEosTG50FsFdLOatqGR1yRxzl6TDM,4035
@@ -80,9 +80,9 @@ res2df/vfp/_vfpcommon.py,sha256=iq3kim4Zrs-y47NtEpoSTEyeS2hPXTaKBsfcxdzj2gw,6964
80
80
  res2df/vfp/_vfpdefs.py,sha256=TT0bHHbbdGMS3Xm7dzpZPR7zBLPvlCuQIKvH7sr5TBA,6985
81
81
  res2df/vfp/_vfpinj.py,sha256=xojHI2hcdUFBUslMKu5K2p2etN-8sinlx-HlkINZOs4,22523
82
82
  res2df/vfp/_vfpprod.py,sha256=vohQOu63pQsinGT8wgreeUwxzfwH6S1Om90XB8gfUzs,35669
83
- res2df-1.3.8.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
84
- res2df-1.3.8.dist-info/METADATA,sha256=JeOigbs6ZzDTCRf654WED4NYYLDfyIWSmqEA_ZDqw1E,44498
85
- res2df-1.3.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
86
- res2df-1.3.8.dist-info/entry_points.txt,sha256=ctl-_CwayyUVqFMUrwTT3Z3gZdnW6WCaiaLUJ4f_HnY,180
87
- res2df-1.3.8.dist-info/top_level.txt,sha256=U8AZBqrFHm9PMXg0toCfHJ817VfFtdKQpc8JuS5qToM,7
88
- res2df-1.3.8.dist-info/RECORD,,
83
+ res2df-1.3.9.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
84
+ res2df-1.3.9.dist-info/METADATA,sha256=ayDgYjqnRQyXndwF8sqzAtBxT-I3GDF6sIazkobiDZo,44560
85
+ res2df-1.3.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
86
+ res2df-1.3.9.dist-info/entry_points.txt,sha256=ctl-_CwayyUVqFMUrwTT3Z3gZdnW6WCaiaLUJ4f_HnY,180
87
+ res2df-1.3.9.dist-info/top_level.txt,sha256=U8AZBqrFHm9PMXg0toCfHJ817VfFtdKQpc8JuS5qToM,7
88
+ res2df-1.3.9.dist-info/RECORD,,
File without changes