From 6278469595085d91350c9c472f05e0e79ee6e78f Mon Sep 17 00:00:00 2001 From: "clara.bayley" Date: Fri, 22 Nov 2024 00:26:26 +0100 Subject: [PATCH] refactor: rename pympdata libs --- docs/source/index.rst | 2 +- .../source/pympdata_microphysics/bulk_scheme_condensation.rst | 4 ++-- libs/{pympdata_microphysics => pympdata_bulk}/__init__.py | 0 .../bulk_scheme_condensation.py | 0 tests/test_case_0dparcel/test_pympdata_bulk.py | 2 +- tests/test_case_1dkid/test_pympdata_bulk.py | 2 +- tests/test_pympdata_bulk_microphysics_scheme.py | 2 +- 7 files changed, 6 insertions(+), 6 deletions(-) rename libs/{pympdata_microphysics => pympdata_bulk}/__init__.py (100%) rename libs/{pympdata_microphysics => pympdata_bulk}/bulk_scheme_condensation.py (100%) diff --git a/docs/source/index.rst b/docs/source/index.rst index f3d1851..749dca5 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -31,7 +31,7 @@ Contents usage/ourtests tests/index thermo/index - pympdata_microphysics/index + pympdata_bulk/index src_mock_py/index src_mock_cxx/index utility_functions/index diff --git a/docs/source/pympdata_microphysics/bulk_scheme_condensation.rst b/docs/source/pympdata_microphysics/bulk_scheme_condensation.rst index 4a6f5f6..970df07 100644 --- a/docs/source/pympdata_microphysics/bulk_scheme_condensation.rst +++ b/docs/source/pympdata_microphysics/bulk_scheme_condensation.rst @@ -6,9 +6,9 @@ Shipway and Hill (2012) example in the PyMPDATA-examples library. It's a 1-moment scheme modelling condensation via a simple supersaturation adjustment. -.. autofunction:: libs.pympdata_microphysics.bulk_scheme_condensation.bulk_scheme_condensation +.. autofunction:: libs.pympdata_bulk.bulk_scheme_condensation.bulk_scheme_condensation -.. autoclass:: libs.pympdata_microphysics.bulk_scheme_condensation.MicrophysicsSchemeWrapper +.. autoclass:: libs.pympdata_bulk.bulk_scheme_condensation.MicrophysicsSchemeWrapper :members: :undoc-members: :private-members: diff --git a/libs/pympdata_microphysics/__init__.py b/libs/pympdata_bulk/__init__.py similarity index 100% rename from libs/pympdata_microphysics/__init__.py rename to libs/pympdata_bulk/__init__.py diff --git a/libs/pympdata_microphysics/bulk_scheme_condensation.py b/libs/pympdata_bulk/bulk_scheme_condensation.py similarity index 100% rename from libs/pympdata_microphysics/bulk_scheme_condensation.py rename to libs/pympdata_bulk/bulk_scheme_condensation.py diff --git a/tests/test_case_0dparcel/test_pympdata_bulk.py b/tests/test_case_0dparcel/test_pympdata_bulk.py index 17a8e19..d0e6c02 100644 --- a/tests/test_case_0dparcel/test_pympdata_bulk.py +++ b/tests/test_case_0dparcel/test_pympdata_bulk.py @@ -23,7 +23,7 @@ from .perform_0dparcel_test_case import perform_0dparcel_test_case from libs.thermo.thermodynamics import Thermodynamics -from libs.pympdata_microphysics.bulk_scheme_condensation import ( +from libs.pympdata_bulk.bulk_scheme_condensation import ( MicrophysicsSchemeWrapper, ) diff --git a/tests/test_case_1dkid/test_pympdata_bulk.py b/tests/test_case_1dkid/test_pympdata_bulk.py index 6360256..5a62ffb 100644 --- a/tests/test_case_1dkid/test_pympdata_bulk.py +++ b/tests/test_case_1dkid/test_pympdata_bulk.py @@ -24,7 +24,7 @@ from .perform_1dkid_test_case import perform_1dkid_test_case from libs.thermo.thermodynamics import Thermodynamics -from libs.pympdata_microphysics.bulk_scheme_condensation import ( +from libs.pympdata_bulk.bulk_scheme_condensation import ( MicrophysicsSchemeWrapper, ) diff --git a/tests/test_pympdata_bulk_microphysics_scheme.py b/tests/test_pympdata_bulk_microphysics_scheme.py index 3b8d02f..492e732 100644 --- a/tests/test_pympdata_bulk_microphysics_scheme.py +++ b/tests/test_pympdata_bulk_microphysics_scheme.py @@ -20,7 +20,7 @@ import numpy as np -from libs.pympdata_microphysics.bulk_scheme_condensation import ( +from libs.pympdata_bulk.bulk_scheme_condensation import ( bulk_scheme_condensation, MicrophysicsSchemeWrapper, )