From 30f039f7d46242dc17f2d3a21839530204d2e8ca Mon Sep 17 00:00:00 2001 From: b8raoult <53792887+b8raoult@users.noreply.github.com> Date: Mon, 11 Nov 2024 10:36:35 +0000 Subject: [PATCH] missing copyrigths (#73) * missing copyrigths * Update CHANGELOG.md --------- Co-authored-by: Mario Santa Cruz <48736305+JPXKQX@users.noreply.github.com> Co-authored-by: Harrison Cook --- docs/conf.py | 4 ++-- pyproject.toml | 6 ++---- src/anemoi/graphs/__init__.py | 4 +++- src/anemoi/graphs/__main__.py | 5 ++--- src/anemoi/graphs/commands/__init__.py | 5 ++--- src/anemoi/graphs/edges/__init__.py | 9 +++++++++ src/anemoi/graphs/generate/__init__.py | 8 ++++++++ src/anemoi/graphs/nodes/__init__.py | 9 +++++++++ src/anemoi/graphs/nodes/builders/__init__.py | 8 ++++++++ src/anemoi/graphs/plotting/__init__.py | 8 ++++++++ 10 files changed, 53 insertions(+), 13 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 8e507b7b..5130d4ec 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -29,7 +29,7 @@ project = "Anemoi Graphs" -author = "ECMWF" +author = "Anemoi contributors" year = datetime.datetime.now().year if year == 2024: @@ -37,7 +37,7 @@ else: years = "2024-%s" % (year,) -copyright = "%s, ECMWF" % (years,) +copyright = "%s, Anemoi contributors" % (years,) try: from anemoi.graphs._version import __version__ diff --git a/pyproject.toml b/pyproject.toml index a6148ef9..48634eaf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,14 +1,12 @@ -#!/usr/bin/env python -# (C) Copyright 2024 ECMWF. +# (C) Copyright 2024 Anemoi contributors. # # 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 # granted to it by virtue of its status as an intergovernmental organisation # nor does it submit to any jurisdiction. -# https://packaging.python.org/en/latest/guides/writing-pyproject-toml/ - [build-system] requires = [ "setuptools>=60", "setuptools-scm>=8" ] diff --git a/src/anemoi/graphs/__init__.py b/src/anemoi/graphs/__init__.py index 55bad43f..3ff776c7 100644 --- a/src/anemoi/graphs/__init__.py +++ b/src/anemoi/graphs/__init__.py @@ -1,6 +1,8 @@ -# (C) Copyright 2023 European Centre for Medium-Range Weather Forecasts. +# (C) Copyright 2024 Anemoi contributors. +# # 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 # granted to it by virtue of its status as an intergovernmental organisation # nor does it submit to any jurisdiction. diff --git a/src/anemoi/graphs/__main__.py b/src/anemoi/graphs/__main__.py index be940c27..0057b940 100644 --- a/src/anemoi/graphs/__main__.py +++ b/src/anemoi/graphs/__main__.py @@ -1,12 +1,11 @@ -#!/usr/bin/env python -# (C) Copyright 2024 ECMWF. +# (C) Copyright 2024 Anemoi contributors. # # 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 # granted to it by virtue of its status as an intergovernmental organisation # nor does it submit to any jurisdiction. -# from anemoi.utils.cli import cli_main from anemoi.utils.cli import make_parser diff --git a/src/anemoi/graphs/commands/__init__.py b/src/anemoi/graphs/commands/__init__.py index cebb5395..e5e2219d 100644 --- a/src/anemoi/graphs/commands/__init__.py +++ b/src/anemoi/graphs/commands/__init__.py @@ -1,12 +1,11 @@ -#!/usr/bin/env python -# (C) Copyright 2024 ECMWF. +# (C) Copyright 2024 Anemoi contributors. # # 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 # granted to it by virtue of its status as an intergovernmental organisation # nor does it submit to any jurisdiction. -# import os diff --git a/src/anemoi/graphs/edges/__init__.py b/src/anemoi/graphs/edges/__init__.py index 281860d4..478c1b5a 100644 --- a/src/anemoi/graphs/edges/__init__.py +++ b/src/anemoi/graphs/edges/__init__.py @@ -1,3 +1,12 @@ +# (C) Copyright 2024 Anemoi contributors. +# +# 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 +# granted to it by virtue of its status as an intergovernmental organisation +# nor does it submit to any jurisdiction. + from .builder import CutOffEdges from .builder import KNNEdges from .builder import MultiScaleEdges diff --git a/src/anemoi/graphs/generate/__init__.py b/src/anemoi/graphs/generate/__init__.py index e69de29b..c167afa2 100644 --- a/src/anemoi/graphs/generate/__init__.py +++ b/src/anemoi/graphs/generate/__init__.py @@ -0,0 +1,8 @@ +# (C) Copyright 2024 Anemoi contributors. +# +# 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 +# granted to it by virtue of its status as an intergovernmental organisation +# nor does it submit to any jurisdiction. diff --git a/src/anemoi/graphs/nodes/__init__.py b/src/anemoi/graphs/nodes/__init__.py index ef48d45e..3a917f21 100644 --- a/src/anemoi/graphs/nodes/__init__.py +++ b/src/anemoi/graphs/nodes/__init__.py @@ -1,3 +1,12 @@ +# (C) Copyright 2024 Anemoi contributors. +# +# 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 +# granted to it by virtue of its status as an intergovernmental organisation +# nor does it submit to any jurisdiction. + from .builders.from_file import LimitedAreaNPZFileNodes from .builders.from_file import NPZFileNodes from .builders.from_file import ZarrDatasetNodes diff --git a/src/anemoi/graphs/nodes/builders/__init__.py b/src/anemoi/graphs/nodes/builders/__init__.py index e69de29b..c167afa2 100644 --- a/src/anemoi/graphs/nodes/builders/__init__.py +++ b/src/anemoi/graphs/nodes/builders/__init__.py @@ -0,0 +1,8 @@ +# (C) Copyright 2024 Anemoi contributors. +# +# 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 +# granted to it by virtue of its status as an intergovernmental organisation +# nor does it submit to any jurisdiction. diff --git a/src/anemoi/graphs/plotting/__init__.py b/src/anemoi/graphs/plotting/__init__.py index e69de29b..c167afa2 100644 --- a/src/anemoi/graphs/plotting/__init__.py +++ b/src/anemoi/graphs/plotting/__init__.py @@ -0,0 +1,8 @@ +# (C) Copyright 2024 Anemoi contributors. +# +# 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 +# granted to it by virtue of its status as an intergovernmental organisation +# nor does it submit to any jurisdiction.