diff --git a/README-dev.rst b/README-dev.rst index fc63e605f..a4c394256 100644 --- a/README-dev.rst +++ b/README-dev.rst @@ -454,4 +454,4 @@ To build the api docs using autodocs Copyright ^^^^^^^^^ -Copyright (c) 2025 Mira Geoscience Ltd. +Copyright (c) 2020-2026 Mira Geoscience Ltd. diff --git a/README.rst b/README.rst index 02e0c292b..94ceb1cf8 100644 --- a/README.rst +++ b/README.rst @@ -101,7 +101,7 @@ Third Party Software notices and/or additional terms and conditions are located Copyright ^^^^^^^^^ -Copyright (c) 2025 Mira Geoscience Ltd. +Copyright (c) 2020-2026 Mira Geoscience Ltd. Citing geoh5py diff --git a/geoh5py/__init__.py b/geoh5py/__init__.py index 10a43a96c..09704cdbe 100644 --- a/geoh5py/__init__.py +++ b/geoh5py/__init__.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/data/__init__.py b/geoh5py/data/__init__.py index 47c5ab5f9..e369bcac2 100644 --- a/geoh5py/data/__init__.py +++ b/geoh5py/data/__init__.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/data/blob_data.py b/geoh5py/data/blob_data.py index 5e4652452..dddcfa259 100644 --- a/geoh5py/data/blob_data.py +++ b/geoh5py/data/blob_data.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/data/boolean_data.py b/geoh5py/data/boolean_data.py index 20b2c6fc5..e7498ba06 100644 --- a/geoh5py/data/boolean_data.py +++ b/geoh5py/data/boolean_data.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/data/color_map.py b/geoh5py/data/color_map.py index 544621fc8..8f607f0b0 100644 --- a/geoh5py/data/color_map.py +++ b/geoh5py/data/color_map.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/data/colour.py b/geoh5py/data/colour.py index 0e5ed3663..04d1dc9c6 100644 --- a/geoh5py/data/colour.py +++ b/geoh5py/data/colour.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/data/data.py b/geoh5py/data/data.py index f964a814a..b8daea4f5 100644 --- a/geoh5py/data/data.py +++ b/geoh5py/data/data.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/data/data_association_enum.py b/geoh5py/data/data_association_enum.py index 05276c3e2..84e0987c0 100644 --- a/geoh5py/data/data_association_enum.py +++ b/geoh5py/data/data_association_enum.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/data/data_type.py b/geoh5py/data/data_type.py index 4e8081281..61037ce71 100644 --- a/geoh5py/data/data_type.py +++ b/geoh5py/data/data_type.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/data/data_unit.py b/geoh5py/data/data_unit.py index 23aea03b2..83ab5917e 100644 --- a/geoh5py/data/data_unit.py +++ b/geoh5py/data/data_unit.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/data/datetime_data.py b/geoh5py/data/datetime_data.py index 3538d0229..b156fa4cb 100644 --- a/geoh5py/data/datetime_data.py +++ b/geoh5py/data/datetime_data.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/data/filename_data.py b/geoh5py/data/filename_data.py index 3ac90f938..c368e8560 100644 --- a/geoh5py/data/filename_data.py +++ b/geoh5py/data/filename_data.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/data/float_data.py b/geoh5py/data/float_data.py index 70f206526..9c12d48a9 100644 --- a/geoh5py/data/float_data.py +++ b/geoh5py/data/float_data.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/data/geometric_data.py b/geoh5py/data/geometric_data.py index 0cab5f1d7..e6d72efe1 100644 --- a/geoh5py/data/geometric_data.py +++ b/geoh5py/data/geometric_data.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/data/integer_data.py b/geoh5py/data/integer_data.py index 2d71c9e7a..56491ae81 100644 --- a/geoh5py/data/integer_data.py +++ b/geoh5py/data/integer_data.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/data/numeric_data.py b/geoh5py/data/numeric_data.py index 7ad43bea6..b90263d57 100644 --- a/geoh5py/data/numeric_data.py +++ b/geoh5py/data/numeric_data.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/data/reference_value_map.py b/geoh5py/data/reference_value_map.py index 43c7e173a..d1753a8a5 100644 --- a/geoh5py/data/reference_value_map.py +++ b/geoh5py/data/reference_value_map.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/data/referenced_data.py b/geoh5py/data/referenced_data.py index 28e4802e1..9e23e2358 100644 --- a/geoh5py/data/referenced_data.py +++ b/geoh5py/data/referenced_data.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/data/text_data.py b/geoh5py/data/text_data.py index 715fd4269..dab198edc 100644 --- a/geoh5py/data/text_data.py +++ b/geoh5py/data/text_data.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/data/unknown_data.py b/geoh5py/data/unknown_data.py index 2f89f6af9..4b4b1e8f7 100644 --- a/geoh5py/data/unknown_data.py +++ b/geoh5py/data/unknown_data.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/data/visual_parameters.py b/geoh5py/data/visual_parameters.py index 5d8518ef4..8356c8126 100644 --- a/geoh5py/data/visual_parameters.py +++ b/geoh5py/data/visual_parameters.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' @@ -107,10 +107,13 @@ def colour(self) -> None | list: def colour(self, rgb: list | tuple | np.ndarray): if ( not isinstance(rgb, (list, tuple, np.ndarray)) - or len(rgb) != 3 + or len(rgb) not in [3, 4] or not all(isinstance(val, int) for val in rgb) ): - raise TypeError("Input 'colour' values must be a list of 3 integers.") + raise TypeError("Input 'colour' values must be a list of 3 or 4 integers.") + + if len(rgb) == 3: + rgb = list(rgb) + [255] byte_string = "".join(f"{val:02x}" for val in rgb) byte_string.join(f"{255:02x}") # alpha value diff --git a/geoh5py/groups/__init__.py b/geoh5py/groups/__init__.py index 8d6ff0789..139f20fef 100644 --- a/geoh5py/groups/__init__.py +++ b/geoh5py/groups/__init__.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/groups/base.py b/geoh5py/groups/base.py index 4d8224338..a3121ec63 100644 --- a/geoh5py/groups/base.py +++ b/geoh5py/groups/base.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/groups/container.py b/geoh5py/groups/container.py index ce1cb4743..e820657eb 100644 --- a/geoh5py/groups/container.py +++ b/geoh5py/groups/container.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/groups/custom.py b/geoh5py/groups/custom.py index 630d0936b..bd3809155 100644 --- a/geoh5py/groups/custom.py +++ b/geoh5py/groups/custom.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/groups/drillhole.py b/geoh5py/groups/drillhole.py index 3360e0612..0cba9994a 100644 --- a/geoh5py/groups/drillhole.py +++ b/geoh5py/groups/drillhole.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/groups/giftools.py b/geoh5py/groups/giftools.py index fc3992bab..dfdb6f7df 100644 --- a/geoh5py/groups/giftools.py +++ b/geoh5py/groups/giftools.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/groups/group_type.py b/geoh5py/groups/group_type.py index d6e332079..24c87b322 100644 --- a/geoh5py/groups/group_type.py +++ b/geoh5py/groups/group_type.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/groups/integrator.py b/geoh5py/groups/integrator.py index 22366c2d4..3727701f0 100644 --- a/geoh5py/groups/integrator.py +++ b/geoh5py/groups/integrator.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/groups/interpretation_section.py b/geoh5py/groups/interpretation_section.py index 05624f150..23b959be8 100644 --- a/geoh5py/groups/interpretation_section.py +++ b/geoh5py/groups/interpretation_section.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/groups/maps.py b/geoh5py/groups/maps.py index b5ecc806f..285f402b8 100644 --- a/geoh5py/groups/maps.py +++ b/geoh5py/groups/maps.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/groups/notype.py b/geoh5py/groups/notype.py index 2b291b3e5..6be5c83b9 100644 --- a/geoh5py/groups/notype.py +++ b/geoh5py/groups/notype.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/groups/property_group.py b/geoh5py/groups/property_group.py index 69eeecc08..f35eedb0e 100644 --- a/geoh5py/groups/property_group.py +++ b/geoh5py/groups/property_group.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/groups/property_group_table.py b/geoh5py/groups/property_group_table.py index 9f9f1e13f..ff8e6fffd 100644 --- a/geoh5py/groups/property_group_table.py +++ b/geoh5py/groups/property_group_table.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/groups/property_group_type.py b/geoh5py/groups/property_group_type.py index f3b10e013..b3a06602c 100644 --- a/geoh5py/groups/property_group_type.py +++ b/geoh5py/groups/property_group_type.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/groups/root.py b/geoh5py/groups/root.py index ebab752bf..eaf1c187c 100644 --- a/geoh5py/groups/root.py +++ b/geoh5py/groups/root.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/groups/simpeg.py b/geoh5py/groups/simpeg.py index 81418bd38..3c53a5541 100644 --- a/geoh5py/groups/simpeg.py +++ b/geoh5py/groups/simpeg.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/groups/survey.py b/geoh5py/groups/survey.py index c8da36c1e..417c32500 100644 --- a/geoh5py/groups/survey.py +++ b/geoh5py/groups/survey.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/groups/uijson.py b/geoh5py/groups/uijson.py index 409f227e3..bc6808af3 100644 --- a/geoh5py/groups/uijson.py +++ b/geoh5py/groups/uijson.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/handlers/__init__.py b/geoh5py/handlers/__init__.py index 4444c440b..6f11c1cfe 100644 --- a/geoh5py/handlers/__init__.py +++ b/geoh5py/handlers/__init__.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/handlers/data_handler.py b/geoh5py/handlers/data_handler.py index 2e8d5c8a0..784197fe9 100644 --- a/geoh5py/handlers/data_handler.py +++ b/geoh5py/handlers/data_handler.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/handlers/groups_handler.py b/geoh5py/handlers/groups_handler.py index 4262116f3..fe01224a5 100644 --- a/geoh5py/handlers/groups_handler.py +++ b/geoh5py/handlers/groups_handler.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/handlers/objects_handler.py b/geoh5py/handlers/objects_handler.py index 9ede0ed0e..beea4d3aa 100644 --- a/geoh5py/handlers/objects_handler.py +++ b/geoh5py/handlers/objects_handler.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/handlers/workspace_handler.py b/geoh5py/handlers/workspace_handler.py index 9605166f3..58ca17aac 100644 --- a/geoh5py/handlers/workspace_handler.py +++ b/geoh5py/handlers/workspace_handler.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/interfaces/__init__.py b/geoh5py/interfaces/__init__.py index 2c7fbeab1..fdcc3cb7f 100644 --- a/geoh5py/interfaces/__init__.py +++ b/geoh5py/interfaces/__init__.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/interfaces/__init__.pyi b/geoh5py/interfaces/__init__.pyi index 0b49cd8ee..0c4827192 100644 --- a/geoh5py/interfaces/__init__.pyi +++ b/geoh5py/interfaces/__init__.pyi @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/interfaces/api.pyi b/geoh5py/interfaces/api.pyi index c29622836..1b29bc979 100644 --- a/geoh5py/interfaces/api.pyi +++ b/geoh5py/interfaces/api.pyi @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/interfaces/data.pyi b/geoh5py/interfaces/data.pyi index ed745caab..4bbacd150 100644 --- a/geoh5py/interfaces/data.pyi +++ b/geoh5py/interfaces/data.pyi @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/interfaces/groups.pyi b/geoh5py/interfaces/groups.pyi index 70ca28030..a397cf19c 100644 --- a/geoh5py/interfaces/groups.pyi +++ b/geoh5py/interfaces/groups.pyi @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/interfaces/objects.pyi b/geoh5py/interfaces/objects.pyi index 1c745f849..dbb7bc9b3 100644 --- a/geoh5py/interfaces/objects.pyi +++ b/geoh5py/interfaces/objects.pyi @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/interfaces/shared.pyi b/geoh5py/interfaces/shared.pyi index 467baf5a3..5dda774d8 100644 --- a/geoh5py/interfaces/shared.pyi +++ b/geoh5py/interfaces/shared.pyi @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/interfaces/workspace.pyi b/geoh5py/interfaces/workspace.pyi index 551575e56..27bcc1f79 100644 --- a/geoh5py/interfaces/workspace.pyi +++ b/geoh5py/interfaces/workspace.pyi @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/io/__init__.py b/geoh5py/io/__init__.py index fa7a990d2..4451f9aca 100644 --- a/geoh5py/io/__init__.py +++ b/geoh5py/io/__init__.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/io/h5_reader.py b/geoh5py/io/h5_reader.py index ebfd8d76e..12158a3f9 100644 --- a/geoh5py/io/h5_reader.py +++ b/geoh5py/io/h5_reader.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/io/h5_writer.py b/geoh5py/io/h5_writer.py index 1ea15ed80..21cfe7809 100644 --- a/geoh5py/io/h5_writer.py +++ b/geoh5py/io/h5_writer.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/io/utils.py b/geoh5py/io/utils.py index 15552c8b2..5b220e5bf 100644 --- a/geoh5py/io/utils.py +++ b/geoh5py/io/utils.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/objects/__init__.py b/geoh5py/objects/__init__.py index 05248c091..ae469f809 100644 --- a/geoh5py/objects/__init__.py +++ b/geoh5py/objects/__init__.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/objects/block_model.py b/geoh5py/objects/block_model.py index 64914da6a..b6b42d653 100644 --- a/geoh5py/objects/block_model.py +++ b/geoh5py/objects/block_model.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/objects/cell_object.py b/geoh5py/objects/cell_object.py index b6f4d3dbe..1d57bdcaa 100644 --- a/geoh5py/objects/cell_object.py +++ b/geoh5py/objects/cell_object.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/objects/curve.py b/geoh5py/objects/curve.py index 2c6ddb33e..62f2be480 100644 --- a/geoh5py/objects/curve.py +++ b/geoh5py/objects/curve.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/objects/drape_model.py b/geoh5py/objects/drape_model.py index c462e01ff..8f89f238d 100644 --- a/geoh5py/objects/drape_model.py +++ b/geoh5py/objects/drape_model.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/objects/drillhole.py b/geoh5py/objects/drillhole.py index 59fd810f4..738046cde 100644 --- a/geoh5py/objects/drillhole.py +++ b/geoh5py/objects/drillhole.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/objects/geo_image.py b/geoh5py/objects/geo_image.py index 2e3d8a872..076bd9e4e 100644 --- a/geoh5py/objects/geo_image.py +++ b/geoh5py/objects/geo_image.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/objects/grid2d.py b/geoh5py/objects/grid2d.py index 0c4beb78e..910c3fae6 100644 --- a/geoh5py/objects/grid2d.py +++ b/geoh5py/objects/grid2d.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/objects/grid_object.py b/geoh5py/objects/grid_object.py index 246a7ba7f..7c5caed29 100644 --- a/geoh5py/objects/grid_object.py +++ b/geoh5py/objects/grid_object.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/objects/integrator.py b/geoh5py/objects/integrator.py index 5075fa75b..d22d4046d 100644 --- a/geoh5py/objects/integrator.py +++ b/geoh5py/objects/integrator.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/objects/label.py b/geoh5py/objects/label.py index ce6f1835f..dfb9173eb 100644 --- a/geoh5py/objects/label.py +++ b/geoh5py/objects/label.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/objects/notype_object.py b/geoh5py/objects/notype_object.py index 4e8d666b7..bdec17f66 100644 --- a/geoh5py/objects/notype_object.py +++ b/geoh5py/objects/notype_object.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/objects/object_base.py b/geoh5py/objects/object_base.py index fd5dc3363..bdec7fc16 100644 --- a/geoh5py/objects/object_base.py +++ b/geoh5py/objects/object_base.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/objects/object_type.py b/geoh5py/objects/object_type.py index b9fc97f25..99b59a345 100644 --- a/geoh5py/objects/object_type.py +++ b/geoh5py/objects/object_type.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/objects/octree.py b/geoh5py/objects/octree.py index 42f2425cc..141270781 100644 --- a/geoh5py/objects/octree.py +++ b/geoh5py/objects/octree.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/objects/points.py b/geoh5py/objects/points.py index fe99b8ae7..e8ea97340 100644 --- a/geoh5py/objects/points.py +++ b/geoh5py/objects/points.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/objects/slicer.py b/geoh5py/objects/slicer.py index 32c7a0a3a..6f3a5ec08 100644 --- a/geoh5py/objects/slicer.py +++ b/geoh5py/objects/slicer.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/objects/surface.py b/geoh5py/objects/surface.py index 3589e58b4..c2a6d0f90 100644 --- a/geoh5py/objects/surface.py +++ b/geoh5py/objects/surface.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/objects/surveys/__init__.py b/geoh5py/objects/surveys/__init__.py index 3e76d68ac..a999b1b55 100644 --- a/geoh5py/objects/surveys/__init__.py +++ b/geoh5py/objects/surveys/__init__.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/objects/surveys/base.py b/geoh5py/objects/surveys/base.py index cd2e6e99a..6b43d748b 100644 --- a/geoh5py/objects/surveys/base.py +++ b/geoh5py/objects/surveys/base.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/objects/surveys/direct_current.py b/geoh5py/objects/surveys/direct_current.py index 29c2c0744..249619f2d 100644 --- a/geoh5py/objects/surveys/direct_current.py +++ b/geoh5py/objects/surveys/direct_current.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/objects/surveys/electromagnetics/__init__.py b/geoh5py/objects/surveys/electromagnetics/__init__.py index 3e76d68ac..a999b1b55 100644 --- a/geoh5py/objects/surveys/electromagnetics/__init__.py +++ b/geoh5py/objects/surveys/electromagnetics/__init__.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/objects/surveys/electromagnetics/airborne_fem.py b/geoh5py/objects/surveys/electromagnetics/airborne_fem.py index a0a7c8ee8..261052428 100644 --- a/geoh5py/objects/surveys/electromagnetics/airborne_fem.py +++ b/geoh5py/objects/surveys/electromagnetics/airborne_fem.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/objects/surveys/electromagnetics/airborne_tem.py b/geoh5py/objects/surveys/electromagnetics/airborne_tem.py index 46b35e2ad..3e65acf24 100644 --- a/geoh5py/objects/surveys/electromagnetics/airborne_tem.py +++ b/geoh5py/objects/surveys/electromagnetics/airborne_tem.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/objects/surveys/electromagnetics/base.py b/geoh5py/objects/surveys/electromagnetics/base.py index f8313bd18..b467e3d58 100644 --- a/geoh5py/objects/surveys/electromagnetics/base.py +++ b/geoh5py/objects/surveys/electromagnetics/base.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/objects/surveys/electromagnetics/ground_fem.py b/geoh5py/objects/surveys/electromagnetics/ground_fem.py index 410c36c95..94e56ef5e 100644 --- a/geoh5py/objects/surveys/electromagnetics/ground_fem.py +++ b/geoh5py/objects/surveys/electromagnetics/ground_fem.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/objects/surveys/electromagnetics/ground_tem.py b/geoh5py/objects/surveys/electromagnetics/ground_tem.py index c5a70e1ef..cf8ab3498 100644 --- a/geoh5py/objects/surveys/electromagnetics/ground_tem.py +++ b/geoh5py/objects/surveys/electromagnetics/ground_tem.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/objects/surveys/electromagnetics/magnetotellurics.py b/geoh5py/objects/surveys/electromagnetics/magnetotellurics.py index ed6ee28cf..d06833115 100644 --- a/geoh5py/objects/surveys/electromagnetics/magnetotellurics.py +++ b/geoh5py/objects/surveys/electromagnetics/magnetotellurics.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/objects/surveys/electromagnetics/tipper.py b/geoh5py/objects/surveys/electromagnetics/tipper.py index df59c1a13..e4d4f4d04 100644 --- a/geoh5py/objects/surveys/electromagnetics/tipper.py +++ b/geoh5py/objects/surveys/electromagnetics/tipper.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/objects/surveys/magnetics.py b/geoh5py/objects/surveys/magnetics.py index 1a97e9722..e4d0f6c7a 100644 --- a/geoh5py/objects/surveys/magnetics.py +++ b/geoh5py/objects/surveys/magnetics.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/objects/text.py b/geoh5py/objects/text.py index 0f1805a96..b4c9f991f 100644 --- a/geoh5py/objects/text.py +++ b/geoh5py/objects/text.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/objects/vp_model.py b/geoh5py/objects/vp_model.py index a20d3d236..5446f9e07 100644 --- a/geoh5py/objects/vp_model.py +++ b/geoh5py/objects/vp_model.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/shared/__init__.py b/geoh5py/shared/__init__.py index ccca3bca9..14085e485 100644 --- a/geoh5py/shared/__init__.py +++ b/geoh5py/shared/__init__.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/shared/concatenation/__init__.py b/geoh5py/shared/concatenation/__init__.py index a45e6645a..afb34d826 100644 --- a/geoh5py/shared/concatenation/__init__.py +++ b/geoh5py/shared/concatenation/__init__.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/shared/concatenation/concatenated.py b/geoh5py/shared/concatenation/concatenated.py index 4cd9b25c8..7ca4bbd5e 100644 --- a/geoh5py/shared/concatenation/concatenated.py +++ b/geoh5py/shared/concatenation/concatenated.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/shared/concatenation/concatenator.py b/geoh5py/shared/concatenation/concatenator.py index 4d93e773c..bf9b80c2b 100644 --- a/geoh5py/shared/concatenation/concatenator.py +++ b/geoh5py/shared/concatenation/concatenator.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/shared/concatenation/data.py b/geoh5py/shared/concatenation/data.py index a23fd5c00..368975d87 100644 --- a/geoh5py/shared/concatenation/data.py +++ b/geoh5py/shared/concatenation/data.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/shared/concatenation/drillhole.py b/geoh5py/shared/concatenation/drillhole.py index 6af6b22f8..20d2c5571 100644 --- a/geoh5py/shared/concatenation/drillhole.py +++ b/geoh5py/shared/concatenation/drillhole.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/shared/concatenation/drillholes_group_table.py b/geoh5py/shared/concatenation/drillholes_group_table.py index 4919f1ec5..3ea11d492 100644 --- a/geoh5py/shared/concatenation/drillholes_group_table.py +++ b/geoh5py/shared/concatenation/drillholes_group_table.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/shared/concatenation/object.py b/geoh5py/shared/concatenation/object.py index f11181ad6..836239f9d 100644 --- a/geoh5py/shared/concatenation/object.py +++ b/geoh5py/shared/concatenation/object.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/shared/concatenation/property_group.py b/geoh5py/shared/concatenation/property_group.py index 7029fada8..b0b45ddab 100644 --- a/geoh5py/shared/concatenation/property_group.py +++ b/geoh5py/shared/concatenation/property_group.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/shared/conversion/__init__.py b/geoh5py/shared/conversion/__init__.py index 4ccfb1537..bffc3e5b5 100644 --- a/geoh5py/shared/conversion/__init__.py +++ b/geoh5py/shared/conversion/__init__.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/shared/conversion/base.py b/geoh5py/shared/conversion/base.py index 5f777b0d8..5877eadcb 100644 --- a/geoh5py/shared/conversion/base.py +++ b/geoh5py/shared/conversion/base.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/shared/conversion/geo_image.py b/geoh5py/shared/conversion/geo_image.py index 31cd6e8ef..d9e6bd9d0 100644 --- a/geoh5py/shared/conversion/geo_image.py +++ b/geoh5py/shared/conversion/geo_image.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/shared/conversion/grid2d.py b/geoh5py/shared/conversion/grid2d.py index d15441c93..c24dd8916 100644 --- a/geoh5py/shared/conversion/grid2d.py +++ b/geoh5py/shared/conversion/grid2d.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/shared/cut_by_extent.py b/geoh5py/shared/cut_by_extent.py index 478c9d998..a82bccc9f 100644 --- a/geoh5py/shared/cut_by_extent.py +++ b/geoh5py/shared/cut_by_extent.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/shared/entity.py b/geoh5py/shared/entity.py index c7efd6ca6..b4a888ba4 100644 --- a/geoh5py/shared/entity.py +++ b/geoh5py/shared/entity.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/shared/entity_container.py b/geoh5py/shared/entity_container.py index d8385c2f0..5467fbe58 100644 --- a/geoh5py/shared/entity_container.py +++ b/geoh5py/shared/entity_container.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/shared/entity_type.py b/geoh5py/shared/entity_type.py index 9e76220bb..7070e3773 100644 --- a/geoh5py/shared/entity_type.py +++ b/geoh5py/shared/entity_type.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/shared/exceptions.py b/geoh5py/shared/exceptions.py index b2d021187..70e51125a 100644 --- a/geoh5py/shared/exceptions.py +++ b/geoh5py/shared/exceptions.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/shared/merging/__init__.py b/geoh5py/shared/merging/__init__.py index a70e4bced..bfb37f895 100644 --- a/geoh5py/shared/merging/__init__.py +++ b/geoh5py/shared/merging/__init__.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/shared/merging/base.py b/geoh5py/shared/merging/base.py index b87d264b0..fbed74e7c 100644 --- a/geoh5py/shared/merging/base.py +++ b/geoh5py/shared/merging/base.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/shared/merging/cell.py b/geoh5py/shared/merging/cell.py index c6dd22881..47f4c35cf 100644 --- a/geoh5py/shared/merging/cell.py +++ b/geoh5py/shared/merging/cell.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/shared/merging/drape_model.py b/geoh5py/shared/merging/drape_model.py index 267b1666b..492c52f85 100644 --- a/geoh5py/shared/merging/drape_model.py +++ b/geoh5py/shared/merging/drape_model.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/shared/merging/points.py b/geoh5py/shared/merging/points.py index a8a92a0f4..10938fc58 100644 --- a/geoh5py/shared/merging/points.py +++ b/geoh5py/shared/merging/points.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/shared/utils.py b/geoh5py/shared/utils.py index a1b1187a1..14e229bd8 100644 --- a/geoh5py/shared/utils.py +++ b/geoh5py/shared/utils.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' @@ -16,7 +16,6 @@ # You should have received a copy of the GNU Lesser General Public License ' # along with geoh5py. If not, see . ' # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# pylint: disable=too-many-lines from __future__ import annotations @@ -37,6 +36,9 @@ from .exceptions import Geoh5FileClosedError +# pylint: disable=too-many-lines + + if TYPE_CHECKING: from ..workspace import Workspace from .entity import Entity diff --git a/geoh5py/shared/validators.py b/geoh5py/shared/validators.py index d024d9c1f..6111bb4e3 100644 --- a/geoh5py/shared/validators.py +++ b/geoh5py/shared/validators.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/shared/weakref_utils.py b/geoh5py/shared/weakref_utils.py index 09d92c35a..ac0e42a1a 100644 --- a/geoh5py/shared/weakref_utils.py +++ b/geoh5py/shared/weakref_utils.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/ui_json/__init__.py b/geoh5py/ui_json/__init__.py index 58bac14f4..af0f3ec8b 100644 --- a/geoh5py/ui_json/__init__.py +++ b/geoh5py/ui_json/__init__.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/ui_json/annotations.py b/geoh5py/ui_json/annotations.py index 5cd8418a3..acbf70f81 100644 --- a/geoh5py/ui_json/annotations.py +++ b/geoh5py/ui_json/annotations.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/ui_json/constants.py b/geoh5py/ui_json/constants.py index 5ed6af3c1..0184ddcf3 100644 --- a/geoh5py/ui_json/constants.py +++ b/geoh5py/ui_json/constants.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/ui_json/enforcers.py b/geoh5py/ui_json/enforcers.py index 783f37cf8..7faf128df 100644 --- a/geoh5py/ui_json/enforcers.py +++ b/geoh5py/ui_json/enforcers.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/ui_json/forms.py b/geoh5py/ui_json/forms.py index d397f792c..b26bc3105 100644 --- a/geoh5py/ui_json/forms.py +++ b/geoh5py/ui_json/forms.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/ui_json/input_file.py b/geoh5py/ui_json/input_file.py index 98571496c..b3de7d6a6 100644 --- a/geoh5py/ui_json/input_file.py +++ b/geoh5py/ui_json/input_file.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/ui_json/parameters.py b/geoh5py/ui_json/parameters.py index e375162db..efce9cef9 100644 --- a/geoh5py/ui_json/parameters.py +++ b/geoh5py/ui_json/parameters.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/ui_json/templates.py b/geoh5py/ui_json/templates.py index d24b88067..af6edb054 100644 --- a/geoh5py/ui_json/templates.py +++ b/geoh5py/ui_json/templates.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/ui_json/ui_json.py b/geoh5py/ui_json/ui_json.py index 18358c2b2..8ab30788c 100644 --- a/geoh5py/ui_json/ui_json.py +++ b/geoh5py/ui_json/ui_json.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/ui_json/utils.py b/geoh5py/ui_json/utils.py index cf9587414..e6c4b601a 100644 --- a/geoh5py/ui_json/utils.py +++ b/geoh5py/ui_json/utils.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/ui_json/validation.py b/geoh5py/ui_json/validation.py index e7bf10da1..b971df522 100644 --- a/geoh5py/ui_json/validation.py +++ b/geoh5py/ui_json/validation.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/ui_json/validations/__init__.py b/geoh5py/ui_json/validations/__init__.py index 1e250f631..315aea7c9 100644 --- a/geoh5py/ui_json/validations/__init__.py +++ b/geoh5py/ui_json/validations/__init__.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/ui_json/validations/form.py b/geoh5py/ui_json/validations/form.py index 37f1cfa32..bcf14904e 100644 --- a/geoh5py/ui_json/validations/form.py +++ b/geoh5py/ui_json/validations/form.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/ui_json/validations/uijson.py b/geoh5py/ui_json/validations/uijson.py index 9532866d9..f0e61e927 100644 --- a/geoh5py/ui_json/validations/uijson.py +++ b/geoh5py/ui_json/validations/uijson.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/workspace/__init__.py b/geoh5py/workspace/__init__.py index fa5a9b9e8..56c1263ae 100644 --- a/geoh5py/workspace/__init__.py +++ b/geoh5py/workspace/__init__.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/geoh5py/workspace/workspace.py b/geoh5py/workspace/workspace.py index e6f78d4c7..9993e04c7 100644 --- a/geoh5py/workspace/workspace.py +++ b/geoh5py/workspace/workspace.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/package.rst b/package.rst index eea0ba725..6643a48a2 100644 --- a/package.rst +++ b/package.rst @@ -50,4 +50,4 @@ along with geoh5py. If not, see . Copyright ^^^^^^^^^ -Copyright (c) 2025 Mira Geoscience Ltd. +Copyright (c) 2020-2026 Mira Geoscience Ltd. diff --git a/tests/__init__.py b/tests/__init__.py index 3e76d68ac..a999b1b55 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/add_filename_data_test.py b/tests/add_filename_data_test.py index 9a9935b2a..f4f414371 100644 --- a/tests/add_filename_data_test.py +++ b/tests/add_filename_data_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/block_model_test.py b/tests/block_model_test.py index c5b6aec6c..ea7e03e3e 100644 --- a/tests/block_model_test.py +++ b/tests/block_model_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/boolean_test.py b/tests/boolean_test.py index 1d943437a..55e279b25 100644 --- a/tests/boolean_test.py +++ b/tests/boolean_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/color_map_test.py b/tests/color_map_test.py index 60376a8ff..145af4b4f 100644 --- a/tests/color_map_test.py +++ b/tests/color_map_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/conversion_base_test.py b/tests/conversion_base_test.py index 73b18b012..2d5a23c1e 100644 --- a/tests/conversion_base_test.py +++ b/tests/conversion_base_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/coordinate_system_test.py b/tests/coordinate_system_test.py index 8b21c617c..d7d5f7c54 100644 --- a/tests/coordinate_system_test.py +++ b/tests/coordinate_system_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/copy_entity_test.py b/tests/copy_entity_test.py index 750de8c02..6affae780 100644 --- a/tests/copy_entity_test.py +++ b/tests/copy_entity_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/copy_extent_cell_data_test.py b/tests/copy_extent_cell_data_test.py index dc012df46..2fe5c6940 100644 --- a/tests/copy_extent_cell_data_test.py +++ b/tests/copy_extent_cell_data_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/copy_extent_vertex_data_test.py b/tests/copy_extent_vertex_data_test.py index f46effffb..684b8d050 100644 --- a/tests/copy_extent_vertex_data_test.py +++ b/tests/copy_extent_vertex_data_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/coulour_test.py b/tests/coulour_test.py index 727b4f560..311f20de8 100644 --- a/tests/coulour_test.py +++ b/tests/coulour_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/curve_data_test.py b/tests/curve_data_test.py index 274e936f1..949f4a67b 100644 --- a/tests/curve_data_test.py +++ b/tests/curve_data_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/cut_by_extent_test.py b/tests/cut_by_extent_test.py index 8e4560513..b5839b134 100644 --- a/tests/cut_by_extent_test.py +++ b/tests/cut_by_extent_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/data_instantiation_test.py b/tests/data_instantiation_test.py index 8453e508e..d588d5293 100644 --- a/tests/data_instantiation_test.py +++ b/tests/data_instantiation_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/delete_entity_test.py b/tests/delete_entity_test.py index 03b8cf936..8fd2dc329 100644 --- a/tests/delete_entity_test.py +++ b/tests/delete_entity_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/drape_model_test.py b/tests/drape_model_test.py index 64b218ed3..a67f7d9ac 100644 --- a/tests/drape_model_test.py +++ b/tests/drape_model_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/drillhole_data_test.py b/tests/drillhole_data_test.py index e447fd838..6076800b1 100644 --- a/tests/drillhole_data_test.py +++ b/tests/drillhole_data_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/drillhole_v4_0_test.py b/tests/drillhole_v4_0_test.py index db6cf296a..e8fe88a24 100644 --- a/tests/drillhole_v4_0_test.py +++ b/tests/drillhole_v4_0_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/entity_attributes_test.py b/tests/entity_attributes_test.py index c097180d3..55d88c813 100644 --- a/tests/entity_attributes_test.py +++ b/tests/entity_attributes_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/entity_parent_test.py b/tests/entity_parent_test.py index f40bf5a6f..d331d31f4 100644 --- a/tests/entity_parent_test.py +++ b/tests/entity_parent_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/geo_image_test.py b/tests/geo_image_test.py index 085043f58..f718a3281 100644 --- a/tests/geo_image_test.py +++ b/tests/geo_image_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/geometric_datatype_test.py b/tests/geometric_datatype_test.py index 71f1ac605..96b685c52 100644 --- a/tests/geometric_datatype_test.py +++ b/tests/geometric_datatype_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/grid_2d_test.py b/tests/grid_2d_test.py index 6d10239a0..f85c89802 100644 --- a/tests/grid_2d_test.py +++ b/tests/grid_2d_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/grid_object_test.py b/tests/grid_object_test.py index 61d92d312..2ebe9079a 100644 --- a/tests/grid_object_test.py +++ b/tests/grid_object_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/group_test.py b/tests/group_test.py index 1b5b7cb46..d4d387ef7 100644 --- a/tests/group_test.py +++ b/tests/group_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/groups_instantiation_test.py b/tests/groups_instantiation_test.py index 7bc515828..6a3f9df73 100644 --- a/tests/groups_instantiation_test.py +++ b/tests/groups_instantiation_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/h5_non_ascii_filename_test.py b/tests/h5_non_ascii_filename_test.py index 44f91c5ae..c9ecba18c 100644 --- a/tests/h5_non_ascii_filename_test.py +++ b/tests/h5_non_ascii_filename_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/insert_drillhole_data_test.py b/tests/insert_drillhole_data_test.py index b18836b9d..24a127cd5 100644 --- a/tests/insert_drillhole_data_test.py +++ b/tests/insert_drillhole_data_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/interpretation_section_test.py b/tests/interpretation_section_test.py index 5e384b250..67ea4cee1 100644 --- a/tests/interpretation_section_test.py +++ b/tests/interpretation_section_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/io_utils_test.py b/tests/io_utils_test.py index 4b2ab3068..38bdee5d7 100644 --- a/tests/io_utils_test.py +++ b/tests/io_utils_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/io_write_test.py b/tests/io_write_test.py index c20e1086d..cd5cf5f52 100644 --- a/tests/io_write_test.py +++ b/tests/io_write_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/label_test.py b/tests/label_test.py index 7e7de699f..33c085154 100644 --- a/tests/label_test.py +++ b/tests/label_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/merger_curve_test.py b/tests/merger_curve_test.py index 2f2a8d2d0..2cb53ed5e 100644 --- a/tests/merger_curve_test.py +++ b/tests/merger_curve_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/merger_drape_model_test.py b/tests/merger_drape_model_test.py index f01fcde8b..2c496d64a 100644 --- a/tests/merger_drape_model_test.py +++ b/tests/merger_drape_model_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/merger_surface_test.py b/tests/merger_surface_test.py index 6386d460d..6be322747 100644 --- a/tests/merger_surface_test.py +++ b/tests/merger_surface_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/merger_test.py b/tests/merger_test.py index 20b632468..50e8aa727 100644 --- a/tests/merger_test.py +++ b/tests/merger_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/metadata_test.py b/tests/metadata_test.py index 773120c48..e5431d325 100644 --- a/tests/metadata_test.py +++ b/tests/metadata_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/modify_property_group_test.py b/tests/modify_property_group_test.py index 63670daa4..33d50b41c 100644 --- a/tests/modify_property_group_test.py +++ b/tests/modify_property_group_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/monitored_update_test.py b/tests/monitored_update_test.py index dd9cdd728..1a03aeaef 100644 --- a/tests/monitored_update_test.py +++ b/tests/monitored_update_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/no_data_value_test.py b/tests/no_data_value_test.py index f58258ac3..d651512e1 100644 --- a/tests/no_data_value_test.py +++ b/tests/no_data_value_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/notype_test.py b/tests/notype_test.py index f49abf308..2f2992057 100644 --- a/tests/notype_test.py +++ b/tests/notype_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/numeric_data_test.py b/tests/numeric_data_test.py index 4de3705b4..384fdf2ed 100644 --- a/tests/numeric_data_test.py +++ b/tests/numeric_data_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/objects_instantiation_test.py b/tests/objects_instantiation_test.py index 5af8af9c0..9243f2e96 100644 --- a/tests/objects_instantiation_test.py +++ b/tests/objects_instantiation_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/octree_test.py b/tests/octree_test.py index acae627ed..ee686711b 100644 --- a/tests/octree_test.py +++ b/tests/octree_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/point_data_test.py b/tests/point_data_test.py index 7994f91a4..b9e649fc0 100644 --- a/tests/point_data_test.py +++ b/tests/point_data_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/property_group_test.py b/tests/property_group_test.py index 90506e768..1374865b9 100644 --- a/tests/property_group_test.py +++ b/tests/property_group_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/reference_data_test.py b/tests/reference_data_test.py index 1cef6c7b5..2317566ee 100644 --- a/tests/reference_data_test.py +++ b/tests/reference_data_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/remove_root_test.py b/tests/remove_root_test.py index c9326c8b2..527b01bc6 100644 --- a/tests/remove_root_test.py +++ b/tests/remove_root_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/save_modified_properties_test.py b/tests/save_modified_properties_test.py index 2e6377eee..5a3d69927 100644 --- a/tests/save_modified_properties_test.py +++ b/tests/save_modified_properties_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/set_parent_test.py b/tests/set_parent_test.py index 44725d263..09ebd1c5d 100644 --- a/tests/set_parent_test.py +++ b/tests/set_parent_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/shared_utils_test.py b/tests/shared_utils_test.py index 9ab5adbf1..4d1bf4bb5 100644 --- a/tests/shared_utils_test.py +++ b/tests/shared_utils_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/surveys/__init__.py b/tests/surveys/__init__.py index 3e76d68ac..a999b1b55 100644 --- a/tests/surveys/__init__.py +++ b/tests/surveys/__init__.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/surveys/surface_data_test.py b/tests/surveys/surface_data_test.py index 09933d447..9136311f6 100644 --- a/tests/surveys/surface_data_test.py +++ b/tests/surveys/surface_data_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/surveys/survey_airborne_tem_test.py b/tests/surveys/survey_airborne_tem_test.py index a8b746111..c121ca7cd 100644 --- a/tests/surveys/survey_airborne_tem_test.py +++ b/tests/surveys/survey_airborne_tem_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/surveys/survey_dcip_test.py b/tests/surveys/survey_dcip_test.py index cee457ffa..818b515b7 100644 --- a/tests/surveys/survey_dcip_test.py +++ b/tests/surveys/survey_dcip_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/surveys/survey_fem_test.py b/tests/surveys/survey_fem_test.py index 46f594c60..8b9abb258 100644 --- a/tests/surveys/survey_fem_test.py +++ b/tests/surveys/survey_fem_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/surveys/survey_ground_tem_test.py b/tests/surveys/survey_ground_tem_test.py index af673e3b2..1e5fa736f 100644 --- a/tests/surveys/survey_ground_tem_test.py +++ b/tests/surveys/survey_ground_tem_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/surveys/survey_mt_test.py b/tests/surveys/survey_mt_test.py index 4c509d813..6c7a55560 100644 --- a/tests/surveys/survey_mt_test.py +++ b/tests/surveys/survey_mt_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/surveys/survey_tipper_test.py b/tests/surveys/survey_tipper_test.py index 2bbafbdd7..5d656377e 100644 --- a/tests/surveys/survey_tipper_test.py +++ b/tests/surveys/survey_tipper_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/text_data_test.py b/tests/text_data_test.py index 492c13078..ea56b028f 100644 --- a/tests/text_data_test.py +++ b/tests/text_data_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/text_object_test.py b/tests/text_object_test.py index 6964273cc..758a1c58d 100644 --- a/tests/text_object_test.py +++ b/tests/text_object_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/type_uid_test.py b/tests/type_uid_test.py index 2d9c60415..6f711b1dc 100644 --- a/tests/type_uid_test.py +++ b/tests/type_uid_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/ui_json/__init__.py b/tests/ui_json/__init__.py index 906a18533..229ef3f7e 100644 --- a/tests/ui_json/__init__.py +++ b/tests/ui_json/__init__.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/ui_json/enforcers_test.py b/tests/ui_json/enforcers_test.py index aad0cb2ce..9e068ccdf 100644 --- a/tests/ui_json/enforcers_test.py +++ b/tests/ui_json/enforcers_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/ui_json/exceptions_test.py b/tests/ui_json/exceptions_test.py index d6500d925..b4316e017 100644 --- a/tests/ui_json/exceptions_test.py +++ b/tests/ui_json/exceptions_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/ui_json/forms_test.py b/tests/ui_json/forms_test.py index 2832619c3..5eddc7b5b 100644 --- a/tests/ui_json/forms_test.py +++ b/tests/ui_json/forms_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/ui_json/parameter_test.py b/tests/ui_json/parameter_test.py index e6637cdf1..c71180873 100644 --- a/tests/ui_json/parameter_test.py +++ b/tests/ui_json/parameter_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/ui_json/set_dict_test.py b/tests/ui_json/set_dict_test.py index 90918bdb6..a9d4bab0e 100644 --- a/tests/ui_json/set_dict_test.py +++ b/tests/ui_json/set_dict_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/ui_json/uijson_test.py b/tests/ui_json/uijson_test.py index 84d80e67f..ce908eba7 100644 --- a/tests/ui_json/uijson_test.py +++ b/tests/ui_json/uijson_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/ui_json_group_test.py b/tests/ui_json_group_test.py index 9385d4d06..16710ec3b 100644 --- a/tests/ui_json_group_test.py +++ b/tests/ui_json_group_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/ui_json_test.py b/tests/ui_json_test.py index f8c3a2217..5e5d3813d 100644 --- a/tests/ui_json_test.py +++ b/tests/ui_json_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/ui_json_utils_test.py b/tests/ui_json_utils_test.py index f73938a65..cc29fb286 100644 --- a/tests/ui_json_utils_test.py +++ b/tests/ui_json_utils_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/user_comments_test.py b/tests/user_comments_test.py index 402c1859b..4df02eae4 100644 --- a/tests/user_comments_test.py +++ b/tests/user_comments_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/utils_test.py b/tests/utils_test.py index 75b26f267..79388f780 100644 --- a/tests/utils_test.py +++ b/tests/utils_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/validators_test.py b/tests/validators_test.py index 7c1206840..5c06f7408 100644 --- a/tests/validators_test.py +++ b/tests/validators_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/version_test.py b/tests/version_test.py index 93e80f698..204e44af1 100644 --- a/tests/version_test.py +++ b/tests/version_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/visual_parameters_test.py b/tests/visual_parameters_test.py index 851f2167a..1b3b914ea 100644 --- a/tests/visual_parameters_test.py +++ b/tests/visual_parameters_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' @@ -25,7 +25,7 @@ import numpy as np import pytest -from geoh5py.objects import Points +from geoh5py.objects import Curve, Grid2D, Points, Surface from geoh5py.workspace import Workspace @@ -90,3 +90,54 @@ def test_visual_parameters(tmp_path, caplog): with pytest.raises(TypeError, match="Input 'visual_parameters'"): points.visual_parameters = 1 + + with pytest.raises( + TypeError, match="Input 'colour' values must be a list of 3 or 4 integers" + ): + points.visual_parameters.colour = [255, 0] # Wrong length + + +@pytest.mark.parametrize( + "object_type,object_name,extra_params", + [ + (Points, "TestPoints", {}), + (Curve, "TestCurve", {}), + (Grid2D, "TestGrid2D", {}), + ( + Surface, + "TestSurface", + {"cells": np.array([[0, 1, 5], [1, 6, 5], [1, 2, 6]])}, + ), + ], +) +def test_colour_setter(tmp_path, object_type, object_name, extra_params): + """Test the colour setter with different object types.""" + h5file_path = tmp_path / f"test_{object_name}_colour.geoh5" + colour = [0, 255, 0] # Green + + # Create vertices + if object_type == Surface: + x, y = np.meshgrid(np.arange(5), np.arange(5)) + x, y = x.ravel(), y.ravel() + z = np.random.randn(x.shape[0]) + vertices = np.c_[x, y, z] + else: + vertices = np.random.randn(10, 3) + + with Workspace.create(h5file_path) as workspace: + obj = object_type.create( + workspace, + vertices=vertices, + name=object_name, + **extra_params, + ) + + viz_params = obj.add_default_visual_parameters() + viz_params.colour = colour + + assert obj.visual_parameters.colour == colour + + # Verify persistence + with Workspace(h5file_path) as workspace: + obj = workspace.get_entity(object_name)[0] + assert obj.visual_parameters.colour == colour diff --git a/tests/vp_mesh_test.py b/tests/vp_mesh_test.py index abe314e5b..5b92bca2e 100644 --- a/tests/vp_mesh_test.py +++ b/tests/vp_mesh_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/weakref_test.py b/tests/weakref_test.py index a62ab7f1b..5def29b6d 100644 --- a/tests/weakref_test.py +++ b/tests/weakref_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/weakref_utils_test.py b/tests/weakref_utils_test.py index 043f8b662..5287d0e45 100644 --- a/tests/weakref_utils_test.py +++ b/tests/weakref_utils_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/workspace_context_test.py b/tests/workspace_context_test.py index b9315be9f..761999688 100644 --- a/tests/workspace_context_test.py +++ b/tests/workspace_context_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # ' diff --git a/tests/workspace_test.py b/tests/workspace_test.py index 651961d7a..aec1af0cf 100644 --- a/tests/workspace_test.py +++ b/tests/workspace_test.py @@ -1,5 +1,5 @@ # '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' -# Copyright (c) 2025 Mira Geoscience Ltd. ' +# Copyright (c) 2020-2026 Mira Geoscience Ltd. ' # ' # This file is part of geoh5py. ' # '