Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ Contributions are more than welcome using the fork and pull request approach

1. The preferred approach to seek support is to raise an issue as described in the previous lines.
1. We will try to answer as soon as possible, but also any user is more than welcome to answer.
- An alternative approach is to send an email to any of the [_mantainers_](https://github.com/cssr-tools/pofff/blob/main/pyproject.toml).
- An alternative approach is to send an email to any of the [_maintainers_](https://github.com/cssr-tools/pofff/blob/main/pyproject.toml).
18 changes: 9 additions & 9 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
black<=26.5.1
mypy<=2.1.0
pylint<=4.0.5
pytest-cov<=7.1.0
pytest-xdist<=3.8.0
ruff<=0.15.14
sphinx<=9.1.0
sphinx-rtd-theme<=3.1.0
sphinxcontrib-video<=0.4.2
black
mypy
pylint
pytest-cov
pytest-xdist
ruff
sphinx
sphinx-rtd-theme
sphinxcontrib-video
2 changes: 1 addition & 1 deletion docs/_sources/contributing.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ Seek support
#. The preferred approach to seek support is to raise an Issue as described in the previous lines
#. We will try to answer as soon as possible, but also any user is more than welcome to answer

- An alternative approach is to send an email to any of the `mantainers <https://github.com/cssr-tools/pofff/blob/main/pyproject.toml>`_.
- An alternative approach is to send an email to any of the `maintainers <https://github.com/cssr-tools/pofff/blob/main/pyproject.toml>`_.
2 changes: 1 addition & 1 deletion docs/_sources/examples.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ The `publication <https://github.com/cssr-tools/pofff/blob/main/publication>`_ f

pofff -i results.toml -o YOURS -m single -t 24,48,72,96,120 -f all

generates the figures in the paper in addition to the new simulation labeled as the name of the outpur folder ("YOURS" in this case), e.g., for the compare_all_time_series.png:
generates the figures in the paper in addition to the new simulation labeled as the name of the output folder ("YOURS" in this case), e.g., for the compare_all_time_series.png:

.. figure:: figs/compare_all_time_series.png

Expand Down
2 changes: 1 addition & 1 deletion docs/contributing.html
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ <h2>Seek support<a class="headerlink" href="#seek-support" title="Link to this h
<li><p>We will try to answer as soon as possible, but also any user is more than welcome to answer</p></li>
</ol>
<ul class="simple">
<li><p>An alternative approach is to send an email to any of the <a class="reference external" href="https://github.com/cssr-tools/pofff/blob/main/pyproject.toml">mantainers</a>.</p></li>
<li><p>An alternative approach is to send an email to any of the <a class="reference external" href="https://github.com/cssr-tools/pofff/blob/main/pyproject.toml">maintainers</a>.</p></li>
</ul>
</section>
</section>
Expand Down
2 changes: 1 addition & 1 deletion docs/examples.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ <h2>Adding your results<a class="headerlink" href="#adding-your-results" title="
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>pofff<span class="w"> </span>-i<span class="w"> </span>results.toml<span class="w"> </span>-o<span class="w"> </span>YOURS<span class="w"> </span>-m<span class="w"> </span>single<span class="w"> </span>-t<span class="w"> </span><span class="m">24</span>,48,72,96,120<span class="w"> </span>-f<span class="w"> </span>all
</pre></div>
</div>
<p>generates the figures in the paper in addition to the new simulation labeled as the name of the outpur folder (“YOURS” in this case), e.g., for the compare_all_time_series.png:</p>
<p>generates the figures in the paper in addition to the new simulation labeled as the name of the output folder (“YOURS” in this case), e.g., for the compare_all_time_series.png:</p>
<figure class="align-default">
<img alt="_images/compare_all_time_series.png" src="_images/compare_all_time_series.png" />
</figure>
Expand Down
2 changes: 1 addition & 1 deletion docs/searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/text/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ Seek support
#. The preferred approach to seek support is to raise an Issue as described in the previous lines
#. We will try to answer as soon as possible, but also any user is more than welcome to answer

- An alternative approach is to send an email to any of the `mantainers <https://github.com/cssr-tools/pofff/blob/main/pyproject.toml>`_.
- An alternative approach is to send an email to any of the `maintainers <https://github.com/cssr-tools/pofff/blob/main/pyproject.toml>`_.
2 changes: 1 addition & 1 deletion docs/text/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ The `publication <https://github.com/cssr-tools/pofff/blob/main/publication>`_ f

pofff -i results.toml -o YOURS -m single -t 24,48,72,96,120 -f all

generates the figures in the paper in addition to the new simulation labeled as the name of the outpur folder ("YOURS" in this case), e.g., for the compare_all_time_series.png:
generates the figures in the paper in addition to the new simulation labeled as the name of the output folder ("YOURS" in this case), e.g., for the compare_all_time_series.png:

.. figure:: figs/compare_all_time_series.png

Expand Down
20 changes: 10 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@ classifiers = [
"Operating System :: OS Independent"
]
dependencies = [
"alive-progress<=3.3.0",
"alive-progress",
"ert==21.1.5",
"mako<=1.3.12",
"matplotlib<=3.10.9",
"opencv-python<=4.13.0.92",
"opm<=2026.4",
"pyarrow<=24.0.0",
"pot<=0.9.6.post1",
"rtree<=1.4.1",
"scipy<=1.17.1",
"shapely<=2.1.2"
"mako",
"matplotlib",
"opencv-python",
"opm",
"pyarrow",
"pot",
"rtree",
"scipy",
"shapely"
]
requires-python = ">=3.12"

Expand Down
2 changes: 1 addition & 1 deletion src/pofff/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Code version"""

__version__ = "2026.04"
__version__ = "2026.10-pre"
6 changes: 4 additions & 2 deletions src/pofff/utils/writefile.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,10 @@ def render_flow(cfg: PofffConfig) -> None:
if cfg.delete:
delete_block = "\n".join(
[
' for suff in ["INC", "EGRID", "DBG", "PRT", "SMSPEC", "UNRST", '
'"UNSMRY", "INIT", "ESMRY", "DATA"]:',
(
' for suff in ["INC", "EGRID", "DBG", "PRT", "SMSPEC", "UNRST", '
'"UNSMRY", "INIT", "ESMRY", "DATA"]:'
),
' os.system(f"rm -rf *.{suff}")',
' for pref in ["thickness_eval","metr_eval","safu_eval","poro_eval"]:',
' os.system(f"rm -rf {pref}.*")',
Expand Down
4 changes: 2 additions & 2 deletions src/pofff/visualization/everert.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def read_realisation(cfg: Config, state: EnsembleState, i: int, j: int):
if para.exists():
state.para_file = para
data = np.atleast_2d(np.genfromtxt(para))
state.no_para = data.ndim
state.no_para = data.shape[0]
for row in data:
state.par_dis[i].append(row[1])

Expand Down Expand Up @@ -249,7 +249,7 @@ def plot_simulation_ensemble(cfg: Config, state: EnsembleState, tab20):
label="Observation",
)

ax.set_xlabel(r"Obsservable [\#]")
ax.set_xlabel(r"Observable [\#]")
ax.set_ylabel("Wasserstein distance [gr cm]")
ax.set_ylim(bottom=0)
ax.set_xticks(x)
Expand Down
Loading