diff --git a/anemoi/utils/__init__.py b/anemoi/utils/__init__.py index e78b2b8..ec4cde3 100644 --- a/anemoi/utils/__init__.py +++ b/anemoi/utils/__init__.py @@ -1,4 +1,4 @@ -# (C) Copyright 2023 European Centre for Medium-Range Weather Forecasts. +# (C) Copyright 2024 European Centre for Medium-Range Weather Forecasts. # This software is licensed under the terms of the Apache Licence Version 2.0 # which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. # In applying this licence, ECMWF does not waive the privileges and immunities @@ -7,4 +7,3 @@ __version__ = "0.1.0" - diff --git a/anemoi/utils/provenance.py b/anemoi/utils/provenance.py index 351191c..bd54886 100644 --- a/anemoi/utils/provenance.py +++ b/anemoi/utils/provenance.py @@ -1,4 +1,4 @@ -# (C) Copyright 2023 European Centre for Medium-Range Weather Forecasts. +# (C) Copyright 2024 European Centre for Medium-Range Weather Forecasts. # This software is licensed under the terms of the Apache Licence Version 2.0 # which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. # In applying this licence, ECMWF does not waive the privileges and immunities diff --git a/anemoi/utils/text.py b/anemoi/utils/text.py index 6c9ec30..86987ee 100644 --- a/anemoi/utils/text.py +++ b/anemoi/utils/text.py @@ -1,4 +1,4 @@ -# (C) Copyright 2023 European Centre for Medium-Range Weather Forecasts. +# (C) Copyright 2024 European Centre for Medium-Range Weather Forecasts. # This software is licensed under the terms of the Apache Licence Version 2.0 # which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. # In applying this licence, ECMWF does not waive the privileges and immunities @@ -7,12 +7,12 @@ import sys - -# https://en.wikipedia.org/wiki/Box-drawing_character from collections import defaultdict from termcolor import colored +# https://en.wikipedia.org/wiki/Box-drawing_character + def dotted_line(n=84, file=sys.stdout): print("┈" * n, file=file) diff --git a/setup.py b/setup.py index be8da80..362f5df 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# (C) Copyright 2023 ECMWF. +# (C) Copyright 2024 ECMWF. # # This software is licensed under the terms of the Apache Licence Version 2.0 # which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. diff --git a/tests/test_utils.py b/tests/test_utils.py index 71f401e..3b688bd 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -1,4 +1,4 @@ -# (C) Copyright 2023 European Centre for Medium-Range Weather Forecasts. +# (C) Copyright 2024 European Centre for Medium-Range Weather Forecasts. # This software is licensed under the terms of the Apache Licence Version 2.0 # which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. # In applying this licence, ECMWF does not waive the privileges and immunities @@ -7,7 +7,6 @@ import numpy as np - from anemoi.datasets.data.indexing import length_to_slices