diff --git a/docs/scripts/summaryplot.rst b/docs/scripts/summaryplot.rst index fdf70e48b..6a44784f7 100644 --- a/docs/scripts/summaryplot.rst +++ b/docs/scripts/summaryplot.rst @@ -3,7 +3,7 @@ SUMMARYPLOT =========== ``summaryplot`` is a command line utility to generate plots from Eclipse -simulations, based on `libecl `_ +simulations, based on `resdata `_ for processing Eclipse output files and `matplotlib `_ for plotting. diff --git a/src/subscript/check_swatinit/check_swatinit.py b/src/subscript/check_swatinit/check_swatinit.py index fc26c94c9..5baf0e0aa 100644 --- a/src/subscript/check_swatinit/check_swatinit.py +++ b/src/subscript/check_swatinit/check_swatinit.py @@ -326,7 +326,7 @@ def qc_flag(qc_frame: pd.DataFrame) -> pd.DataFrame: contact = "OWC" if "OWC" in qc_frame else "GWC" - # Eclipse and libecl does not calculate cell centres to the same decimals. + # Eclipse and resdata does not calculate cell centres to the same decimals. # Add some tolerance when testing towards fluid contacts. contacttolerance = 1e-4 diff --git a/src/subscript/restartthinner/restartthinner.py b/src/subscript/restartthinner/restartthinner.py index 1937236d1..e0f27428a 100644 --- a/src/subscript/restartthinner/restartthinner.py +++ b/src/subscript/restartthinner/restartthinner.py @@ -30,9 +30,9 @@ def find_resdata_app(toolname: str) -> str: """Locate path of apps in resdata. - These have varying suffixes due through the history of libecl Makefiles. + These have varying suffixes due through the history of resdata Makefiles. - Depending on libecl-version, it has the .x or the .c.x suffix + Depending on resdata-version, it has the .x or the .c.x suffix We prefer .x. Returns: @@ -75,7 +75,7 @@ def rd_repacker(rstfilename: str, slicerstindices: list, quiet: bool) -> None: modify the original filename. """ out = " >/dev/null" if quiet else "" - # Error early if libecl tools are not available + # Error early if resdata tools are not available try: find_resdata_app("rd_unpack") find_resdata_app("rd_pack") diff --git a/tests/test_check_swatinit.py b/tests/test_check_swatinit.py index c52cb014f..24919a433 100644 --- a/tests/test_check_swatinit.py +++ b/tests/test_check_swatinit.py @@ -713,7 +713,7 @@ def test_reek(tmp_path, mocker): assert Path("volplot.png").exists() # pylint: disable=no-member # false positive on Pandas dataframe - # Check that we never get -1e20 from libecl in any data: + # Check that we never get -1e20 from resdata in any data: assert np.isclose(qc_frame.select_dtypes("number").min().min(), -7097, atol=1) assert np.isclose(qc_frame.select_dtypes("number").max().max(), 5938824, atol=1) diff --git a/tests/test_check_swatinit_simulators.py b/tests/test_check_swatinit_simulators.py index 27461f028..b7b848b26 100644 --- a/tests/test_check_swatinit_simulators.py +++ b/tests/test_check_swatinit_simulators.py @@ -469,7 +469,7 @@ def test_swatinit_less_than_1_below_contact(simulator, tmp_path): assert np.isclose(qc_frame["PC_SCALING"][0], 1.0) assert np.isclose(qc_frame["PC"], 0) else: - # E100 will not report a PPCW in this case, libecl gives -1e20, + # E100 will not report a PPCW in this case, resdata gives -1e20, # which becomes a NaN through res2df and then NaN columns are dropped. if "PPCW" in qc_frame: assert pd.isnull(qc_frame["PPCW"][0])