Skip to content

Commit

Permalink
Relicense from LGPL-3 to BSD-3
Browse files Browse the repository at this point in the history
  • Loading branch information
lbdreyer committed Nov 13, 2023
1 parent 89a69fb commit 5f327e2
Show file tree
Hide file tree
Showing 134 changed files with 293 additions and 1,245 deletions.
674 changes: 0 additions & 674 deletions COPYING

This file was deleted.

165 changes: 0 additions & 165 deletions COPYING.LESSER

This file was deleted.

29 changes: 29 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
BSD 3-Clause License

Copyright (c) 2010, Met Office.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
18 changes: 3 additions & 15 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,7 @@ iris-grib

GRIB interface for `Iris <https://github.com/SciTools/iris>`_.

Code
----
iris-grib is licenced under the GNU Lesser General Public License (LGPLv3).

The full text of the licence can be found in the COPYING and COPYING.LESSER
files.

Copyright and licence
---------------------
iris-grib may be freely distributed, modified and used commercially under the
terms of its `GNU LGPLv3 license <COPYING.LESSER>`_.

\(C) British Crown Copyright 2010 - 2021, Met Office
iris-grib is licensed under the BSD-3 license.

.. |CirrusCI| image:: https://api.cirrus-ci.com/github/SciTools/iris-grib.svg?branch=main
.. _CirrusCI: https://cirrus-ci.com/github/SciTools/iris-grib
Expand All @@ -31,8 +19,8 @@ terms of its `GNU LGPLv3 license <COPYING.LESSER>`_.
.. |pypi| image:: https://img.shields.io/pypi/v/iris-grib?color=orange&label=pypi&logo=python&logoColor=white
.. _pypi: https://pypi.org/project/iris-grib

.. |License| image:: https://img.shields.io/github/license/SciTools/iris-grib?style=plastic
.. _License: https://github.com/SciTools/iris-grib/blob/main/COPYING
.. |License| image:: https://img.shields.io/badge/BSD-3?style=plastic&label=License
.. _License: https://github.com/SciTools/iris-grib/blob/main/LICENSE

.. |Contributors| image:: https://img.shields.io/github/contributors/SciTools/iris-grib?style=plastic
.. _Contributors: https://github.com/SciTools/iris-grib/graphs/contributors
Expand Down
5 changes: 2 additions & 3 deletions iris_grib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Copyright iris-grib contributors
#
# This file is part of iris-grib and is released under the LGPL license.
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.
# This file is part of iris-grib and is released under the BSD license.
# See LICENSE in the root of the repository for full licensing details.
"""
Conversion of cubes to/from GRIB.
Expand Down
5 changes: 2 additions & 3 deletions iris_grib/_grib1_load_rules.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Copyright iris-grib contributors
#
# This file is part of iris-grib and is released under the LGPL license.
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.
# This file is part of iris-grib and is released under the BSD license.
# See LICENSE in the root of the repository for full licensing details.

# Historically this was auto-generated from
# SciTools/iris-code-generators:tools/gen_rules.py
Expand Down
5 changes: 2 additions & 3 deletions iris_grib/_grib_cf_map.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Copyright iris-grib contributors
#
# This file is part of iris-grib and is released under the LGPL license.
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.
# This file is part of iris-grib and is released under the BSD license.
# See LICENSE in the root of the repository for full licensing details.

"""
Provides GRIB/CF phenomenon translations.
Expand Down
5 changes: 2 additions & 3 deletions iris_grib/_iris_mercator_support.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Copyright iris-grib contributors
#
# This file is part of iris-grib and is released under the LGPL license.
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.
# This file is part of iris-grib and is released under the BSD license.
# See LICENSE in the root of the repository for full licensing details.
"""
Temporary module to check for the extended Mercator class in Iris,
which iris-grib requires for its Mercator support.
Expand Down
5 changes: 2 additions & 3 deletions iris_grib/_load_convert.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Copyright iris-grib contributors
#
# This file is part of iris-grib and is released under the LGPL license.
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.
# This file is part of iris-grib and is released under the BSD license.
# See LICENSE in the root of the repository for full licensing details.
"""
Module to support the loading and convertion of a GRIB2 message into
cube metadata.
Expand Down
5 changes: 2 additions & 3 deletions iris_grib/_save_rules.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Copyright iris-grib contributors
#
# This file is part of iris-grib and is released under the LGPL license.
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.
# This file is part of iris-grib and is released under the BSD license.
# See LICENSE in the root of the repository for full licensing details.
"""
Grib save implementation.
Expand Down
5 changes: 2 additions & 3 deletions iris_grib/grib_phenom_translation.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Copyright iris-grib contributors
#
# This file is part of iris-grib and is released under the LGPL license.
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.
# This file is part of iris-grib and is released under the BSD license.
# See LICENSE in the root of the repository for full licensing details.
'''
Provide grib 1 and 2 phenomenon translations to + from CF terms.
Expand Down
5 changes: 2 additions & 3 deletions iris_grib/message.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Copyright iris-grib contributors
#
# This file is part of iris-grib and is released under the LGPL license.
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.
# This file is part of iris-grib and is released under the BSD license.
# See LICENSE in the root of the repository for full licensing details.
"""
Defines a lightweight wrapper class to wrap a single GRIB message.
Expand Down
5 changes: 2 additions & 3 deletions iris_grib/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Copyright iris-grib contributors
#
# This file is part of iris-grib and is released under the LGPL license.
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.
# This file is part of iris-grib and is released under the BSD license.
# See LICENSE in the root of the repository for full licensing details.
"""
Provides testing capabilities and customisations specific to iris-grib.
Expand Down
5 changes: 2 additions & 3 deletions iris_grib/tests/integration/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Copyright iris-grib contributors
#
# This file is part of iris-grib and is released under the LGPL license.
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.
# This file is part of iris-grib and is released under the BSD license.
# See LICENSE in the root of the repository for full licensing details.
"""Integration tests for the :mod:`iris_grib` package."""
5 changes: 2 additions & 3 deletions iris_grib/tests/integration/format_interop/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Copyright iris-grib contributors
#
# This file is part of iris-grib and is released under the LGPL license.
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.
# This file is part of iris-grib and is released under the BSD license.
# See LICENSE in the root of the repository for full licensing details.
"""
Integration tests for format interoperability.
Expand Down
5 changes: 2 additions & 3 deletions iris_grib/tests/integration/format_interop/test_name_grib.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Copyright iris-grib contributors
#
# This file is part of iris-grib and is released under the LGPL license.
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.
# This file is part of iris-grib and is released under the BSD license.
# See LICENSE in the root of the repository for full licensing details.
"""Integration tests for NAME to GRIB2 interoperability."""

# Import iris_grib.tests first so that some things can be initialised before
Expand Down
5 changes: 2 additions & 3 deletions iris_grib/tests/integration/format_interop/test_pp_grib.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Copyright iris-grib contributors
#
# This file is part of iris-grib and is released under the LGPL license.
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.
# This file is part of iris-grib and is released under the BSD license.
# See LICENSE in the root of the repository for full licensing details.
"""Integration tests for PP/GRIB interoperability."""

# Import iris_grib.tests first so that some things can be initialised before
Expand Down
5 changes: 2 additions & 3 deletions iris_grib/tests/integration/iris_integration/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Copyright iris-grib contributors
#
# This file is part of iris-grib and is released under the LGPL license.
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.
# This file is part of iris-grib and is released under the BSD license.
# See LICENSE in the root of the repository for full licensing details.
"""
Integration tests confirming that iris functionality is working with GRIB
files.
Expand Down
5 changes: 2 additions & 3 deletions iris_grib/tests/integration/iris_integration/test_callback.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Copyright iris-grib contributors
#
# This file is part of iris-grib and is released under the LGPL license.
# See COPYING and COPYING.LESSER in the root of the repository for full
# licensing details.
# This file is part of iris-grib and is released under the BSD license.
# See LICENSE in the root of the repository for full licensing details.
"""
Test that iris load callbacks work with iris-grib.
Expand Down
Loading

0 comments on commit 5f327e2

Please sign in to comment.