diff --git a/README.md b/README.md index 98c1fb181e..466ee2ecd8 100644 --- a/README.md +++ b/README.md @@ -8,26 +8,18 @@ ICON4Py hosts Python implementations of various components from the ICON climate The repository is organized into directories, each containing independent Python namespace packages for different ICON components or utility packages. These packages can be installed independently. Since these packages are not available from a package repository (yet), you need to specify the location of dependencies within this repository. This can be done by installing the required dependencies first. Refer to the [Installation instructions](#installation-instructions) below. -## Installation instructions - -We recommend to use [tox](https://tox.wiki/en/latest/) for the automatic installation of all packages in development mode in a single step: -The `tox.ini` files are located in the `model` and `tools` directories so `tox` needs to be run from there. - -```bash -# Clone the repository -git clone git@github.com:C2SM/icon4py.git -cd icon4py +## License -# Use tox to create and set up a development environment (usually at `.venv`) in verbose mode -python -m tox -vv -c model/tox.ini -e dev --devenv .venv +ICON4Py is licensed under the terms of the BSD-3-Clause. -# Activate the virtual environment and check that everything works -source .venv/bin/activate -pytest -v -``` - -If you want to proceed manually, you should install all packages at once by using the provided `requirements.txt` or `requirements-dev.txt` files in the root of the repository. For example: +## Installation instructions +### Dependencies +A minimal installation of ICON4Py needs +- Python 3.10 +- boost >= 1.85.0 +You can install all packages at once by using the provided `requirements.txt` or `requirements-dev.txt` files in the root of the repository. For example: +The `-dev.txt` file installs ICON4Py packages and GT4Py in editable mode, such that source changes are immediatly picked up and used in the virtual environment. ```bash # Clone the repository git clone git@github.com:C2SM/icon4py.git @@ -50,6 +42,25 @@ pytest -v The `--src _external_src` option tells `pip` to use a specific folder as the base path for checked out sources, which is very convenient for development tasks involving changes in external dependencies like `gt4py`. For convenience, `./_external_src` has been already added to the repository `.gitignore`. +You can also use [tox](https://tox.wiki/en/latest/) for the automatic installation of all packages in development mode in a single step: + + +```bash +# Clone the repository +git clone git@github.com:C2SM/icon4py.git +cd icon4py + +# Use tox to create and set up a development environment (usually at `.venv`) in verbose mode +pip install tox +python -m tox -vv -e dev --devenv .venv + +# Activate the virtual environment and check that everything works +source .venv/bin/activate +pytest -v +``` + + + ### Installation of specific subpackages In case you only want to install a specific subpackage, use the actual subpackage `requirements.txt` or `requirements-dev.txt` files. diff --git a/base-requirements-dev.txt b/base-requirements-dev.txt index 9f16f7d9bb..8ed5796884 100644 --- a/base-requirements-dev.txt +++ b/base-requirements-dev.txt @@ -6,7 +6,7 @@ git+https://github.com/GridTools/serialbox#egg=serialbox&subdirectory=src/serial bump2version>=1.0.1 coverage[toml]>=5.0 mypy>=1.7.0 -pre-commit~=2.15 +pre-commit~=3.8.0 pytest>=6.1 pytest-benchmark>=4.0.0 pytest-cache>=1.0 diff --git a/model/.license_header.txt b/model/.license_header.txt index 8e88814589..65aab1bc58 100644 --- a/model/.license_header.txt +++ b/model/.license_header.txt @@ -1,12 +1,7 @@ ICON4Py - ICON inspired code in Python and GT4Py -Copyright (c) 2022, ETH Zurich and MeteoSwiss +Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss All rights reserved. -This file is free software: you can redistribute it and/or modify it under -the terms of the GNU General Public License as published by the -Free Software Foundation, either version 3 of the License, or any later -version. See the LICENSE.txt file at the top-level directory of this -distribution for a copy of the license or check . - -SPDX-License-Identifier: GPL-3.0-or-later +Please, refer to the LICENSE file in the root directory. +SPDX-License-Identifier: BSD-3-Clause diff --git a/model/LICENSE b/model/LICENSE index f288702d2f..61241df23f 100644 --- a/model/LICENSE +++ b/model/LICENSE @@ -1,674 +1,31 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - Copyright (C) - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -. + ICON4Py - ICON inspired code in Python and GT4Py + + Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss + 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. diff --git a/model/atmosphere/advection/.pre-commit-config.yaml b/model/atmosphere/advection/.pre-commit-config.yaml index 0f4580718b..79e2b16f32 100644 --- a/model/atmosphere/advection/.pre-commit-config.yaml +++ b/model/atmosphere/advection/.pre-commit-config.yaml @@ -52,7 +52,7 @@ repos: types_or: [markdown, json] - repo: https://github.com/Lucas-C/pre-commit-hooks - rev: v1.3.0 + rev: v1.5.5 hooks: - id: insert-license name: add license for all ICON4Py Python source files diff --git a/model/atmosphere/advection/LICENSE b/model/atmosphere/advection/LICENSE new file mode 100644 index 0000000000..61241df23f --- /dev/null +++ b/model/atmosphere/advection/LICENSE @@ -0,0 +1,31 @@ + ICON4Py - ICON inspired code in Python and GT4Py + + Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss + 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. diff --git a/model/atmosphere/advection/pyproject.toml b/model/atmosphere/advection/pyproject.toml index 532ed94966..a369928823 100644 --- a/model/atmosphere/advection/pyproject.toml +++ b/model/atmosphere/advection/pyproject.toml @@ -10,7 +10,7 @@ authors = [ classifiers = [ "Development Status :: 3 - Alpha", "Intended Audience :: Science/Research", - "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", + "License :: OSI Approved :: BSD License", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 3", diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/__init__.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/__init__.py index dab7089554..9067bb0dad 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/__init__.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/__init__.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from typing import Final from packaging import version as pkg_version @@ -24,9 +20,9 @@ ] -__author__: Final = "ETH Zurich and individual contributors" -__copyright__: Final = "Copyright (c) 2014-2022 ETH Zurich" -__license__: Final = "GPL-3.0-or-later" +__author__: Final = "ETH Zurich, MeteoSwiss and individual contributors" +__copyright__: Final = "Copyright (c) 2022-2024 ETH Zurich and MeteoSwiss" +__license__: Final = "BSD-3-Clause" __version__: Final = "0.0.6" diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/btraj_dreg_stencil_01.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/btraj_dreg_stencil_01.py index d32644bd4a..fd831dc79a 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/btraj_dreg_stencil_01.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/btraj_dreg_stencil_01.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from gt4py.next import GridType from gt4py.next.ffront.decorator import field_operator, program from gt4py.next.ffront.fbuiltins import broadcast, where diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/btraj_dreg_stencil_02.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/btraj_dreg_stencil_02.py index 4a287b74bd..a46d1aed5c 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/btraj_dreg_stencil_02.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/btraj_dreg_stencil_02.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from gt4py.next import GridType from gt4py.next.ffront.decorator import field_operator, program from gt4py.next.ffront.fbuiltins import Field, broadcast, int32, sqrt, where diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/btraj_dreg_stencil_03.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/btraj_dreg_stencil_03.py index 6038791de9..3719aa2443 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/btraj_dreg_stencil_03.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/btraj_dreg_stencil_03.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from gt4py.next import GridType from gt4py.next.ffront.decorator import field_operator, program from gt4py.next.ffront.fbuiltins import Field, int32, where diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/divide_flux_area_list_stencil_01.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/divide_flux_area_list_stencil_01.py index 16c06aeb3f..05684ebc4d 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/divide_flux_area_list_stencil_01.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/divide_flux_area_list_stencil_01.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import sys diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/divide_flux_area_list_stencil_02.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/divide_flux_area_list_stencil_02.py index 1aa3b549c6..416d673321 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/divide_flux_area_list_stencil_02.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/divide_flux_area_list_stencil_02.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import sys diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/face_val_ppm_stencil_01.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/face_val_ppm_stencil_01.py index 97ee7e4f63..a22b001088 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/face_val_ppm_stencil_01.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/face_val_ppm_stencil_01.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from gt4py.next import GridType from gt4py.next.ffront.decorator import field_operator, program from gt4py.next.ffront.fbuiltins import broadcast, int32, where diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/face_val_ppm_stencil_02.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/face_val_ppm_stencil_02.py index 53c65dc09d..a85f4e8bc6 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/face_val_ppm_stencil_02.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/face_val_ppm_stencil_02.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from gt4py.next import GridType from gt4py.next.ffront.decorator import field_operator, program from gt4py.next.ffront.fbuiltins import broadcast, int32, where diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/face_val_ppm_stencil_02a.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/face_val_ppm_stencil_02a.py index 53ffa70553..c0e69ec168 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/face_val_ppm_stencil_02a.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/face_val_ppm_stencil_02a.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import gt4py.next as gtx from gt4py.next import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/face_val_ppm_stencil_02b.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/face_val_ppm_stencil_02b.py index c46cd0ebff..5ff3e280d6 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/face_val_ppm_stencil_02b.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/face_val_ppm_stencil_02b.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from gt4py.next import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/face_val_ppm_stencil_02c.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/face_val_ppm_stencil_02c.py index 039f4c165e..abeb9f33c7 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/face_val_ppm_stencil_02c.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/face_val_ppm_stencil_02c.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from gt4py.next import GridType from gt4py.next.ffront.decorator import field_operator, program from gt4py.next.ffront.fbuiltins import int32 diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/face_val_ppm_stencil_05.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/face_val_ppm_stencil_05.py index faa668465a..9478e105b4 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/face_val_ppm_stencil_05.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/face_val_ppm_stencil_05.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import gt4py.next as gtx from icon4py.model.common import field_type_aliases as fa diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflux_ffsl_hybrid_stencil_01a.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflux_ffsl_hybrid_stencil_01a.py index efd9a7c7b8..ed9f6e260f 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflux_ffsl_hybrid_stencil_01a.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflux_ffsl_hybrid_stencil_01a.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflux_ffsl_hybrid_stencil_02.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflux_ffsl_hybrid_stencil_02.py index 180376a817..7251ecabd2 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflux_ffsl_hybrid_stencil_02.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflux_ffsl_hybrid_stencil_02.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflx_limiter_mo_stencil_01a.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflx_limiter_mo_stencil_01a.py index b74800e1f5..f28c80faa0 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflx_limiter_mo_stencil_01a.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflx_limiter_mo_stencil_01a.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.ffront.decorator import field_operator, program from gt4py.next.ffront.fbuiltins import abs diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflx_limiter_mo_stencil_01b.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflx_limiter_mo_stencil_01b.py index bf7b0dd746..cd7b7f60cc 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflx_limiter_mo_stencil_01b.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflx_limiter_mo_stencil_01b.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.ffront.decorator import field_operator, program from gt4py.next.ffront.fbuiltins import Field, broadcast, maximum, minimum, neighbor_sum diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflx_limiter_mo_stencil_02.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflx_limiter_mo_stencil_02.py index e34e699d83..c4b3b574eb 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflx_limiter_mo_stencil_02.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflx_limiter_mo_stencil_02.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflx_limiter_mo_stencil_03.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflx_limiter_mo_stencil_03.py index 703bff9c9e..3680c519a8 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflx_limiter_mo_stencil_03.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflx_limiter_mo_stencil_03.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.ffront.decorator import field_operator, program from gt4py.next.ffront.fbuiltins import max_over, maximum, min_over, minimum diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflx_limiter_mo_stencil_04.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflx_limiter_mo_stencil_04.py index 55604a7220..901261233b 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflx_limiter_mo_stencil_04.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflx_limiter_mo_stencil_04.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.ffront.decorator import field_operator, program from gt4py.next.ffront.fbuiltins import minimum, where diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflx_limiter_mo_stencil_05.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflx_limiter_mo_stencil_05.py index 1b2188168b..7d602975cc 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflx_limiter_mo_stencil_05.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflx_limiter_mo_stencil_05.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.ffront.decorator import field_operator, program from gt4py.next.ffront.fbuiltins import minimum, where diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflx_limiter_pd_stencil_01.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflx_limiter_pd_stencil_01.py index cc840a05c7..6abd5dadce 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflx_limiter_pd_stencil_01.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflx_limiter_pd_stencil_01.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.ffront.decorator import field_operator, program from gt4py.next.ffront.fbuiltins import Field, broadcast, maximum, minimum diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflx_limiter_pd_stencil_02.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflx_limiter_pd_stencil_02.py index 61ea6ae191..bc8099a481 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflx_limiter_pd_stencil_02.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hflx_limiter_pd_stencil_02.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.ffront.decorator import field_operator, program from gt4py.next.ffront.fbuiltins import where diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hor_adv_stencil_01.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hor_adv_stencil_01.py index 935aa46827..4d6005750b 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hor_adv_stencil_01.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/hor_adv_stencil_01.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.ffront.decorator import field_operator, program from gt4py.next.ffront.fbuiltins import Field, neighbor_sum diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/init_zero_c_k.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/init_zero_c_k.py index e43f6ae992..00bfd72091 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/init_zero_c_k.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/init_zero_c_k.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/mo_advection_traj_btraj_compute_o1_dsl.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/mo_advection_traj_btraj_compute_o1_dsl.py index 87724075d7..ec37bc3097 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/mo_advection_traj_btraj_compute_o1_dsl.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/mo_advection_traj_btraj_compute_o1_dsl.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/prep_gauss_quadrature_c_list_stencil.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/prep_gauss_quadrature_c_list_stencil.py index fa48a227b9..de0bf6831d 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/prep_gauss_quadrature_c_list_stencil.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/prep_gauss_quadrature_c_list_stencil.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/prep_gauss_quadrature_c_stencil.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/prep_gauss_quadrature_c_stencil.py index 3fc766b30b..db4ca3a35f 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/prep_gauss_quadrature_c_stencil.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/prep_gauss_quadrature_c_stencil.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/rbf_intp_edge_stencil_01.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/rbf_intp_edge_stencil_01.py index 5394478e9a..8f30ee9a49 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/rbf_intp_edge_stencil_01.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/rbf_intp_edge_stencil_01.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.ffront.decorator import field_operator, program from gt4py.next.ffront.fbuiltins import Field, neighbor_sum diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/recon_lsq_cell_c_svd_stencil.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/recon_lsq_cell_c_svd_stencil.py index aa483ab151..f04ee54c41 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/recon_lsq_cell_c_svd_stencil.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/recon_lsq_cell_c_svd_stencil.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import Field, GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/recon_lsq_cell_l_svd_stencil.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/recon_lsq_cell_l_svd_stencil.py index 80eed2a29f..a65cb64c33 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/recon_lsq_cell_l_svd_stencil.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/recon_lsq_cell_l_svd_stencil.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import Field, GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/step_advection_stencil_01.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/step_advection_stencil_01.py index f4031bc0a1..11e1f01c54 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/step_advection_stencil_01.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/step_advection_stencil_01.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/step_advection_stencil_02.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/step_advection_stencil_02.py index 923017de12..89944bb056 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/step_advection_stencil_02.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/step_advection_stencil_02.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/step_advection_stencil_03.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/step_advection_stencil_03.py index 14e77f281c..604d489dae 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/step_advection_stencil_03.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/step_advection_stencil_03.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/step_advection_stencil_04.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/step_advection_stencil_04.py index 6e2d58e7ef..95f1c939b1 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/step_advection_stencil_04.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/step_advection_stencil_04.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/upwind_hflux_miura3_stencil_01.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/upwind_hflux_miura3_stencil_01.py index 943825ff75..6a3d72f59c 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/upwind_hflux_miura3_stencil_01.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/upwind_hflux_miura3_stencil_01.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/upwind_hflux_miura_cycl_stencil_01.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/upwind_hflux_miura_cycl_stencil_01.py index fdaf90c78f..73a57be520 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/upwind_hflux_miura_cycl_stencil_01.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/upwind_hflux_miura_cycl_stencil_01.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/upwind_hflux_miura_cycl_stencil_02.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/upwind_hflux_miura_cycl_stencil_02.py index 6adcc260cb..e120f4665f 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/upwind_hflux_miura_cycl_stencil_02.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/upwind_hflux_miura_cycl_stencil_02.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/upwind_hflux_miura_cycl_stencil_03a.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/upwind_hflux_miura_cycl_stencil_03a.py index c0d7655a18..c35b59717a 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/upwind_hflux_miura_cycl_stencil_03a.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/upwind_hflux_miura_cycl_stencil_03a.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/upwind_hflux_miura_cycl_stencil_03b.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/upwind_hflux_miura_cycl_stencil_03b.py index 2c6a00bf0f..3ce257ac05 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/upwind_hflux_miura_cycl_stencil_03b.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/upwind_hflux_miura_cycl_stencil_03b.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/upwind_hflux_miura_stencil_01.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/upwind_hflux_miura_stencil_01.py index 0e9fe9cfa6..ebd3adfda2 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/upwind_hflux_miura_stencil_01.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/upwind_hflux_miura_stencil_01.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/upwind_vflux_ppm_stencil_01.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/upwind_vflux_ppm_stencil_01.py index 02e8df31e7..660cdbe713 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/upwind_vflux_ppm_stencil_01.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/upwind_vflux_ppm_stencil_01.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/v_limit_prbl_sm_stencil_01.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/v_limit_prbl_sm_stencil_01.py index 8b3feae51a..f47a8687ca 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/v_limit_prbl_sm_stencil_01.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/v_limit_prbl_sm_stencil_01.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from gt4py.next import GridType from gt4py.next.ffront.decorator import field_operator, program from gt4py.next.ffront.fbuiltins import ( diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/v_limit_prbl_sm_stencil_02.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/v_limit_prbl_sm_stencil_02.py index 998ae1aa32..7dfbf9c7e4 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/v_limit_prbl_sm_stencil_02.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/v_limit_prbl_sm_stencil_02.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from gt4py.next import GridType from gt4py.next.ffront.decorator import field_operator, program from gt4py.next.ffront.fbuiltins import FieldOffset, int32, minimum, where diff --git a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/vert_adv_stencil_01.py b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/vert_adv_stencil_01.py index 6949800a04..474b45f176 100644 --- a/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/vert_adv_stencil_01.py +++ b/model/atmosphere/advection/src/icon4py/model/atmosphere/advection/vert_adv_stencil_01.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from gt4py.next import GridType from gt4py.next.ffront.decorator import field_operator, program from gt4py.next.ffront.fbuiltins import broadcast, int32, where diff --git a/model/atmosphere/advection/tests/advection_stencil_tests/__init__.py b/model/atmosphere/advection/tests/advection_stencil_tests/__init__.py index 15dfdb0098..80b673df7e 100644 --- a/model/atmosphere/advection/tests/advection_stencil_tests/__init__.py +++ b/model/atmosphere/advection/tests/advection_stencil_tests/__init__.py @@ -1,12 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + diff --git a/model/atmosphere/advection/tests/advection_stencil_tests/test_btraj_dreg_stencil_01.py b/model/atmosphere/advection/tests/advection_stencil_tests/test_btraj_dreg_stencil_01.py index 229ac10410..706024f1b7 100644 --- a/model/atmosphere/advection/tests/advection_stencil_tests/test_btraj_dreg_stencil_01.py +++ b/model/atmosphere/advection/tests/advection_stencil_tests/test_btraj_dreg_stencil_01.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import numpy as np import pytest diff --git a/model/atmosphere/advection/tests/advection_stencil_tests/test_btraj_dreg_stencil_02.py b/model/atmosphere/advection/tests/advection_stencil_tests/test_btraj_dreg_stencil_02.py index f04e6369a8..80245ae41f 100644 --- a/model/atmosphere/advection/tests/advection_stencil_tests/test_btraj_dreg_stencil_02.py +++ b/model/atmosphere/advection/tests/advection_stencil_tests/test_btraj_dreg_stencil_02.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/advection/tests/advection_stencil_tests/test_btraj_dreg_stencil_03.py b/model/atmosphere/advection/tests/advection_stencil_tests/test_btraj_dreg_stencil_03.py index b24f870440..8b498ac1d4 100644 --- a/model/atmosphere/advection/tests/advection_stencil_tests/test_btraj_dreg_stencil_03.py +++ b/model/atmosphere/advection/tests/advection_stencil_tests/test_btraj_dreg_stencil_03.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import numpy as np import pytest from gt4py.next.ffront.fbuiltins import int32 diff --git a/model/atmosphere/advection/tests/advection_stencil_tests/test_divide_flux_area_list_stencil_01.py b/model/atmosphere/advection/tests/advection_stencil_tests/test_divide_flux_area_list_stencil_01.py index 76c8f5c445..c20a4fd043 100644 --- a/model/atmosphere/advection/tests/advection_stencil_tests/test_divide_flux_area_list_stencil_01.py +++ b/model/atmosphere/advection/tests/advection_stencil_tests/test_divide_flux_area_list_stencil_01.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/advection/tests/advection_stencil_tests/test_face_val_ppm_stencil_01.py b/model/atmosphere/advection/tests/advection_stencil_tests/test_face_val_ppm_stencil_01.py index d839c95653..32beb66566 100644 --- a/model/atmosphere/advection/tests/advection_stencil_tests/test_face_val_ppm_stencil_01.py +++ b/model/atmosphere/advection/tests/advection_stencil_tests/test_face_val_ppm_stencil_01.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import numpy as np import pytest from gt4py.next import as_field diff --git a/model/atmosphere/advection/tests/advection_stencil_tests/test_face_val_ppm_stencil_02.py b/model/atmosphere/advection/tests/advection_stencil_tests/test_face_val_ppm_stencil_02.py index b9f27fb7fe..1eaf3deafb 100644 --- a/model/atmosphere/advection/tests/advection_stencil_tests/test_face_val_ppm_stencil_02.py +++ b/model/atmosphere/advection/tests/advection_stencil_tests/test_face_val_ppm_stencil_02.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/advection/tests/advection_stencil_tests/test_face_val_ppm_stencil_02a.py b/model/atmosphere/advection/tests/advection_stencil_tests/test_face_val_ppm_stencil_02a.py index 1979df22b2..9d4e08e395 100644 --- a/model/atmosphere/advection/tests/advection_stencil_tests/test_face_val_ppm_stencil_02a.py +++ b/model/atmosphere/advection/tests/advection_stencil_tests/test_face_val_ppm_stencil_02a.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import numpy as np import pytest diff --git a/model/atmosphere/advection/tests/advection_stencil_tests/test_face_val_ppm_stencil_02b.py b/model/atmosphere/advection/tests/advection_stencil_tests/test_face_val_ppm_stencil_02b.py index 1a0a540106..8d65caf463 100644 --- a/model/atmosphere/advection/tests/advection_stencil_tests/test_face_val_ppm_stencil_02b.py +++ b/model/atmosphere/advection/tests/advection_stencil_tests/test_face_val_ppm_stencil_02b.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/advection/tests/advection_stencil_tests/test_face_val_ppm_stencil_02c.py b/model/atmosphere/advection/tests/advection_stencil_tests/test_face_val_ppm_stencil_02c.py index bdc5529eaa..f74f512705 100644 --- a/model/atmosphere/advection/tests/advection_stencil_tests/test_face_val_ppm_stencil_02c.py +++ b/model/atmosphere/advection/tests/advection_stencil_tests/test_face_val_ppm_stencil_02c.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import numpy as np import pytest from gt4py.next.ffront.fbuiltins import int32 diff --git a/model/atmosphere/advection/tests/advection_stencil_tests/test_face_val_ppm_stencil_05.py b/model/atmosphere/advection/tests/advection_stencil_tests/test_face_val_ppm_stencil_05.py index 58967f0ccd..d9267535e9 100644 --- a/model/atmosphere/advection/tests/advection_stencil_tests/test_face_val_ppm_stencil_05.py +++ b/model/atmosphere/advection/tests/advection_stencil_tests/test_face_val_ppm_stencil_05.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/advection/tests/advection_stencil_tests/test_hflux_ffsl_hybrid_stencil_02.py b/model/atmosphere/advection/tests/advection_stencil_tests/test_hflux_ffsl_hybrid_stencil_02.py index 5c57bf79b9..a700712ae2 100644 --- a/model/atmosphere/advection/tests/advection_stencil_tests/test_hflux_ffsl_hybrid_stencil_02.py +++ b/model/atmosphere/advection/tests/advection_stencil_tests/test_hflux_ffsl_hybrid_stencil_02.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/advection/tests/advection_stencil_tests/test_hflx_limiter_mo_stencil_01b.py b/model/atmosphere/advection/tests/advection_stencil_tests/test_hflx_limiter_mo_stencil_01b.py index 70181f6105..82aa4e9d3e 100644 --- a/model/atmosphere/advection/tests/advection_stencil_tests/test_hflx_limiter_mo_stencil_01b.py +++ b/model/atmosphere/advection/tests/advection_stencil_tests/test_hflx_limiter_mo_stencil_01b.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/advection/tests/advection_stencil_tests/test_hflx_limiter_mo_stencil_02.py b/model/atmosphere/advection/tests/advection_stencil_tests/test_hflx_limiter_mo_stencil_02.py index 4925d83987..1e46a63450 100644 --- a/model/atmosphere/advection/tests/advection_stencil_tests/test_hflx_limiter_mo_stencil_02.py +++ b/model/atmosphere/advection/tests/advection_stencil_tests/test_hflx_limiter_mo_stencil_02.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import numpy as np import pytest from numpy import int32 diff --git a/model/atmosphere/advection/tests/advection_stencil_tests/test_hflx_limiter_pd_stencil_01.py b/model/atmosphere/advection/tests/advection_stencil_tests/test_hflx_limiter_pd_stencil_01.py index 9ebfe4692a..b94bfb8113 100644 --- a/model/atmosphere/advection/tests/advection_stencil_tests/test_hflx_limiter_pd_stencil_01.py +++ b/model/atmosphere/advection/tests/advection_stencil_tests/test_hflx_limiter_pd_stencil_01.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import numpy as np import pytest diff --git a/model/atmosphere/advection/tests/advection_stencil_tests/test_hor_adv_stencil_01.py b/model/atmosphere/advection/tests/advection_stencil_tests/test_hor_adv_stencil_01.py index b517a76c3c..2052a4718a 100644 --- a/model/atmosphere/advection/tests/advection_stencil_tests/test_hor_adv_stencil_01.py +++ b/model/atmosphere/advection/tests/advection_stencil_tests/test_hor_adv_stencil_01.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/advection/tests/advection_stencil_tests/test_init_zero_c_k.py b/model/atmosphere/advection/tests/advection_stencil_tests/test_init_zero_c_k.py index 0f0e3f5d74..b128ed285b 100644 --- a/model/atmosphere/advection/tests/advection_stencil_tests/test_init_zero_c_k.py +++ b/model/atmosphere/advection/tests/advection_stencil_tests/test_init_zero_c_k.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import pytest diff --git a/model/atmosphere/advection/tests/advection_stencil_tests/test_mo_advection_traj_btraj_compute_o1_dsl.py b/model/atmosphere/advection/tests/advection_stencil_tests/test_mo_advection_traj_btraj_compute_o1_dsl.py index 1fe3317303..2cf9d82508 100644 --- a/model/atmosphere/advection/tests/advection_stencil_tests/test_mo_advection_traj_btraj_compute_o1_dsl.py +++ b/model/atmosphere/advection/tests/advection_stencil_tests/test_mo_advection_traj_btraj_compute_o1_dsl.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/advection/tests/advection_stencil_tests/test_prep_gauss_quadrature_c_list_stencil.py b/model/atmosphere/advection/tests/advection_stencil_tests/test_prep_gauss_quadrature_c_list_stencil.py index 213712810a..bea6a5624f 100644 --- a/model/atmosphere/advection/tests/advection_stencil_tests/test_prep_gauss_quadrature_c_list_stencil.py +++ b/model/atmosphere/advection/tests/advection_stencil_tests/test_prep_gauss_quadrature_c_list_stencil.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/advection/tests/advection_stencil_tests/test_prep_gauss_quadrature_c_stencil.py b/model/atmosphere/advection/tests/advection_stencil_tests/test_prep_gauss_quadrature_c_stencil.py index a6b7b6b732..61e8be7484 100644 --- a/model/atmosphere/advection/tests/advection_stencil_tests/test_prep_gauss_quadrature_c_stencil.py +++ b/model/atmosphere/advection/tests/advection_stencil_tests/test_prep_gauss_quadrature_c_stencil.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/advection/tests/advection_stencil_tests/test_recon_lsq_cell_c_svd_stencil.py b/model/atmosphere/advection/tests/advection_stencil_tests/test_recon_lsq_cell_c_svd_stencil.py index c3c5bfec8c..4b5cd19a98 100644 --- a/model/atmosphere/advection/tests/advection_stencil_tests/test_recon_lsq_cell_c_svd_stencil.py +++ b/model/atmosphere/advection/tests/advection_stencil_tests/test_recon_lsq_cell_c_svd_stencil.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/advection/tests/advection_stencil_tests/test_step_advection_stencil_01.py b/model/atmosphere/advection/tests/advection_stencil_tests/test_step_advection_stencil_01.py index f45130e824..0bf54ea583 100644 --- a/model/atmosphere/advection/tests/advection_stencil_tests/test_step_advection_stencil_01.py +++ b/model/atmosphere/advection/tests/advection_stencil_tests/test_step_advection_stencil_01.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/advection/tests/advection_stencil_tests/test_step_advection_stencil_02.py b/model/atmosphere/advection/tests/advection_stencil_tests/test_step_advection_stencil_02.py index c34cd6f037..6e9407be61 100644 --- a/model/atmosphere/advection/tests/advection_stencil_tests/test_step_advection_stencil_02.py +++ b/model/atmosphere/advection/tests/advection_stencil_tests/test_step_advection_stencil_02.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/advection/tests/advection_stencil_tests/test_step_advection_stencil_03.py b/model/atmosphere/advection/tests/advection_stencil_tests/test_step_advection_stencil_03.py index 2e1f83ab08..90ba70147e 100644 --- a/model/atmosphere/advection/tests/advection_stencil_tests/test_step_advection_stencil_03.py +++ b/model/atmosphere/advection/tests/advection_stencil_tests/test_step_advection_stencil_03.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/advection/tests/advection_stencil_tests/test_step_advection_stencil_04.py b/model/atmosphere/advection/tests/advection_stencil_tests/test_step_advection_stencil_04.py index 6541824d3a..41c6de9c5d 100644 --- a/model/atmosphere/advection/tests/advection_stencil_tests/test_step_advection_stencil_04.py +++ b/model/atmosphere/advection/tests/advection_stencil_tests/test_step_advection_stencil_04.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/advection/tests/advection_stencil_tests/test_upwind_hflux_miura_cycl_stencil_02.py b/model/atmosphere/advection/tests/advection_stencil_tests/test_upwind_hflux_miura_cycl_stencil_02.py index 6ab98e75ae..ee3ee5734f 100644 --- a/model/atmosphere/advection/tests/advection_stencil_tests/test_upwind_hflux_miura_cycl_stencil_02.py +++ b/model/atmosphere/advection/tests/advection_stencil_tests/test_upwind_hflux_miura_cycl_stencil_02.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/advection/tests/advection_stencil_tests/test_upwind_hflux_miura_cycl_stencil_03a.py b/model/atmosphere/advection/tests/advection_stencil_tests/test_upwind_hflux_miura_cycl_stencil_03a.py index 8c1a99e509..b96a6c1bf8 100644 --- a/model/atmosphere/advection/tests/advection_stencil_tests/test_upwind_hflux_miura_cycl_stencil_03a.py +++ b/model/atmosphere/advection/tests/advection_stencil_tests/test_upwind_hflux_miura_cycl_stencil_03a.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/advection/tests/advection_stencil_tests/test_upwind_hflux_miura_cycl_stencil_03b.py b/model/atmosphere/advection/tests/advection_stencil_tests/test_upwind_hflux_miura_cycl_stencil_03b.py index 481fd93c84..6cca453a10 100644 --- a/model/atmosphere/advection/tests/advection_stencil_tests/test_upwind_hflux_miura_cycl_stencil_03b.py +++ b/model/atmosphere/advection/tests/advection_stencil_tests/test_upwind_hflux_miura_cycl_stencil_03b.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/advection/tests/advection_stencil_tests/test_upwind_hflux_miura_stencil_01.py b/model/atmosphere/advection/tests/advection_stencil_tests/test_upwind_hflux_miura_stencil_01.py index 185429af78..bf0c2952dd 100644 --- a/model/atmosphere/advection/tests/advection_stencil_tests/test_upwind_hflux_miura_stencil_01.py +++ b/model/atmosphere/advection/tests/advection_stencil_tests/test_upwind_hflux_miura_stencil_01.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/advection/tests/advection_stencil_tests/test_upwind_vflux_ppm_stencil_01.py b/model/atmosphere/advection/tests/advection_stencil_tests/test_upwind_vflux_ppm_stencil_01.py index a8f9c3303b..4afbcd479e 100644 --- a/model/atmosphere/advection/tests/advection_stencil_tests/test_upwind_vflux_ppm_stencil_01.py +++ b/model/atmosphere/advection/tests/advection_stencil_tests/test_upwind_vflux_ppm_stencil_01.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/advection/tests/advection_stencil_tests/test_vert_adv_stencil_01.py b/model/atmosphere/advection/tests/advection_stencil_tests/test_vert_adv_stencil_01.py index 2e8c75481e..4daa1ef7ff 100644 --- a/model/atmosphere/advection/tests/advection_stencil_tests/test_vert_adv_stencil_01.py +++ b/model/atmosphere/advection/tests/advection_stencil_tests/test_vert_adv_stencil_01.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/advection/tests/advection_stencil_tests/test_vlimit_prbl_sm_stencil_01.py b/model/atmosphere/advection/tests/advection_stencil_tests/test_vlimit_prbl_sm_stencil_01.py index 3474857e8d..47e7a69ad2 100644 --- a/model/atmosphere/advection/tests/advection_stencil_tests/test_vlimit_prbl_sm_stencil_01.py +++ b/model/atmosphere/advection/tests/advection_stencil_tests/test_vlimit_prbl_sm_stencil_01.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/advection/tests/advection_stencil_tests/test_vlimit_prbl_sm_stencil_02.py b/model/atmosphere/advection/tests/advection_stencil_tests/test_vlimit_prbl_sm_stencil_02.py index c85719d4ca..dabc2c44ae 100644 --- a/model/atmosphere/advection/tests/advection_stencil_tests/test_vlimit_prbl_sm_stencil_02.py +++ b/model/atmosphere/advection/tests/advection_stencil_tests/test_vlimit_prbl_sm_stencil_02.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/advection/tests/conftest.py b/model/atmosphere/advection/tests/conftest.py index 117381f373..58bea3684a 100644 --- a/model/atmosphere/advection/tests/conftest.py +++ b/model/atmosphere/advection/tests/conftest.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from icon4py.model.common.test_utils.grid_utils import ( # noqa : F401 # fixtures from test_utils grid, diff --git a/model/atmosphere/diffusion/.pre-commit-config.yaml b/model/atmosphere/diffusion/.pre-commit-config.yaml index 1054dcfc42..2eae14e37a 100644 --- a/model/atmosphere/diffusion/.pre-commit-config.yaml +++ b/model/atmosphere/diffusion/.pre-commit-config.yaml @@ -52,7 +52,7 @@ repos: types_or: [markdown, json] - repo: https://github.com/Lucas-C/pre-commit-hooks - rev: v1.3.0 + rev: v1.5.5 hooks: - id: insert-license name: add license for all ICON4Py Python source files diff --git a/model/atmosphere/diffusion/LICENSE b/model/atmosphere/diffusion/LICENSE new file mode 100644 index 0000000000..61241df23f --- /dev/null +++ b/model/atmosphere/diffusion/LICENSE @@ -0,0 +1,31 @@ + ICON4Py - ICON inspired code in Python and GT4Py + + Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss + 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. diff --git a/model/atmosphere/diffusion/pyproject.toml b/model/atmosphere/diffusion/pyproject.toml index cc70954c5e..6ffe27a21f 100644 --- a/model/atmosphere/diffusion/pyproject.toml +++ b/model/atmosphere/diffusion/pyproject.toml @@ -10,7 +10,7 @@ authors = [ classifiers = [ "Development Status :: 3 - Alpha", "Intended Audience :: Science/Research", - "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", + "License :: OSI Approved :: BSD License", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 3", diff --git a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/__init__.py b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/__init__.py index 49c96a94c7..9067bb0dad 100644 --- a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/__init__.py +++ b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/__init__.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from typing import Final @@ -25,9 +20,9 @@ ] -__author__: Final = "ETH Zurich and individual contributors" -__copyright__: Final = "Copyright (c) 2014-2022 ETH Zurich" -__license__: Final = "GPL-3.0-or-later" +__author__: Final = "ETH Zurich, MeteoSwiss and individual contributors" +__copyright__: Final = "Copyright (c) 2022-2024 ETH Zurich and MeteoSwiss" +__license__: Final = "BSD-3-Clause" __version__: Final = "0.0.6" diff --git a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/cached.py b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/cached.py index 30834c291d..fbed802f2e 100644 --- a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/cached.py +++ b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/cached.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from icon4py.model.atmosphere.diffusion.diffusion_utils import ( copy_field as copy_field_orig, diff --git a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/diffusion.py b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/diffusion.py index a6240f83be..c53c01bddd 100644 --- a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/diffusion.py +++ b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/diffusion.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import functools import logging import math diff --git a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/diffusion_states.py b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/diffusion_states.py index 9b46848334..4e94ea8561 100644 --- a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/diffusion_states.py +++ b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/diffusion_states.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import dataclasses import functools diff --git a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/diffusion_utils.py b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/diffusion_utils.py index 7b5c5b6501..02bfab4d74 100644 --- a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/diffusion_utils.py +++ b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/diffusion_utils.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from typing import Tuple import gt4py.next as gtx diff --git a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/__init__.py b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/__init__.py index 15dfdb0098..80b673df7e 100644 --- a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/__init__.py +++ b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/__init__.py @@ -1,12 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + diff --git a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/apply_diffusion_to_theta_and_exner.py b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/apply_diffusion_to_theta_and_exner.py index a63531c1a7..a70bd44220 100644 --- a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/apply_diffusion_to_theta_and_exner.py +++ b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/apply_diffusion_to_theta_and_exner.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/apply_diffusion_to_vn.py b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/apply_diffusion_to_vn.py index 4e8a9c5de3..e80d360dda 100644 --- a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/apply_diffusion_to_vn.py +++ b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/apply_diffusion_to_vn.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from gt4py.next import GridType from gt4py.next.ffront.decorator import field_operator, program from gt4py.next.ffront.fbuiltins import Field, int32, where diff --git a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/apply_diffusion_to_w_and_compute_horizontal_gradients_for_turbulence.py b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/apply_diffusion_to_w_and_compute_horizontal_gradients_for_turbulence.py index 1376f2921a..2918dc5e3a 100644 --- a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/apply_diffusion_to_w_and_compute_horizontal_gradients_for_turbulence.py +++ b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/apply_diffusion_to_w_and_compute_horizontal_gradients_for_turbulence.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/apply_nabla2_and_nabla4_global_to_vn.py b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/apply_nabla2_and_nabla4_global_to_vn.py index 77bf07b033..32417085d0 100644 --- a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/apply_nabla2_and_nabla4_global_to_vn.py +++ b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/apply_nabla2_and_nabla4_global_to_vn.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/apply_nabla2_and_nabla4_to_vn.py b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/apply_nabla2_and_nabla4_to_vn.py index ffd35572b8..23ff1c3610 100644 --- a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/apply_nabla2_and_nabla4_to_vn.py +++ b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/apply_nabla2_and_nabla4_to_vn.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program from gt4py.next.ffront.fbuiltins import astype, broadcast, int32, maximum diff --git a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/apply_nabla2_to_vn_in_lateral_boundary.py b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/apply_nabla2_to_vn_in_lateral_boundary.py index 51e14f6e23..5683cab37c 100644 --- a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/apply_nabla2_to_vn_in_lateral_boundary.py +++ b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/apply_nabla2_to_vn_in_lateral_boundary.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program from gt4py.next.ffront.fbuiltins import int32 diff --git a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/apply_nabla2_to_w.py b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/apply_nabla2_to_w.py index cd67dcac5b..3a4f05f1d8 100644 --- a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/apply_nabla2_to_w.py +++ b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/apply_nabla2_to_w.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/apply_nabla2_to_w_in_upper_damping_layer.py b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/apply_nabla2_to_w_in_upper_damping_layer.py index 8b8704c376..f58bf42f64 100644 --- a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/apply_nabla2_to_w_in_upper_damping_layer.py +++ b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/apply_nabla2_to_w_in_upper_damping_layer.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_diagnostic_quantities_for_turbulence.py b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_diagnostic_quantities_for_turbulence.py index 1ef8e0a206..b63de63d10 100644 --- a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_diagnostic_quantities_for_turbulence.py +++ b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_diagnostic_quantities_for_turbulence.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_diagnostics_for_turbulence.py b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_diagnostics_for_turbulence.py index 389e627ca6..b15f2402a6 100644 --- a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_diagnostics_for_turbulence.py +++ b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_diagnostics_for_turbulence.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_enhanced_diffusion_coefficients_for_grid_point_cold_pools.py b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_enhanced_diffusion_coefficients_for_grid_point_cold_pools.py index 59e502f470..96557e2dad 100644 --- a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_enhanced_diffusion_coefficients_for_grid_point_cold_pools.py +++ b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_enhanced_diffusion_coefficients_for_grid_point_cold_pools.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_horizontal_gradients_for_turbulence.py b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_horizontal_gradients_for_turbulence.py index f63f4c7bab..b90563968c 100644 --- a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_horizontal_gradients_for_turbulence.py +++ b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_horizontal_gradients_for_turbulence.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_nabla2_and_smag_coefficients_for_vn.py b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_nabla2_and_smag_coefficients_for_vn.py index 1e81b6bea9..0427d79cb0 100644 --- a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_nabla2_and_smag_coefficients_for_vn.py +++ b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_nabla2_and_smag_coefficients_for_vn.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_nabla2_for_theta.py b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_nabla2_for_theta.py index 4a8f45dc7c..9ab0c97bd6 100644 --- a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_nabla2_for_theta.py +++ b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_nabla2_for_theta.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_nabla2_for_w.py b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_nabla2_for_w.py index 7490882862..cc281c4d9c 100644 --- a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_nabla2_for_w.py +++ b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_nabla2_for_w.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_nabla2_for_z.py b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_nabla2_for_z.py index 6385c8a765..323d87acf2 100644 --- a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_nabla2_for_z.py +++ b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_nabla2_for_z.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_nabla2_of_theta.py b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_nabla2_of_theta.py index 7b543948f4..9d60216eb0 100644 --- a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_nabla2_of_theta.py +++ b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_nabla2_of_theta.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_nabla4.py b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_nabla4.py index 2f75427504..49e46ed10e 100644 --- a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_nabla4.py +++ b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/calculate_nabla4.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/enhance_diffusion_coefficient_for_grid_point_cold_pools.py b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/enhance_diffusion_coefficient_for_grid_point_cold_pools.py index c357d7c519..382b3739e8 100644 --- a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/enhance_diffusion_coefficient_for_grid_point_cold_pools.py +++ b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/enhance_diffusion_coefficient_for_grid_point_cold_pools.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/temporary_field_for_grid_point_cold_pools_enhancement.py b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/temporary_field_for_grid_point_cold_pools_enhancement.py index f67f149557..a7b773e0d1 100644 --- a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/temporary_field_for_grid_point_cold_pools_enhancement.py +++ b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/temporary_field_for_grid_point_cold_pools_enhancement.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/temporary_fields_for_turbulence_diagnostics.py b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/temporary_fields_for_turbulence_diagnostics.py index 645dde953a..06c4666a1d 100644 --- a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/temporary_fields_for_turbulence_diagnostics.py +++ b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/temporary_fields_for_turbulence_diagnostics.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/truly_horizontal_diffusion_nabla_of_theta_over_steep_points.py b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/truly_horizontal_diffusion_nabla_of_theta_over_steep_points.py index d4aa215cc2..b893f62344 100644 --- a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/truly_horizontal_diffusion_nabla_of_theta_over_steep_points.py +++ b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/truly_horizontal_diffusion_nabla_of_theta_over_steep_points.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/update_theta_and_exner.py b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/update_theta_and_exner.py index 39d88601a1..b65b966de6 100644 --- a/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/update_theta_and_exner.py +++ b/model/atmosphere/diffusion/src/icon4py/model/atmosphere/diffusion/stencils/update_theta_and_exner.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/diffusion/tests/conftest.py b/model/atmosphere/diffusion/tests/conftest.py index 117381f373..58bea3684a 100644 --- a/model/atmosphere/diffusion/tests/conftest.py +++ b/model/atmosphere/diffusion/tests/conftest.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from icon4py.model.common.test_utils.grid_utils import ( # noqa : F401 # fixtures from test_utils grid, diff --git a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/__init__.py b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/__init__.py index dab7089554..9067bb0dad 100644 --- a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/__init__.py +++ b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/__init__.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from typing import Final from packaging import version as pkg_version @@ -24,9 +20,9 @@ ] -__author__: Final = "ETH Zurich and individual contributors" -__copyright__: Final = "Copyright (c) 2014-2022 ETH Zurich" -__license__: Final = "GPL-3.0-or-later" +__author__: Final = "ETH Zurich, MeteoSwiss and individual contributors" +__copyright__: Final = "Copyright (c) 2022-2024 ETH Zurich and MeteoSwiss" +__license__: Final = "BSD-3-Clause" __version__: Final = "0.0.6" diff --git a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_apply_diffusion_to_theta_and_exner.py b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_apply_diffusion_to_theta_and_exner.py index 8733253480..79a5753ad4 100644 --- a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_apply_diffusion_to_theta_and_exner.py +++ b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_apply_diffusion_to_theta_and_exner.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_apply_diffusion_to_vn.py b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_apply_diffusion_to_vn.py index 66abadda7f..8ef1b47d11 100644 --- a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_apply_diffusion_to_vn.py +++ b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_apply_diffusion_to_vn.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_apply_diffusion_to_w_and_compute_horizontal_gradients_for_turbulence.py b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_apply_diffusion_to_w_and_compute_horizontal_gradients_for_turbulence.py index 7e4ab3395a..0c72a4b4be 100644 --- a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_apply_diffusion_to_w_and_compute_horizontal_gradients_for_turbulence.py +++ b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_apply_diffusion_to_w_and_compute_horizontal_gradients_for_turbulence.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_apply_nabla2_and_nabla4_global_to_vn.py b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_apply_nabla2_and_nabla4_global_to_vn.py index 5709b4cfbf..ce32a42a53 100644 --- a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_apply_nabla2_and_nabla4_global_to_vn.py +++ b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_apply_nabla2_and_nabla4_global_to_vn.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_apply_nabla2_and_nabla4_to_vn.py b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_apply_nabla2_and_nabla4_to_vn.py index 7a3e550d2a..635af30152 100644 --- a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_apply_nabla2_and_nabla4_to_vn.py +++ b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_apply_nabla2_and_nabla4_to_vn.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_apply_nabla2_to_vn_in_lateral_boundary.py b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_apply_nabla2_to_vn_in_lateral_boundary.py index 684db54dcd..c9c81dcd41 100644 --- a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_apply_nabla2_to_vn_in_lateral_boundary.py +++ b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_apply_nabla2_to_vn_in_lateral_boundary.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_apply_nabla2_to_w.py b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_apply_nabla2_to_w.py index a1f2c0a9dc..ef42f4492e 100644 --- a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_apply_nabla2_to_w.py +++ b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_apply_nabla2_to_w.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_apply_nabla2_to_w_in_upper_damping_layer.py b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_apply_nabla2_to_w_in_upper_damping_layer.py index 4eec90119c..58ef6260b6 100644 --- a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_apply_nabla2_to_w_in_upper_damping_layer.py +++ b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_apply_nabla2_to_w_in_upper_damping_layer.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_calculate_diagnostics_for_turbulence.py b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_calculate_diagnostics_for_turbulence.py index 8a7d9d0568..b89df2a88b 100644 --- a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_calculate_diagnostics_for_turbulence.py +++ b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_calculate_diagnostics_for_turbulence.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_calculate_horizontal_gradients_for_turbulence.py b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_calculate_horizontal_gradients_for_turbulence.py index b0403b63a0..d4f6695b1d 100644 --- a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_calculate_horizontal_gradients_for_turbulence.py +++ b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_calculate_horizontal_gradients_for_turbulence.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_calculate_nabla2_and_smag_coefficients_for_vn.py b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_calculate_nabla2_and_smag_coefficients_for_vn.py index deecd71c27..f512a5c866 100644 --- a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_calculate_nabla2_and_smag_coefficients_for_vn.py +++ b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_calculate_nabla2_and_smag_coefficients_for_vn.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_calculate_nabla2_for_w.py b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_calculate_nabla2_for_w.py index cf04ca3305..ab2a3ee9fc 100644 --- a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_calculate_nabla2_for_w.py +++ b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_calculate_nabla2_for_w.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_calculate_nabla2_for_z.py b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_calculate_nabla2_for_z.py index 26001d74dc..0e84bee31b 100644 --- a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_calculate_nabla2_for_z.py +++ b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_calculate_nabla2_for_z.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_calculate_nabla2_of_theta.py b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_calculate_nabla2_of_theta.py index 75e72ddc65..8c9c760086 100644 --- a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_calculate_nabla2_of_theta.py +++ b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_calculate_nabla2_of_theta.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_calculate_nabla4.py b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_calculate_nabla4.py index bdf348e658..9acb9ac73b 100644 --- a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_calculate_nabla4.py +++ b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_calculate_nabla4.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_enhance_diffusion_coefficient_for_grid_point_cold_pools.py b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_enhance_diffusion_coefficient_for_grid_point_cold_pools.py index 130bd27eb8..415618f441 100644 --- a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_enhance_diffusion_coefficient_for_grid_point_cold_pools.py +++ b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_enhance_diffusion_coefficient_for_grid_point_cold_pools.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import math import numpy as np diff --git a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_temporary_field_for_grid_point_cold_pools_enhancement.py b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_temporary_field_for_grid_point_cold_pools_enhancement.py index a04c4b1583..631d025864 100644 --- a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_temporary_field_for_grid_point_cold_pools_enhancement.py +++ b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_temporary_field_for_grid_point_cold_pools_enhancement.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_temporary_fields_for_turbulence_diagnostics.py b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_temporary_fields_for_turbulence_diagnostics.py index bcfd669274..c90e197358 100644 --- a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_temporary_fields_for_turbulence_diagnostics.py +++ b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_temporary_fields_for_turbulence_diagnostics.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_truly_horizontal_diffusion_nabla_of_theta_over_steep_points.py b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_truly_horizontal_diffusion_nabla_of_theta_over_steep_points.py index b44124de7a..8040d2c663 100644 --- a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_truly_horizontal_diffusion_nabla_of_theta_over_steep_points.py +++ b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_truly_horizontal_diffusion_nabla_of_theta_over_steep_points.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_update_theta_and_exner.py b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_update_theta_and_exner.py index fda2e05221..6a4a34bab9 100644 --- a/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_update_theta_and_exner.py +++ b/model/atmosphere/diffusion/tests/diffusion_stencil_tests/test_update_theta_and_exner.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/diffusion/tests/diffusion_tests/__init__.py b/model/atmosphere/diffusion/tests/diffusion_tests/__init__.py index 15dfdb0098..80b673df7e 100644 --- a/model/atmosphere/diffusion/tests/diffusion_tests/__init__.py +++ b/model/atmosphere/diffusion/tests/diffusion_tests/__init__.py @@ -1,12 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + diff --git a/model/atmosphere/diffusion/tests/diffusion_tests/conftest.py b/model/atmosphere/diffusion/tests/diffusion_tests/conftest.py index 64636d2298..9e5275a059 100644 --- a/model/atmosphere/diffusion/tests/diffusion_tests/conftest.py +++ b/model/atmosphere/diffusion/tests/diffusion_tests/conftest.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import pytest diff --git a/model/atmosphere/diffusion/tests/diffusion_tests/mpi_tests/__init__.py b/model/atmosphere/diffusion/tests/diffusion_tests/mpi_tests/__init__.py index 15dfdb0098..80b673df7e 100644 --- a/model/atmosphere/diffusion/tests/diffusion_tests/mpi_tests/__init__.py +++ b/model/atmosphere/diffusion/tests/diffusion_tests/mpi_tests/__init__.py @@ -1,12 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + diff --git a/model/atmosphere/diffusion/tests/diffusion_tests/mpi_tests/test_parallel_diffusion.py b/model/atmosphere/diffusion/tests/diffusion_tests/mpi_tests/test_parallel_diffusion.py index 340f65b579..4159ab11d6 100644 --- a/model/atmosphere/diffusion/tests/diffusion_tests/mpi_tests/test_parallel_diffusion.py +++ b/model/atmosphere/diffusion/tests/diffusion_tests/mpi_tests/test_parallel_diffusion.py @@ -1,16 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later - +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import pytest diff --git a/model/atmosphere/diffusion/tests/diffusion_tests/test_diffusion.py b/model/atmosphere/diffusion/tests/diffusion_tests/test_diffusion.py index 2527a352f1..489d67d274 100644 --- a/model/atmosphere/diffusion/tests/diffusion_tests/test_diffusion.py +++ b/model/atmosphere/diffusion/tests/diffusion_tests/test_diffusion.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/diffusion/tests/diffusion_tests/test_diffusion_states.py b/model/atmosphere/diffusion/tests/diffusion_tests/test_diffusion_states.py index ebbabe38eb..15f8f3392e 100644 --- a/model/atmosphere/diffusion/tests/diffusion_tests/test_diffusion_states.py +++ b/model/atmosphere/diffusion/tests/diffusion_tests/test_diffusion_states.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/diffusion/tests/diffusion_tests/test_diffusion_utils.py b/model/atmosphere/diffusion/tests/diffusion_tests/test_diffusion_utils.py index 66a12af803..7a72d44c25 100644 --- a/model/atmosphere/diffusion/tests/diffusion_tests/test_diffusion_utils.py +++ b/model/atmosphere/diffusion/tests/diffusion_tests/test_diffusion_utils.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/diffusion/tests/diffusion_tests/utils.py b/model/atmosphere/diffusion/tests/diffusion_tests/utils.py index d39aa49e40..bf16ecda70 100644 --- a/model/atmosphere/diffusion/tests/diffusion_tests/utils.py +++ b/model/atmosphere/diffusion/tests/diffusion_tests/utils.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np diff --git a/model/atmosphere/dycore/.pre-commit-config.yaml b/model/atmosphere/dycore/.pre-commit-config.yaml index b94d27ec2f..397ce3865b 100644 --- a/model/atmosphere/dycore/.pre-commit-config.yaml +++ b/model/atmosphere/dycore/.pre-commit-config.yaml @@ -52,7 +52,7 @@ repos: types_or: [markdown, json] - repo: https://github.com/Lucas-C/pre-commit-hooks - rev: v1.3.0 + rev: v1.5.5 hooks: - id: insert-license name: add license for all ICON4Py Python source files diff --git a/model/atmosphere/dycore/LICENSE b/model/atmosphere/dycore/LICENSE new file mode 100644 index 0000000000..61241df23f --- /dev/null +++ b/model/atmosphere/dycore/LICENSE @@ -0,0 +1,31 @@ + ICON4Py - ICON inspired code in Python and GT4Py + + Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss + 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. diff --git a/model/atmosphere/dycore/pyproject.toml b/model/atmosphere/dycore/pyproject.toml index c51d649726..138a0ace6f 100644 --- a/model/atmosphere/dycore/pyproject.toml +++ b/model/atmosphere/dycore/pyproject.toml @@ -10,7 +10,7 @@ authors = [ classifiers = [ "Development Status :: 3 - Alpha", "Intended Audience :: Science/Research", - "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", + "License :: OSI Approved :: BSD License", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 3", diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/__init__.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/__init__.py index dab7089554..9067bb0dad 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/__init__.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/__init__.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from typing import Final from packaging import version as pkg_version @@ -24,9 +20,9 @@ ] -__author__: Final = "ETH Zurich and individual contributors" -__copyright__: Final = "Copyright (c) 2014-2022 ETH Zurich" -__license__: Final = "GPL-3.0-or-later" +__author__: Final = "ETH Zurich, MeteoSwiss and individual contributors" +__copyright__: Final = "Copyright (c) 2022-2024 ETH Zurich and MeteoSwiss" +__license__: Final = "BSD-3-Clause" __version__: Final = "0.0.6" diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/accumulate_prep_adv_fields.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/accumulate_prep_adv_fields.py index f1f3e6462b..8adbe33d98 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/accumulate_prep_adv_fields.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/accumulate_prep_adv_fields.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/add_analysis_increments_from_data_assimilation.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/add_analysis_increments_from_data_assimilation.py index 45bd9edc4b..40c1d567a5 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/add_analysis_increments_from_data_assimilation.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/add_analysis_increments_from_data_assimilation.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/add_analysis_increments_to_vn.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/add_analysis_increments_to_vn.py index 42a7ada88b..e3dc585f7e 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/add_analysis_increments_to_vn.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/add_analysis_increments_to_vn.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/add_extra_diffusion_for_normal_wind_tendency_approaching_cfl.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/add_extra_diffusion_for_normal_wind_tendency_approaching_cfl.py index 576c99c090..c8fef67e28 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/add_extra_diffusion_for_normal_wind_tendency_approaching_cfl.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/add_extra_diffusion_for_normal_wind_tendency_approaching_cfl.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/add_extra_diffusion_for_w_con_approaching_cfl.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/add_extra_diffusion_for_w_con_approaching_cfl.py index 357886d60a..5109df3414 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/add_extra_diffusion_for_w_con_approaching_cfl.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/add_extra_diffusion_for_w_con_approaching_cfl.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/add_interpolated_horizontal_advection_of_w.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/add_interpolated_horizontal_advection_of_w.py index c9fab408b5..73a2bcb10c 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/add_interpolated_horizontal_advection_of_w.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/add_interpolated_horizontal_advection_of_w.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/add_temporal_tendencies_to_vn.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/add_temporal_tendencies_to_vn.py index 5ddbc84d9a..05c8392258 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/add_temporal_tendencies_to_vn.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/add_temporal_tendencies_to_vn.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/add_temporal_tendencies_to_vn_by_interpolating_between_time_levels.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/add_temporal_tendencies_to_vn_by_interpolating_between_time_levels.py index 6a3f47800d..f98324080a 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/add_temporal_tendencies_to_vn_by_interpolating_between_time_levels.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/add_temporal_tendencies_to_vn_by_interpolating_between_time_levels.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/add_vertical_wind_derivative_to_divergence_damping.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/add_vertical_wind_derivative_to_divergence_damping.py index 36d9a66338..4fb9db3d5d 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/add_vertical_wind_derivative_to_divergence_damping.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/add_vertical_wind_derivative_to_divergence_damping.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/apply_2nd_order_divergence_damping.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/apply_2nd_order_divergence_damping.py index 005210077d..1bdaa52531 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/apply_2nd_order_divergence_damping.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/apply_2nd_order_divergence_damping.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/apply_4th_order_divergence_damping.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/apply_4th_order_divergence_damping.py index 910535e5c9..2b14647f1a 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/apply_4th_order_divergence_damping.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/apply_4th_order_divergence_damping.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/apply_hydrostatic_correction_to_horizontal_gradient_of_exner_pressure.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/apply_hydrostatic_correction_to_horizontal_gradient_of_exner_pressure.py index bbd5a9916a..69c30aa459 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/apply_hydrostatic_correction_to_horizontal_gradient_of_exner_pressure.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/apply_hydrostatic_correction_to_horizontal_gradient_of_exner_pressure.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/apply_rayleigh_damping_mechanism.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/apply_rayleigh_damping_mechanism.py index aff07fc337..15fc4c8427 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/apply_rayleigh_damping_mechanism.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/apply_rayleigh_damping_mechanism.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/apply_weighted_2nd_and_4th_order_divergence_damping.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/apply_weighted_2nd_and_4th_order_divergence_damping.py index b7e54f32ef..b3e95da035 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/apply_weighted_2nd_and_4th_order_divergence_damping.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/apply_weighted_2nd_and_4th_order_divergence_damping.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_advective_normal_wind_tendency.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_advective_normal_wind_tendency.py index dc0920cdfd..9ca9e77d79 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_advective_normal_wind_tendency.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_advective_normal_wind_tendency.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_advective_vertical_wind_tendency.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_advective_vertical_wind_tendency.py index 33751438f9..81965dce88 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_advective_vertical_wind_tendency.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_advective_vertical_wind_tendency.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_airmass.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_airmass.py index 59501cc6ca..97a7ad5206 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_airmass.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_airmass.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from gt4py.next import GridType from gt4py.next.ffront.decorator import field_operator, program from gt4py.next.ffront.fbuiltins import int32 diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_approx_of_2nd_vertical_derivative_of_exner.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_approx_of_2nd_vertical_derivative_of_exner.py index f62be3d41b..a211ddc034 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_approx_of_2nd_vertical_derivative_of_exner.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_approx_of_2nd_vertical_derivative_of_exner.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_avg_vn.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_avg_vn.py index ed2fdc60d6..56c50eab17 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_avg_vn.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_avg_vn.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_avg_vn_and_graddiv_vn_and_vt.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_avg_vn_and_graddiv_vn_and_vt.py index ba06cf7ffe..184181de51 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_avg_vn_and_graddiv_vn_and_vt.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_avg_vn_and_graddiv_vn_and_vt.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_contravariant_correction.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_contravariant_correction.py index e58ce5d053..c0238ccee8 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_contravariant_correction.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_contravariant_correction.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_contravariant_correction_of_w.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_contravariant_correction_of_w.py index e214943b32..f23bfdf28d 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_contravariant_correction_of_w.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_contravariant_correction_of_w.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_contravariant_correction_of_w_for_lower_boundary.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_contravariant_correction_of_w_for_lower_boundary.py index 60a584305c..3b0d2f49bc 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_contravariant_correction_of_w_for_lower_boundary.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_contravariant_correction_of_w_for_lower_boundary.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_divergence_of_fluxes_of_rho_and_theta.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_divergence_of_fluxes_of_rho_and_theta.py index dabfddc8da..3b2d9b0949 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_divergence_of_fluxes_of_rho_and_theta.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_divergence_of_fluxes_of_rho_and_theta.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_dwdz_for_divergence_damping.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_dwdz_for_divergence_damping.py index e888b67e2b..b25837d12d 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_dwdz_for_divergence_damping.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_dwdz_for_divergence_damping.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_exner_from_rhotheta.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_exner_from_rhotheta.py index d6f7691ba7..07bb2b76d9 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_exner_from_rhotheta.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_exner_from_rhotheta.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_explicit_part_for_rho_and_exner.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_explicit_part_for_rho_and_exner.py index f59a12a7c6..e184c42e2a 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_explicit_part_for_rho_and_exner.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_explicit_part_for_rho_and_exner.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_explicit_vertical_wind_from_advection_and_vertical_wind_density.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_explicit_vertical_wind_from_advection_and_vertical_wind_density.py index 674255b10f..ff9313dcaa 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_explicit_vertical_wind_from_advection_and_vertical_wind_density.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_explicit_vertical_wind_from_advection_and_vertical_wind_density.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_explicit_vertical_wind_speed_and_vertical_wind_times_density.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_explicit_vertical_wind_speed_and_vertical_wind_times_density.py index e5c6c247e6..1d988affc2 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_explicit_vertical_wind_speed_and_vertical_wind_times_density.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_explicit_vertical_wind_speed_and_vertical_wind_times_density.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_first_vertical_derivative.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_first_vertical_derivative.py index a5d47d79a9..05f739e2e1 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_first_vertical_derivative.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_first_vertical_derivative.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_graddiv2_of_vn.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_graddiv2_of_vn.py index 3eb126f852..0c8e6d3048 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_graddiv2_of_vn.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_graddiv2_of_vn.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_horizontal_advection_of_rho_and_theta.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_horizontal_advection_of_rho_and_theta.py index 4c14bd0793..e3e2c5004c 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_horizontal_advection_of_rho_and_theta.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_horizontal_advection_of_rho_and_theta.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_horizontal_advection_term_for_vertical_velocity.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_horizontal_advection_term_for_vertical_velocity.py index b90d453693..958b1a37c7 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_horizontal_advection_term_for_vertical_velocity.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_horizontal_advection_term_for_vertical_velocity.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_horizontal_gradient_of_exner_pressure_for_flat_coordinates.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_horizontal_gradient_of_exner_pressure_for_flat_coordinates.py index 352fa3bf2b..6b2a934020 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_horizontal_gradient_of_exner_pressure_for_flat_coordinates.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_horizontal_gradient_of_exner_pressure_for_flat_coordinates.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_horizontal_gradient_of_exner_pressure_for_multiple_levels.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_horizontal_gradient_of_exner_pressure_for_multiple_levels.py index 56a65bb6f9..b8f7f0e1c6 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_horizontal_gradient_of_exner_pressure_for_multiple_levels.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_horizontal_gradient_of_exner_pressure_for_multiple_levels.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_horizontal_gradient_of_exner_pressure_for_nonflat_coordinates.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_horizontal_gradient_of_exner_pressure_for_nonflat_coordinates.py index 0b036357ca..ccbe766817 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_horizontal_gradient_of_exner_pressure_for_nonflat_coordinates.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_horizontal_gradient_of_exner_pressure_for_nonflat_coordinates.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_horizontal_kinetic_energy.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_horizontal_kinetic_energy.py index 8d05d32ce1..8ac83ce7be 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_horizontal_kinetic_energy.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_horizontal_kinetic_energy.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_hydrostatic_correction_term.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_hydrostatic_correction_term.py index 8c0e233756..cff2fb927c 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_hydrostatic_correction_term.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_hydrostatic_correction_term.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_mass_flux.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_mass_flux.py index beb0d8b3b0..4e938cec0b 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_mass_flux.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_mass_flux.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_maximum_cfl_and_clip_contravariant_vertical_velocity.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_maximum_cfl_and_clip_contravariant_vertical_velocity.py index fb97e80fa1..c0442f96eb 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_maximum_cfl_and_clip_contravariant_vertical_velocity.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_maximum_cfl_and_clip_contravariant_vertical_velocity.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_perturbation_of_rho_and_theta.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_perturbation_of_rho_and_theta.py index 7dd68ba55b..3ce7c0b380 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_perturbation_of_rho_and_theta.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_perturbation_of_rho_and_theta.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_perturbation_of_rho_and_theta_and_rho_interface_cell_centers.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_perturbation_of_rho_and_theta_and_rho_interface_cell_centers.py index 60103a12ef..03c1cf47b6 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_perturbation_of_rho_and_theta_and_rho_interface_cell_centers.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_perturbation_of_rho_and_theta_and_rho_interface_cell_centers.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_results_for_thermodynamic_variables.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_results_for_thermodynamic_variables.py index 2e9bb91d13..27803d4862 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_results_for_thermodynamic_variables.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_results_for_thermodynamic_variables.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_rho_virtual_potential_temperatures_and_pressure_gradient.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_rho_virtual_potential_temperatures_and_pressure_gradient.py index d6ce8167a4..8c0846c03b 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_rho_virtual_potential_temperatures_and_pressure_gradient.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_rho_virtual_potential_temperatures_and_pressure_gradient.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_solver_coefficients_matrix.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_solver_coefficients_matrix.py index 4db29b9bd7..7c9054c0d9 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_solver_coefficients_matrix.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_solver_coefficients_matrix.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_tangential_wind.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_tangential_wind.py index 6e9f7da242..d869d1a152 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_tangential_wind.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_tangential_wind.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_theta_and_exner.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_theta_and_exner.py index 6ca681989b..9c8e912a90 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_theta_and_exner.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_theta_and_exner.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_virtual_potential_temperatures_and_pressure_gradient.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_virtual_potential_temperatures_and_pressure_gradient.py index 6c1ab8422f..f756200d23 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_virtual_potential_temperatures_and_pressure_gradient.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_virtual_potential_temperatures_and_pressure_gradient.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_vn_on_lateral_boundary.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_vn_on_lateral_boundary.py index 26cca2e136..c6f2e1b55b 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_vn_on_lateral_boundary.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/compute_vn_on_lateral_boundary.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/copy_cell_kdim_field_to_vp.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/copy_cell_kdim_field_to_vp.py index 7a772cf18f..2c1f0ce0af 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/copy_cell_kdim_field_to_vp.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/copy_cell_kdim_field_to_vp.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/correct_contravariant_vertical_velocity.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/correct_contravariant_vertical_velocity.py index 22afc7ea36..da13a29e37 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/correct_contravariant_vertical_velocity.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/correct_contravariant_vertical_velocity.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/extrapolate_at_top.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/extrapolate_at_top.py index 70dc02cbeb..e6bc66c4eb 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/extrapolate_at_top.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/extrapolate_at_top.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/extrapolate_temporally_exner_pressure.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/extrapolate_temporally_exner_pressure.py index 2789110d89..0e32e97a85 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/extrapolate_temporally_exner_pressure.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/extrapolate_temporally_exner_pressure.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program from gt4py.next.ffront.fbuiltins import astype, int32 diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/fused_solve_nonhydro_stencil_39_40.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/fused_solve_nonhydro_stencil_39_40.py index 6cf6d0312e..fdf7c38996 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/fused_solve_nonhydro_stencil_39_40.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/fused_solve_nonhydro_stencil_39_40.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.ffront.decorator import GridType, field_operator, program from gt4py.next.ffront.fbuiltins import Field, int32, where diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/fused_velocity_advection_stencil_15_to_18.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/fused_velocity_advection_stencil_15_to_18.py index fe3b024f8a..5b38505140 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/fused_velocity_advection_stencil_15_to_18.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/fused_velocity_advection_stencil_15_to_18.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from gt4py.next.common import Field, GridType from gt4py.next.ffront.decorator import field_operator, program from gt4py.next.ffront.fbuiltins import broadcast, int32, maximum, where diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/fused_velocity_advection_stencil_19_to_20.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/fused_velocity_advection_stencil_19_to_20.py index 5529852dd4..cd4d88aaf9 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/fused_velocity_advection_stencil_19_to_20.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/fused_velocity_advection_stencil_19_to_20.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from gt4py.next.common import Field, GridType from gt4py.next.ffront.decorator import field_operator, program from gt4py.next.ffront.fbuiltins import int32, maximum, where diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/fused_velocity_advection_stencil_1_to_7.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/fused_velocity_advection_stencil_1_to_7.py index 09b271ff73..68949d5da0 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/fused_velocity_advection_stencil_1_to_7.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/fused_velocity_advection_stencil_1_to_7.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from gt4py.next.common import Field, GridType from gt4py.next.ffront.decorator import field_operator, program from gt4py.next.ffront.fbuiltins import broadcast, int32, where diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/fused_velocity_advection_stencil_8_to_13.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/fused_velocity_advection_stencil_8_to_13.py index 99972b624d..1f99aaf06c 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/fused_velocity_advection_stencil_8_to_13.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/fused_velocity_advection_stencil_8_to_13.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from gt4py.next.common import Field, GridType from gt4py.next.ffront.decorator import field_operator, program from gt4py.next.ffront.fbuiltins import int32, where diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/fused_velocity_advection_stencil_8_to_14.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/fused_velocity_advection_stencil_8_to_14.py index 13e5511466..e91c60e882 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/fused_velocity_advection_stencil_8_to_14.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/fused_velocity_advection_stencil_8_to_14.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from gt4py.next.common import Field, GridType from gt4py.next.ffront.decorator import field_operator, program from gt4py.next.ffront.fbuiltins import int32, maximum, where diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/init_cell_kdim_field_with_zero_vp.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/init_cell_kdim_field_with_zero_vp.py index 9ef8a29ba3..3630df3b89 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/init_cell_kdim_field_with_zero_vp.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/init_cell_kdim_field_with_zero_vp.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/init_cell_kdim_field_with_zero_wp.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/init_cell_kdim_field_with_zero_wp.py index e3646dd61a..97fd999dfd 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/init_cell_kdim_field_with_zero_wp.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/init_cell_kdim_field_with_zero_wp.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/init_exner_pr.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/init_exner_pr.py index 02d953a3e7..c5f94683d7 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/init_exner_pr.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/init_exner_pr.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/init_two_cell_kdim_fields_index_with_zero_vp.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/init_two_cell_kdim_fields_index_with_zero_vp.py index 0ddd140be2..15b8858ca2 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/init_two_cell_kdim_fields_index_with_zero_vp.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/init_two_cell_kdim_fields_index_with_zero_vp.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/init_two_cell_kdim_fields_with_zero_vp.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/init_two_cell_kdim_fields_with_zero_vp.py index 9c57d0af61..732d32d627 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/init_two_cell_kdim_fields_with_zero_vp.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/init_two_cell_kdim_fields_with_zero_vp.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/init_two_cell_kdim_fields_with_zero_wp.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/init_two_cell_kdim_fields_with_zero_wp.py index 5d094322d8..bb81ceb1ad 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/init_two_cell_kdim_fields_with_zero_wp.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/init_two_cell_kdim_fields_with_zero_wp.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/init_two_edge_kdim_fields_with_zero_wp.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/init_two_edge_kdim_fields_with_zero_wp.py index 9f60cc59f1..29a59be82e 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/init_two_edge_kdim_fields_with_zero_wp.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/init_two_edge_kdim_fields_with_zero_wp.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/interpolate_contravariant_vertical_velocity_to_full_levels.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/interpolate_contravariant_vertical_velocity_to_full_levels.py index a4ebfb61af..3fc408c211 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/interpolate_contravariant_vertical_velocity_to_full_levels.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/interpolate_contravariant_vertical_velocity_to_full_levels.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/interpolate_to_cell_center.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/interpolate_to_cell_center.py index 54e489a3bb..b98c70babd 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/interpolate_to_cell_center.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/interpolate_to_cell_center.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/interpolate_to_half_levels_vp.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/interpolate_to_half_levels_vp.py index c973c232f0..f208576fff 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/interpolate_to_half_levels_vp.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/interpolate_to_half_levels_vp.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/interpolate_to_surface.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/interpolate_to_surface.py index 76c1db27e2..9d1eb61776 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/interpolate_to_surface.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/interpolate_to_surface.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/interpolate_vn_and_vt_to_ie_and_compute_ekin_on_edges.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/interpolate_vn_and_vt_to_ie_and_compute_ekin_on_edges.py index 0dfef10f13..bac4ea5fdc 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/interpolate_vn_and_vt_to_ie_and_compute_ekin_on_edges.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/interpolate_vn_and_vt_to_ie_and_compute_ekin_on_edges.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/interpolate_vn_to_ie_and_compute_ekin_on_edges.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/interpolate_vn_to_ie_and_compute_ekin_on_edges.py index fd6745e645..3d9d494d98 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/interpolate_vn_to_ie_and_compute_ekin_on_edges.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/interpolate_vn_to_ie_and_compute_ekin_on_edges.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/interpolate_vt_to_interface_edges.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/interpolate_vt_to_interface_edges.py index e327fe1cf5..164d8c9888 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/interpolate_vt_to_interface_edges.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/interpolate_vt_to_interface_edges.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/mo_icon_interpolation_scalar_cells2verts_scalar_ri_dsl.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/mo_icon_interpolation_scalar_cells2verts_scalar_ri_dsl.py index cb2d6bb18e..59f88a9ef6 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/mo_icon_interpolation_scalar_cells2verts_scalar_ri_dsl.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/mo_icon_interpolation_scalar_cells2verts_scalar_ri_dsl.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/mo_math_divrot_rot_vertex_ri_dsl.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/mo_math_divrot_rot_vertex_ri_dsl.py index 4ba972dc0e..d67ad43dea 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/mo_math_divrot_rot_vertex_ri_dsl.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/mo_math_divrot_rot_vertex_ri_dsl.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/mo_math_gradients_grad_green_gauss_cell_dsl.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/mo_math_gradients_grad_green_gauss_cell_dsl.py index f8624aac72..85f164ed02 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/mo_math_gradients_grad_green_gauss_cell_dsl.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/mo_math_gradients_grad_green_gauss_cell_dsl.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/mo_solve_nonhydro_stencil_51.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/mo_solve_nonhydro_stencil_51.py index 31d0572c1d..d0c49ffb5a 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/mo_solve_nonhydro_stencil_51.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/mo_solve_nonhydro_stencil_51.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/nh_solve/solve_nonhydro.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/nh_solve/solve_nonhydro.py index 6aaed0428e..d96b4a9f27 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/nh_solve/solve_nonhydro.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/nh_solve/solve_nonhydro.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import logging import dataclasses from typing import Final, Optional diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/nh_solve/solve_nonhydro_program.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/nh_solve/solve_nonhydro_program.py index 61e770a2a4..a33cf12951 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/nh_solve/solve_nonhydro_program.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/nh_solve/solve_nonhydro_program.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import gt4py.next as gtx from gt4py.next.ffront.fbuiltins import where diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/set_lower_boundary_condition_for_w_and_contravariant_correction.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/set_lower_boundary_condition_for_w_and_contravariant_correction.py index 999891b8e1..92cb7b155d 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/set_lower_boundary_condition_for_w_and_contravariant_correction.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/set_lower_boundary_condition_for_w_and_contravariant_correction.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/set_theta_v_prime_ic_at_lower_boundary.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/set_theta_v_prime_ic_at_lower_boundary.py index 0bb6e9f0e3..c09b5b5ec2 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/set_theta_v_prime_ic_at_lower_boundary.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/set_theta_v_prime_ic_at_lower_boundary.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/solve_tridiagonal_matrix_for_w_back_substitution.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/solve_tridiagonal_matrix_for_w_back_substitution.py index 08b38a42bb..6d81dd8914 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/solve_tridiagonal_matrix_for_w_back_substitution.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/solve_tridiagonal_matrix_for_w_back_substitution.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import program, scan_operator diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/solve_tridiagonal_matrix_for_w_forward_sweep.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/solve_tridiagonal_matrix_for_w_forward_sweep.py index e73499f8b7..73bdb6c034 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/solve_tridiagonal_matrix_for_w_forward_sweep.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/solve_tridiagonal_matrix_for_w_forward_sweep.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program, scan_operator diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/state_utils/states.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/state_utils/states.py index 0b50b1c765..873c52ef39 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/state_utils/states.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/state_utils/states.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import dataclasses import gt4py.next as gtx diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/state_utils/utils.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/state_utils/utils.py index 3510132dda..e527c2bfc6 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/state_utils/utils.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/state_utils/utils.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import gt4py.next as gtx from gt4py.next.ffront.fbuiltins import ( diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/update_density_exner_wind.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/update_density_exner_wind.py index 37f206aadb..799e6c51d7 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/update_density_exner_wind.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/update_density_exner_wind.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/update_dynamical_exner_time_increment.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/update_dynamical_exner_time_increment.py index 91975dc839..dfd3bdd250 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/update_dynamical_exner_time_increment.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/update_dynamical_exner_time_increment.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/update_mass_flux_weighted.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/update_mass_flux_weighted.py index 276719e0af..5a62477451 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/update_mass_flux_weighted.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/update_mass_flux_weighted.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/update_mass_volume_flux.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/update_mass_volume_flux.py index 4b16df9124..7de6cdc43a 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/update_mass_volume_flux.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/update_mass_volume_flux.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/update_theta_v.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/update_theta_v.py index d25b693382..f095888360 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/update_theta_v.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/update_theta_v.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/update_wind.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/update_wind.py index ccfeb2ac8f..0a511d3a82 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/update_wind.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/update_wind.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/velocity/velocity_advection.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/velocity/velocity_advection.py index b3d7b5a084..c3530f272e 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/velocity/velocity_advection.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/velocity/velocity_advection.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import gt4py.next as gtx import numpy as np diff --git a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/velocity/velocity_advection_program.py b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/velocity/velocity_advection_program.py index f811a71f22..58d2f18fa0 100644 --- a/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/velocity/velocity_advection_program.py +++ b/model/atmosphere/dycore/src/icon4py/model/atmosphere/dycore/velocity/velocity_advection_program.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import gt4py.next as gtx from gt4py.next.ffront.fbuiltins import where diff --git a/model/atmosphere/dycore/tests/__init__.py b/model/atmosphere/dycore/tests/__init__.py index 15dfdb0098..80b673df7e 100644 --- a/model/atmosphere/dycore/tests/__init__.py +++ b/model/atmosphere/dycore/tests/__init__.py @@ -1,12 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + diff --git a/model/atmosphere/dycore/tests/conftest.py b/model/atmosphere/dycore/tests/conftest.py index 117381f373..58bea3684a 100644 --- a/model/atmosphere/dycore/tests/conftest.py +++ b/model/atmosphere/dycore/tests/conftest.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from icon4py.model.common.test_utils.grid_utils import ( # noqa : F401 # fixtures from test_utils grid, diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/__init__.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/__init__.py index 15dfdb0098..80b673df7e 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/__init__.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/__init__.py @@ -1,12 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_accumulate_prep_adv_fields.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_accumulate_prep_adv_fields.py index cf7a4d3078..829ba0973d 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_accumulate_prep_adv_fields.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_accumulate_prep_adv_fields.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_add_analysis_increments_from_data_assimilation.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_add_analysis_increments_from_data_assimilation.py index 6c59ad9bd2..5bbdcbad24 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_add_analysis_increments_from_data_assimilation.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_add_analysis_increments_from_data_assimilation.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_add_analysis_increments_to_vn.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_add_analysis_increments_to_vn.py index 82af8ca3be..3060fbdd95 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_add_analysis_increments_to_vn.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_add_analysis_increments_to_vn.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_add_extra_diffusion_for_normal_wind_tendency_approaching_cfl.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_add_extra_diffusion_for_normal_wind_tendency_approaching_cfl.py index 9764c286ab..b5ec2b8fec 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_add_extra_diffusion_for_normal_wind_tendency_approaching_cfl.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_add_extra_diffusion_for_normal_wind_tendency_approaching_cfl.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_add_extra_diffusion_for_w_con_approaching_cfl.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_add_extra_diffusion_for_w_con_approaching_cfl.py index dab1718e28..5b13414fd1 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_add_extra_diffusion_for_w_con_approaching_cfl.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_add_extra_diffusion_for_w_con_approaching_cfl.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_add_interpolated_horizontal_advection_of_w.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_add_interpolated_horizontal_advection_of_w.py index e53ca35c58..e3254fd7fe 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_add_interpolated_horizontal_advection_of_w.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_add_interpolated_horizontal_advection_of_w.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_add_temporal_tendencies_to_vn.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_add_temporal_tendencies_to_vn.py index c3a4ad816a..bdd1279116 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_add_temporal_tendencies_to_vn.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_add_temporal_tendencies_to_vn.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_add_temporal_tendencies_to_vn_by_interpolating_between_time_levels.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_add_temporal_tendencies_to_vn_by_interpolating_between_time_levels.py index 615ec63c18..b7cdcc9821 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_add_temporal_tendencies_to_vn_by_interpolating_between_time_levels.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_add_temporal_tendencies_to_vn_by_interpolating_between_time_levels.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_add_vertical_wind_derivative_to_divergence_damping.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_add_vertical_wind_derivative_to_divergence_damping.py index 95b73c022d..ccce739eb5 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_add_vertical_wind_derivative_to_divergence_damping.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_add_vertical_wind_derivative_to_divergence_damping.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_apply_2nd_order_divergence_damping.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_apply_2nd_order_divergence_damping.py index 3917f3c009..44d1a5ed2a 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_apply_2nd_order_divergence_damping.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_apply_2nd_order_divergence_damping.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_apply_4th_order_divergence_damping.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_apply_4th_order_divergence_damping.py index d82a9c4262..4f86dfdb4c 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_apply_4th_order_divergence_damping.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_apply_4th_order_divergence_damping.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_apply_hydrostatic_correction_to_horizontal_gradient_of_exner_pressure.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_apply_hydrostatic_correction_to_horizontal_gradient_of_exner_pressure.py index c7c16a87f2..3ec8ea3748 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_apply_hydrostatic_correction_to_horizontal_gradient_of_exner_pressure.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_apply_hydrostatic_correction_to_horizontal_gradient_of_exner_pressure.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_apply_rayleigh_damping_mechanism.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_apply_rayleigh_damping_mechanism.py index 477cd752b7..75870c8897 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_apply_rayleigh_damping_mechanism.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_apply_rayleigh_damping_mechanism.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_apply_weighted_2nd_and_4th_order_divergence_damping.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_apply_weighted_2nd_and_4th_order_divergence_damping.py index 885ead1075..99d1edc204 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_apply_weighted_2nd_and_4th_order_divergence_damping.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_apply_weighted_2nd_and_4th_order_divergence_damping.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_advective_normal_wind_tendency.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_advective_normal_wind_tendency.py index fe4f73db82..9f6656134d 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_advective_normal_wind_tendency.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_advective_normal_wind_tendency.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_advective_vertical_wind_tendency.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_advective_vertical_wind_tendency.py index f7bfeec8a7..619d076fb5 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_advective_vertical_wind_tendency.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_advective_vertical_wind_tendency.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_airmass.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_airmass.py index 0fbf5694dd..293ae2208f 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_airmass.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_airmass.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_approx_of_2nd_vertical_derivative_of_exner.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_approx_of_2nd_vertical_derivative_of_exner.py index f7ed5b5917..96878b80c5 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_approx_of_2nd_vertical_derivative_of_exner.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_approx_of_2nd_vertical_derivative_of_exner.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_avg_vn.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_avg_vn.py index e00ade97e6..06680dd787 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_avg_vn.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_avg_vn.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_avg_vn_and_graddiv_vn_and_vt.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_avg_vn_and_graddiv_vn_and_vt.py index 7a26e94acf..c21ec252ff 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_avg_vn_and_graddiv_vn_and_vt.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_avg_vn_and_graddiv_vn_and_vt.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_contravariant_correction.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_contravariant_correction.py index 95f2c3773f..c8f5f02434 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_contravariant_correction.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_contravariant_correction.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_contravariant_correction_of_w.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_contravariant_correction_of_w.py index 444340aad2..b1a543f0ae 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_contravariant_correction_of_w.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_contravariant_correction_of_w.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_contravariant_correction_of_w_for_lower_boundary.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_contravariant_correction_of_w_for_lower_boundary.py index b35f56198b..4618d04d79 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_contravariant_correction_of_w_for_lower_boundary.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_contravariant_correction_of_w_for_lower_boundary.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_dwdz_for_divergence_damping.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_dwdz_for_divergence_damping.py index 75363ed799..6331793f13 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_dwdz_for_divergence_damping.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_dwdz_for_divergence_damping.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_exner_from_rhotheta.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_exner_from_rhotheta.py index 5154f214f8..88d12586d9 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_exner_from_rhotheta.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_exner_from_rhotheta.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_explicit_part_for_rho_and_exner.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_explicit_part_for_rho_and_exner.py index 51f4a17d64..1f695822e2 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_explicit_part_for_rho_and_exner.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_explicit_part_for_rho_and_exner.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_explicit_vertical_wind_from_advection_and_vertical_wind_density.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_explicit_vertical_wind_from_advection_and_vertical_wind_density.py index f3faa2856a..6dc2219d58 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_explicit_vertical_wind_from_advection_and_vertical_wind_density.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_explicit_vertical_wind_from_advection_and_vertical_wind_density.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_explicit_vertical_wind_speed_and_vertical_wind_times_density.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_explicit_vertical_wind_speed_and_vertical_wind_times_density.py index d368c3f3b4..17f9b76e2f 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_explicit_vertical_wind_speed_and_vertical_wind_times_density.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_explicit_vertical_wind_speed_and_vertical_wind_times_density.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_first_vertical_derivative.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_first_vertical_derivative.py index 00d0ac359b..b9069556ef 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_first_vertical_derivative.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_first_vertical_derivative.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_graddiv2_of_vn.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_graddiv2_of_vn.py index 7cc7af203b..c9a4a6cb28 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_graddiv2_of_vn.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_graddiv2_of_vn.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_horizontal_advection_of_rho_and_theta.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_horizontal_advection_of_rho_and_theta.py index c45b89182b..4d1ce9e083 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_horizontal_advection_of_rho_and_theta.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_horizontal_advection_of_rho_and_theta.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_horizontal_advection_term_for_vertical_velocity.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_horizontal_advection_term_for_vertical_velocity.py index c768906d76..f9ab3092d2 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_horizontal_advection_term_for_vertical_velocity.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_horizontal_advection_term_for_vertical_velocity.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_horizontal_gradient_of_exner_pressure_for_flat_coordinates.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_horizontal_gradient_of_exner_pressure_for_flat_coordinates.py index 27b6140e4d..8a5aa9c2e1 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_horizontal_gradient_of_exner_pressure_for_flat_coordinates.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_horizontal_gradient_of_exner_pressure_for_flat_coordinates.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_horizontal_gradient_of_exner_pressure_for_multiple_levels.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_horizontal_gradient_of_exner_pressure_for_multiple_levels.py index 351e9ee252..b9d2619e51 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_horizontal_gradient_of_exner_pressure_for_multiple_levels.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_horizontal_gradient_of_exner_pressure_for_multiple_levels.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_horizontal_gradient_of_exner_pressure_for_nonflat_coordinates.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_horizontal_gradient_of_exner_pressure_for_nonflat_coordinates.py index 664cdbd28b..140e8d8997 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_horizontal_gradient_of_exner_pressure_for_nonflat_coordinates.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_horizontal_gradient_of_exner_pressure_for_nonflat_coordinates.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_horizontal_kinetic_energy.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_horizontal_kinetic_energy.py index 747a22f24c..a2fb889850 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_horizontal_kinetic_energy.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_horizontal_kinetic_energy.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_hydrostatic_correction_term.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_hydrostatic_correction_term.py index 76ec24434f..a3e7c0fc2c 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_hydrostatic_correction_term.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_hydrostatic_correction_term.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_mass_flux.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_mass_flux.py index 76ad0ccb09..67e381da67 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_mass_flux.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_mass_flux.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_maximum_cfl_and_clip_contravariant_vertical_velocity.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_maximum_cfl_and_clip_contravariant_vertical_velocity.py index 0a9c36ed8b..9ae7b0f86a 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_maximum_cfl_and_clip_contravariant_vertical_velocity.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_maximum_cfl_and_clip_contravariant_vertical_velocity.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_perturbation_of_rho_and_theta.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_perturbation_of_rho_and_theta.py index 6b76c4c2ea..d1f3158d58 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_perturbation_of_rho_and_theta.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_perturbation_of_rho_and_theta.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_perturbation_of_rho_and_theta_and_rho_interface_cell_centers.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_perturbation_of_rho_and_theta_and_rho_interface_cell_centers.py index 81dd425938..02af80c347 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_perturbation_of_rho_and_theta_and_rho_interface_cell_centers.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_perturbation_of_rho_and_theta_and_rho_interface_cell_centers.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_results_for_thermodynamic_variables.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_results_for_thermodynamic_variables.py index f6bc7a8472..5d39ba3b07 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_results_for_thermodynamic_variables.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_results_for_thermodynamic_variables.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_rho_virtual_potential_temperatures_and_pressure_gradient.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_rho_virtual_potential_temperatures_and_pressure_gradient.py index 7211ded64e..7c7151d243 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_rho_virtual_potential_temperatures_and_pressure_gradient.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_rho_virtual_potential_temperatures_and_pressure_gradient.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_solver_coefficients_matrix.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_solver_coefficients_matrix.py index 3d06950a98..585245b59d 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_solver_coefficients_matrix.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_solver_coefficients_matrix.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_tangential_wind.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_tangential_wind.py index 1afd46c694..2a03a3da18 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_tangential_wind.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_tangential_wind.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_theta_and_exner.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_theta_and_exner.py index 0eb3209e8d..8c7b139f8d 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_theta_and_exner.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_theta_and_exner.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_virtual_potential_temperatures_and_pressure_gradient.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_virtual_potential_temperatures_and_pressure_gradient.py index a6db2593da..950d641b9f 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_virtual_potential_temperatures_and_pressure_gradient.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_virtual_potential_temperatures_and_pressure_gradient.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_vn_on_lateral_boundary.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_vn_on_lateral_boundary.py index 1f5af20b91..5ef7910328 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_vn_on_lateral_boundary.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_compute_vn_on_lateral_boundary.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_copy_cell_kdim_field_to_vp.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_copy_cell_kdim_field_to_vp.py index a17269a466..60f434f4ec 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_copy_cell_kdim_field_to_vp.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_copy_cell_kdim_field_to_vp.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_correct_contravariant_vertical_velocity.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_correct_contravariant_vertical_velocity.py index c3b2c4590c..942cb0a6bc 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_correct_contravariant_vertical_velocity.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_correct_contravariant_vertical_velocity.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_extrapolate_at_top.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_extrapolate_at_top.py index 1dea12b413..289f4cd0c7 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_extrapolate_at_top.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_extrapolate_at_top.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_extrapolate_temporally_exner_pressure.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_extrapolate_temporally_exner_pressure.py index 70f5d12c35..b506640232 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_extrapolate_temporally_exner_pressure.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_extrapolate_temporally_exner_pressure.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_fused_solve_nonhydro_stencil_39_40.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_fused_solve_nonhydro_stencil_39_40.py index 4fcd423744..8743234e4e 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_fused_solve_nonhydro_stencil_39_40.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_fused_solve_nonhydro_stencil_39_40.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_fused_velocity_advection_stencil_15_to_18.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_fused_velocity_advection_stencil_15_to_18.py index d8475be2d2..d16508e441 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_fused_velocity_advection_stencil_15_to_18.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_fused_velocity_advection_stencil_15_to_18.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_fused_velocity_advection_stencil_19_to_20.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_fused_velocity_advection_stencil_19_to_20.py index 591de0d6e5..1ee6c8e391 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_fused_velocity_advection_stencil_19_to_20.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_fused_velocity_advection_stencil_19_to_20.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_fused_velocity_advection_stencil_1_to_7.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_fused_velocity_advection_stencil_1_to_7.py index f4b805cd66..289ae7518c 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_fused_velocity_advection_stencil_1_to_7.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_fused_velocity_advection_stencil_1_to_7.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_fused_velocity_advection_stencil_8_to_13.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_fused_velocity_advection_stencil_8_to_13.py index b5b40f76bc..d6e4887cb5 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_fused_velocity_advection_stencil_8_to_13.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_fused_velocity_advection_stencil_8_to_13.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_init_cell_kdim_field_with_zero_vp.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_init_cell_kdim_field_with_zero_vp.py index f8661f6323..3225cdf716 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_init_cell_kdim_field_with_zero_vp.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_init_cell_kdim_field_with_zero_vp.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_init_cell_kdim_field_with_zero_wp.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_init_cell_kdim_field_with_zero_wp.py index c1fa6da96c..b1a8cff1a7 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_init_cell_kdim_field_with_zero_wp.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_init_cell_kdim_field_with_zero_wp.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_init_exner_pr.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_init_exner_pr.py index a40dd7e5bd..5cfe4df757 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_init_exner_pr.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_init_exner_pr.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_init_two_cell_kdim_fields_index_with_zero_vp.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_init_two_cell_kdim_fields_index_with_zero_vp.py index 280b22b26f..9709c65dda 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_init_two_cell_kdim_fields_index_with_zero_vp.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_init_two_cell_kdim_fields_index_with_zero_vp.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest as pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_init_two_cell_kdim_fields_with_zero_vp.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_init_two_cell_kdim_fields_with_zero_vp.py index 5aedc61442..4c18f7594e 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_init_two_cell_kdim_fields_with_zero_vp.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_init_two_cell_kdim_fields_with_zero_vp.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest as pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_init_two_cell_kdim_fields_with_zero_wp.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_init_two_cell_kdim_fields_with_zero_wp.py index 61299a188e..ae46d46a9e 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_init_two_cell_kdim_fields_with_zero_wp.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_init_two_cell_kdim_fields_with_zero_wp.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_init_two_edge_kdim_fields_with_zero_wp.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_init_two_edge_kdim_fields_with_zero_wp.py index 83c95aaf56..77fb30e201 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_init_two_edge_kdim_fields_with_zero_wp.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_init_two_edge_kdim_fields_with_zero_wp.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_interpolate_contravariant_vertical_velocity_to_full_levels.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_interpolate_contravariant_vertical_velocity_to_full_levels.py index 864947a258..98477a0d76 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_interpolate_contravariant_vertical_velocity_to_full_levels.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_interpolate_contravariant_vertical_velocity_to_full_levels.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_interpolate_to_cell_center.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_interpolate_to_cell_center.py index 1e24efcf7e..c10c946ba5 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_interpolate_to_cell_center.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_interpolate_to_cell_center.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_interpolate_to_half_levels_vp.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_interpolate_to_half_levels_vp.py index 830641a691..30c3f57020 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_interpolate_to_half_levels_vp.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_interpolate_to_half_levels_vp.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_interpolate_to_surface.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_interpolate_to_surface.py index 31daa0a702..5b2da183d6 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_interpolate_to_surface.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_interpolate_to_surface.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_interpolate_vn_to_ie_and_compute_ekin_on_edges.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_interpolate_vn_to_ie_and_compute_ekin_on_edges.py index 2f8d75b2f9..8190308325 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_interpolate_vn_to_ie_and_compute_ekin_on_edges.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_interpolate_vn_to_ie_and_compute_ekin_on_edges.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_interpolate_vt_to_interface_edges.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_interpolate_vt_to_interface_edges.py index ac7b9216da..503a53d86c 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_interpolate_vt_to_interface_edges.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_interpolate_vt_to_interface_edges.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_mcompute_divergence_of_fluxes_of_rho_and_theta.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_mcompute_divergence_of_fluxes_of_rho_and_theta.py index 7e6f2f8cd4..ee48ccae6c 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_mcompute_divergence_of_fluxes_of_rho_and_theta.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_mcompute_divergence_of_fluxes_of_rho_and_theta.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_mo_icon_interpolation_scalar_cells2verts_scalar_ri_dsl.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_mo_icon_interpolation_scalar_cells2verts_scalar_ri_dsl.py index 766e23646d..d9cc772342 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_mo_icon_interpolation_scalar_cells2verts_scalar_ri_dsl.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_mo_icon_interpolation_scalar_cells2verts_scalar_ri_dsl.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_mo_math_divrot_rot_vertex_ri_dsl.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_mo_math_divrot_rot_vertex_ri_dsl.py index 1b121b2c33..d60ee2ed03 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_mo_math_divrot_rot_vertex_ri_dsl.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_mo_math_divrot_rot_vertex_ri_dsl.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_mo_math_gradients_grad_green_gauss_cell_dsl.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_mo_math_gradients_grad_green_gauss_cell_dsl.py index 35d21529fc..342a220ffe 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_mo_math_gradients_grad_green_gauss_cell_dsl.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_mo_math_gradients_grad_green_gauss_cell_dsl.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_mo_solve_nonhydro_stencil_51.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_mo_solve_nonhydro_stencil_51.py index 852f893275..9f83502fa1 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_mo_solve_nonhydro_stencil_51.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_mo_solve_nonhydro_stencil_51.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_set_lower_boundary_condition_for_w_and_contravariant_correction.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_set_lower_boundary_condition_for_w_and_contravariant_correction.py index d32145a6af..4d28e59e27 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_set_lower_boundary_condition_for_w_and_contravariant_correction.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_set_lower_boundary_condition_for_w_and_contravariant_correction.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_set_theta_v_prime_ic_at_lower_boundary.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_set_theta_v_prime_ic_at_lower_boundary.py index 91e8a0eb71..dcdf289f47 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_set_theta_v_prime_ic_at_lower_boundary.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_set_theta_v_prime_ic_at_lower_boundary.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_solve_tridiagonal_matrix_for_w_back_substitution.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_solve_tridiagonal_matrix_for_w_back_substitution.py index 1444262b9d..ef2162c1c8 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_solve_tridiagonal_matrix_for_w_back_substitution.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_solve_tridiagonal_matrix_for_w_back_substitution.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_solve_tridiagonal_matrix_for_w_forward_sweep.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_solve_tridiagonal_matrix_for_w_forward_sweep.py index 38d47230f8..7b9d43c6f2 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_solve_tridiagonal_matrix_for_w_forward_sweep.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_solve_tridiagonal_matrix_for_w_forward_sweep.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np from gt4py.next.ffront.fbuiltins import int32 diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_update_density_exner_wind.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_update_density_exner_wind.py index 9f12f82972..de5459dd7f 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_update_density_exner_wind.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_update_density_exner_wind.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_update_dynamical_exner_time_increment.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_update_dynamical_exner_time_increment.py index 4bbc360dad..727d49293a 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_update_dynamical_exner_time_increment.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_update_dynamical_exner_time_increment.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_update_mass_flux_weighted.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_update_mass_flux_weighted.py index d2e842e7ad..8c851ecb2c 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_update_mass_flux_weighted.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_update_mass_flux_weighted.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_update_mass_volume_flux.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_update_mass_volume_flux.py index 4d1abde01f..433486605c 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_update_mass_volume_flux.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_update_mass_volume_flux.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_update_theta_v.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_update_theta_v.py index 300ed2bc3f..d91dfd840c 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_update_theta_v.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_update_theta_v.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_update_wind.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_update_wind.py index 6d29b37ef8..5459745ad4 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/test_update_wind.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/test_update_wind.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_stencil_tests/testinterpolate_vn_and_vt_to_ie_and_compute_ekin_on_edges.py b/model/atmosphere/dycore/tests/dycore_stencil_tests/testinterpolate_vn_and_vt_to_ie_and_compute_ekin_on_edges.py index 9591de9785..26b0b03aa8 100644 --- a/model/atmosphere/dycore/tests/dycore_stencil_tests/testinterpolate_vn_and_vt_to_ie_and_compute_ekin_on_edges.py +++ b/model/atmosphere/dycore/tests/dycore_stencil_tests/testinterpolate_vn_and_vt_to_ie_and_compute_ekin_on_edges.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_tests/__init__.py b/model/atmosphere/dycore/tests/dycore_tests/__init__.py index 15dfdb0098..80b673df7e 100644 --- a/model/atmosphere/dycore/tests/dycore_tests/__init__.py +++ b/model/atmosphere/dycore/tests/dycore_tests/__init__.py @@ -1,12 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + diff --git a/model/atmosphere/dycore/tests/dycore_tests/conftest.py b/model/atmosphere/dycore/tests/dycore_tests/conftest.py index b2e128501e..f0ca39de9e 100644 --- a/model/atmosphere/dycore/tests/dycore_tests/conftest.py +++ b/model/atmosphere/dycore/tests/dycore_tests/conftest.py @@ -1,16 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later - +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from icon4py.model.common.test_utils.datatest_fixtures import ( # noqa F401 lowest_layer_thickness, diff --git a/model/atmosphere/dycore/tests/dycore_tests/mpi_tests/__init__.py b/model/atmosphere/dycore/tests/dycore_tests/mpi_tests/__init__.py index 15dfdb0098..80b673df7e 100644 --- a/model/atmosphere/dycore/tests/dycore_tests/mpi_tests/__init__.py +++ b/model/atmosphere/dycore/tests/dycore_tests/mpi_tests/__init__.py @@ -1,12 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + diff --git a/model/atmosphere/dycore/tests/dycore_tests/mpi_tests/test_parallel_solve_nonhydro.py b/model/atmosphere/dycore/tests/dycore_tests/mpi_tests/test_parallel_solve_nonhydro.py index 60270e9926..49bae789e6 100644 --- a/model/atmosphere/dycore/tests/dycore_tests/mpi_tests/test_parallel_solve_nonhydro.py +++ b/model/atmosphere/dycore/tests/dycore_tests/mpi_tests/test_parallel_solve_nonhydro.py @@ -1,16 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later - +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/atmosphere/dycore/tests/dycore_tests/test_solve_nonhydro.py b/model/atmosphere/dycore/tests/dycore_tests/test_solve_nonhydro.py index 0f765dd8ed..e9b4204a99 100644 --- a/model/atmosphere/dycore/tests/dycore_tests/test_solve_nonhydro.py +++ b/model/atmosphere/dycore/tests/dycore_tests/test_solve_nonhydro.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import logging import pytest diff --git a/model/atmosphere/dycore/tests/dycore_tests/test_utils.py b/model/atmosphere/dycore/tests/dycore_tests/test_utils.py index cf139bd651..34561a85c0 100644 --- a/model/atmosphere/dycore/tests/dycore_tests/test_utils.py +++ b/model/atmosphere/dycore/tests/dycore_tests/test_utils.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import gt4py.next as gtx import numpy as np diff --git a/model/atmosphere/dycore/tests/dycore_tests/test_velocity_advection.py b/model/atmosphere/dycore/tests/dycore_tests/test_velocity_advection.py index 0c7f43149e..2b86ab0d5c 100644 --- a/model/atmosphere/dycore/tests/dycore_tests/test_velocity_advection.py +++ b/model/atmosphere/dycore/tests/dycore_tests/test_velocity_advection.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import pytest diff --git a/model/atmosphere/dycore/tests/dycore_tests/utils.py b/model/atmosphere/dycore/tests/dycore_tests/utils.py index 96e4f5b7e8..644359a2dd 100644 --- a/model/atmosphere/dycore/tests/dycore_tests/utils.py +++ b/model/atmosphere/dycore/tests/dycore_tests/utils.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from icon4py.model.atmosphere.dycore.nh_solve import solve_nonhydro as solve_nh from icon4py.model.atmosphere.dycore.state_utils import states as solve_nh_states diff --git a/model/common/.pre-commit-config.yaml b/model/common/.pre-commit-config.yaml index 584ca24322..187c2da508 100644 --- a/model/common/.pre-commit-config.yaml +++ b/model/common/.pre-commit-config.yaml @@ -52,7 +52,7 @@ repos: types_or: [markdown, json] - repo: https://github.com/Lucas-C/pre-commit-hooks - rev: v1.3.0 + rev: v1.5.5 hooks: - id: insert-license name: add license for all ICON4Py Python source files diff --git a/model/common/LICENSE b/model/common/LICENSE new file mode 100644 index 0000000000..61241df23f --- /dev/null +++ b/model/common/LICENSE @@ -0,0 +1,31 @@ + ICON4Py - ICON inspired code in Python and GT4Py + + Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss + 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. diff --git a/model/common/pyproject.toml b/model/common/pyproject.toml index f12db8facc..7f21e598e6 100644 --- a/model/common/pyproject.toml +++ b/model/common/pyproject.toml @@ -7,7 +7,7 @@ authors = [{email = "gridtools@cscs.ch"}, {name = "ETH Zurich"}] classifiers = [ "Development Status :: 3 - Alpha", "Intended Audience :: Science/Research", - "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", + "License :: OSI Approved :: BSD License", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 3", diff --git a/model/common/src/icon4py/model/common/__init__.py b/model/common/src/icon4py/model/common/__init__.py index dab7089554..9067bb0dad 100644 --- a/model/common/src/icon4py/model/common/__init__.py +++ b/model/common/src/icon4py/model/common/__init__.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from typing import Final from packaging import version as pkg_version @@ -24,9 +20,9 @@ ] -__author__: Final = "ETH Zurich and individual contributors" -__copyright__: Final = "Copyright (c) 2014-2022 ETH Zurich" -__license__: Final = "GPL-3.0-or-later" +__author__: Final = "ETH Zurich, MeteoSwiss and individual contributors" +__copyright__: Final = "Copyright (c) 2022-2024 ETH Zurich and MeteoSwiss" +__license__: Final = "BSD-3-Clause" __version__: Final = "0.0.6" diff --git a/model/common/src/icon4py/model/common/caching.py b/model/common/src/icon4py/model/common/caching.py index a10e36f420..2a655f4c32 100644 --- a/model/common/src/icon4py/model/common/caching.py +++ b/model/common/src/icon4py/model/common/caching.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import dataclasses from typing import Any, Callable, Optional diff --git a/model/common/src/icon4py/model/common/components/monitor.py b/model/common/src/icon4py/model/common/components/monitor.py index 81e406519e..ec8cb6ad55 100644 --- a/model/common/src/icon4py/model/common/components/monitor.py +++ b/model/common/src/icon4py/model/common/components/monitor.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import abc import datetime from typing import Protocol diff --git a/model/common/src/icon4py/model/common/config.py b/model/common/src/icon4py/model/common/config.py index f7f4389dcc..a9093f228d 100644 --- a/model/common/src/icon4py/model/common/config.py +++ b/model/common/src/icon4py/model/common/config.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause # Assuming this code is in a module called icon4py_config.py import dataclasses diff --git a/model/common/src/icon4py/model/common/constants.py b/model/common/src/icon4py/model/common/constants.py index ea133ecb75..be8413f171 100644 --- a/model/common/src/icon4py/model/common/constants.py +++ b/model/common/src/icon4py/model/common/constants.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import enum import sys from typing import Final diff --git a/model/common/src/icon4py/model/common/decomposition/__init__.py b/model/common/src/icon4py/model/common/decomposition/__init__.py index 15dfdb0098..80b673df7e 100644 --- a/model/common/src/icon4py/model/common/decomposition/__init__.py +++ b/model/common/src/icon4py/model/common/decomposition/__init__.py @@ -1,12 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + diff --git a/model/common/src/icon4py/model/common/decomposition/definitions.py b/model/common/src/icon4py/model/common/decomposition/definitions.py index 2ed2019cad..3405a88b0e 100644 --- a/model/common/src/icon4py/model/common/decomposition/definitions.py +++ b/model/common/src/icon4py/model/common/decomposition/definitions.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from __future__ import annotations diff --git a/model/common/src/icon4py/model/common/decomposition/mpi_decomposition.py b/model/common/src/icon4py/model/common/decomposition/mpi_decomposition.py index 61c8d52329..c8712f4c1c 100644 --- a/model/common/src/icon4py/model/common/decomposition/mpi_decomposition.py +++ b/model/common/src/icon4py/model/common/decomposition/mpi_decomposition.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from __future__ import annotations diff --git a/model/common/src/icon4py/model/common/diagnostic_calculations/stencils/__init__.py b/model/common/src/icon4py/model/common/diagnostic_calculations/stencils/__init__.py index a6d2d236c9..80b673df7e 100644 --- a/model/common/src/icon4py/model/common/diagnostic_calculations/stencils/__init__.py +++ b/model/common/src/icon4py/model/common/diagnostic_calculations/stencils/__init__.py @@ -1,13 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause diff --git a/model/common/src/icon4py/model/common/diagnostic_calculations/stencils/diagnose_pressure.py b/model/common/src/icon4py/model/common/diagnostic_calculations/stencils/diagnose_pressure.py index 0b9526257b..ec9c91a3e9 100644 --- a/model/common/src/icon4py/model/common/diagnostic_calculations/stencils/diagnose_pressure.py +++ b/model/common/src/icon4py/model/common/diagnostic_calculations/stencils/diagnose_pressure.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program, scan_operator diff --git a/model/common/src/icon4py/model/common/diagnostic_calculations/stencils/diagnose_surface_pressure.py b/model/common/src/icon4py/model/common/diagnostic_calculations/stencils/diagnose_surface_pressure.py index 800ddd3eeb..c58e74be8a 100644 --- a/model/common/src/icon4py/model/common/diagnostic_calculations/stencils/diagnose_surface_pressure.py +++ b/model/common/src/icon4py/model/common/diagnostic_calculations/stencils/diagnose_surface_pressure.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/common/src/icon4py/model/common/diagnostic_calculations/stencils/diagnose_temperature.py b/model/common/src/icon4py/model/common/diagnostic_calculations/stencils/diagnose_temperature.py index d934275a65..1a60cb0601 100644 --- a/model/common/src/icon4py/model/common/diagnostic_calculations/stencils/diagnose_temperature.py +++ b/model/common/src/icon4py/model/common/diagnostic_calculations/stencils/diagnose_temperature.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/common/src/icon4py/model/common/dimension.py b/model/common/src/icon4py/model/common/dimension.py index db1caef440..6d202dda69 100644 --- a/model/common/src/icon4py/model/common/dimension.py +++ b/model/common/src/icon4py/model/common/dimension.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import DimensionKind from gt4py.next.ffront.fbuiltins import Dimension, FieldOffset diff --git a/model/common/src/icon4py/model/common/exceptions.py b/model/common/src/icon4py/model/common/exceptions.py index 5b8ab21635..901617e57c 100644 --- a/model/common/src/icon4py/model/common/exceptions.py +++ b/model/common/src/icon4py/model/common/exceptions.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause class InvalidConfigError(Exception): diff --git a/model/common/src/icon4py/model/common/field_type_aliases.py b/model/common/src/icon4py/model/common/field_type_aliases.py index ffec3324c7..f2aabac7fe 100644 --- a/model/common/src/icon4py/model/common/field_type_aliases.py +++ b/model/common/src/icon4py/model/common/field_type_aliases.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from typing import TypeAlias, TypeVar diff --git a/model/common/src/icon4py/model/common/grid/__init__.py b/model/common/src/icon4py/model/common/grid/__init__.py index 15dfdb0098..80b673df7e 100644 --- a/model/common/src/icon4py/model/common/grid/__init__.py +++ b/model/common/src/icon4py/model/common/grid/__init__.py @@ -1,12 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + diff --git a/model/common/src/icon4py/model/common/grid/base.py b/model/common/src/icon4py/model/common/grid/base.py index dbbe965f8d..aa963f54ba 100644 --- a/model/common/src/icon4py/model/common/grid/base.py +++ b/model/common/src/icon4py/model/common/grid/base.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import dataclasses import functools import uuid diff --git a/model/common/src/icon4py/model/common/grid/grid_manager.py b/model/common/src/icon4py/model/common/grid/grid_manager.py index de7d429b95..ffb39b739c 100644 --- a/model/common/src/icon4py/model/common/grid/grid_manager.py +++ b/model/common/src/icon4py/model/common/grid/grid_manager.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import dataclasses import enum import logging diff --git a/model/common/src/icon4py/model/common/grid/horizontal.py b/model/common/src/icon4py/model/common/grid/horizontal.py index ebfc58b207..f868144e04 100644 --- a/model/common/src/icon4py/model/common/grid/horizontal.py +++ b/model/common/src/icon4py/model/common/grid/horizontal.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import math from dataclasses import dataclass from functools import cached_property diff --git a/model/common/src/icon4py/model/common/grid/icon.py b/model/common/src/icon4py/model/common/grid/icon.py index a8288e41bb..7295d248cf 100644 --- a/model/common/src/icon4py/model/common/grid/icon.py +++ b/model/common/src/icon4py/model/common/grid/icon.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import dataclasses import functools import uuid diff --git a/model/common/src/icon4py/model/common/grid/simple.py b/model/common/src/icon4py/model/common/grid/simple.py index b919eac980..9cc5b29351 100644 --- a/model/common/src/icon4py/model/common/grid/simple.py +++ b/model/common/src/icon4py/model/common/grid/simple.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import dataclasses import uuid diff --git a/model/common/src/icon4py/model/common/grid/utils.py b/model/common/src/icon4py/model/common/grid/utils.py index 2f8d985b95..279b53e662 100644 --- a/model/common/src/icon4py/model/common/grid/utils.py +++ b/model/common/src/icon4py/model/common/grid/utils.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np from gt4py.next import Dimension, NeighborTableOffsetProvider diff --git a/model/common/src/icon4py/model/common/grid/vertical.py b/model/common/src/icon4py/model/common/grid/vertical.py index 56ed1a9e9c..5505c3a097 100644 --- a/model/common/src/icon4py/model/common/grid/vertical.py +++ b/model/common/src/icon4py/model/common/grid/vertical.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import dataclasses import logging import math diff --git a/model/common/src/icon4py/model/common/interpolation/__init__.py b/model/common/src/icon4py/model/common/interpolation/__init__.py index 15dfdb0098..80b673df7e 100644 --- a/model/common/src/icon4py/model/common/interpolation/__init__.py +++ b/model/common/src/icon4py/model/common/interpolation/__init__.py @@ -1,12 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + diff --git a/model/common/src/icon4py/model/common/interpolation/interpolation_fields.py b/model/common/src/icon4py/model/common/interpolation/interpolation_fields.py index f2b032720f..ac75dd90c0 100644 --- a/model/common/src/icon4py/model/common/interpolation/interpolation_fields.py +++ b/model/common/src/icon4py/model/common/interpolation/interpolation_fields.py @@ -1,27 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later -# ICON4Py - ICON inspired code in Python and GT4Py -# -# Copyright (c) 2022, ETH Zurich and MeteoSwiss -# All rights reserved. -# -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import gt4py.next as gtx import numpy as np diff --git a/model/common/src/icon4py/model/common/interpolation/stencils/__init__.py b/model/common/src/icon4py/model/common/interpolation/stencils/__init__.py index 15dfdb0098..80b673df7e 100644 --- a/model/common/src/icon4py/model/common/interpolation/stencils/__init__.py +++ b/model/common/src/icon4py/model/common/interpolation/stencils/__init__.py @@ -1,12 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + diff --git a/model/common/src/icon4py/model/common/interpolation/stencils/cell_2_edge_interpolation.py b/model/common/src/icon4py/model/common/interpolation/stencils/cell_2_edge_interpolation.py index 1e8cf2a30a..2b26f30f16 100644 --- a/model/common/src/icon4py/model/common/interpolation/stencils/cell_2_edge_interpolation.py +++ b/model/common/src/icon4py/model/common/interpolation/stencils/cell_2_edge_interpolation.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/common/src/icon4py/model/common/interpolation/stencils/compute_cell_2_vertex_interpolation.py b/model/common/src/icon4py/model/common/interpolation/stencils/compute_cell_2_vertex_interpolation.py index e1f12cb35a..97cacdc4d4 100644 --- a/model/common/src/icon4py/model/common/interpolation/stencils/compute_cell_2_vertex_interpolation.py +++ b/model/common/src/icon4py/model/common/interpolation/stencils/compute_cell_2_vertex_interpolation.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import gt4py.next as gtx from gt4py.next import neighbor_sum diff --git a/model/common/src/icon4py/model/common/interpolation/stencils/edge_2_cell_vector_rbf_interpolation.py b/model/common/src/icon4py/model/common/interpolation/stencils/edge_2_cell_vector_rbf_interpolation.py index 1000578c9f..d17eb83cb0 100644 --- a/model/common/src/icon4py/model/common/interpolation/stencils/edge_2_cell_vector_rbf_interpolation.py +++ b/model/common/src/icon4py/model/common/interpolation/stencils/edge_2_cell_vector_rbf_interpolation.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/common/src/icon4py/model/common/interpolation/stencils/mo_intp_rbf_rbf_vec_interpol_cell.py b/model/common/src/icon4py/model/common/interpolation/stencils/mo_intp_rbf_rbf_vec_interpol_cell.py index 0d5253b975..4dbc09324a 100644 --- a/model/common/src/icon4py/model/common/interpolation/stencils/mo_intp_rbf_rbf_vec_interpol_cell.py +++ b/model/common/src/icon4py/model/common/interpolation/stencils/mo_intp_rbf_rbf_vec_interpol_cell.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/common/src/icon4py/model/common/interpolation/stencils/mo_intp_rbf_rbf_vec_interpol_vertex.py b/model/common/src/icon4py/model/common/interpolation/stencils/mo_intp_rbf_rbf_vec_interpol_vertex.py index a400e4076d..c6bb711805 100644 --- a/model/common/src/icon4py/model/common/interpolation/stencils/mo_intp_rbf_rbf_vec_interpol_vertex.py +++ b/model/common/src/icon4py/model/common/interpolation/stencils/mo_intp_rbf_rbf_vec_interpol_vertex.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/common/src/icon4py/model/common/io/__init__.py b/model/common/src/icon4py/model/common/io/__init__.py index 6aea6e59f4..1789e19250 100644 --- a/model/common/src/icon4py/model/common/io/__init__.py +++ b/model/common/src/icon4py/model/common/io/__init__.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + """ Module containing the IO functionality for ICON4Py. diff --git a/model/common/src/icon4py/model/common/io/cf_utils.py b/model/common/src/icon4py/model/common/io/cf_utils.py index 7f2832b896..d4919ab10c 100644 --- a/model/common/src/icon4py/model/common/io/cf_utils.py +++ b/model/common/src/icon4py/model/common/io/cf_utils.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from typing import Final import cftime diff --git a/model/common/src/icon4py/model/common/io/data.py b/model/common/src/icon4py/model/common/io/data.py index 4d703e8e77..1cab29eab4 100644 --- a/model/common/src/icon4py/model/common/io/data.py +++ b/model/common/src/icon4py/model/common/io/data.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from typing import Final, TypedDict import gt4py._core.definitions as gt_coredefs diff --git a/model/common/src/icon4py/model/common/io/io.py b/model/common/src/icon4py/model/common/io/io.py index 596362c807..25471eadaf 100644 --- a/model/common/src/icon4py/model/common/io/io.py +++ b/model/common/src/icon4py/model/common/io/io.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import abc import dataclasses diff --git a/model/common/src/icon4py/model/common/io/ugrid.py b/model/common/src/icon4py/model/common/io/ugrid.py index 9e06f46d26..163476e3fa 100644 --- a/model/common/src/icon4py/model/common/io/ugrid.py +++ b/model/common/src/icon4py/model/common/io/ugrid.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import contextlib import logging import pathlib diff --git a/model/common/src/icon4py/model/common/io/writers.py b/model/common/src/icon4py/model/common/io/writers.py index 08a041717f..425d16325d 100644 --- a/model/common/src/icon4py/model/common/io/writers.py +++ b/model/common/src/icon4py/model/common/io/writers.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import dataclasses import datetime as dt import functools diff --git a/model/common/src/icon4py/model/common/math/__init__.py b/model/common/src/icon4py/model/common/math/__init__.py index 15dfdb0098..80b673df7e 100644 --- a/model/common/src/icon4py/model/common/math/__init__.py +++ b/model/common/src/icon4py/model/common/math/__init__.py @@ -1,12 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + diff --git a/model/common/src/icon4py/model/common/math/helpers.py b/model/common/src/icon4py/model/common/math/helpers.py index d0650547f6..d247c97a02 100644 --- a/model/common/src/icon4py/model/common/math/helpers.py +++ b/model/common/src/icon4py/model/common/math/helpers.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next import Field, field_operator diff --git a/model/common/src/icon4py/model/common/math/projection.py b/model/common/src/icon4py/model/common/math/projection.py index 338a015074..e29e1c8a5b 100644 --- a/model/common/src/icon4py/model/common/math/projection.py +++ b/model/common/src/icon4py/model/common/math/projection.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np diff --git a/model/common/src/icon4py/model/common/math/smagorinsky.py b/model/common/src/icon4py/model/common/math/smagorinsky.py index 56c2dc100e..79ceea011b 100644 --- a/model/common/src/icon4py/model/common/math/smagorinsky.py +++ b/model/common/src/icon4py/model/common/math/smagorinsky.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import gt4py.next as gtx from gt4py.next.ffront.fbuiltins import ( diff --git a/model/common/src/icon4py/model/common/metrics/__init__.py b/model/common/src/icon4py/model/common/metrics/__init__.py index 15dfdb0098..80b673df7e 100644 --- a/model/common/src/icon4py/model/common/metrics/__init__.py +++ b/model/common/src/icon4py/model/common/metrics/__init__.py @@ -1,12 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + diff --git a/model/common/src/icon4py/model/common/metrics/compute_coeff_gradekin.py b/model/common/src/icon4py/model/common/metrics/compute_coeff_gradekin.py index 7568638e08..4dcaa406d8 100644 --- a/model/common/src/icon4py/model/common/metrics/compute_coeff_gradekin.py +++ b/model/common/src/icon4py/model/common/metrics/compute_coeff_gradekin.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np diff --git a/model/common/src/icon4py/model/common/metrics/compute_diffusion_metrics.py b/model/common/src/icon4py/model/common/metrics/compute_diffusion_metrics.py index 63e78ad739..494518274c 100644 --- a/model/common/src/icon4py/model/common/metrics/compute_diffusion_metrics.py +++ b/model/common/src/icon4py/model/common/metrics/compute_diffusion_metrics.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np diff --git a/model/common/src/icon4py/model/common/metrics/compute_nudgecoeffs.py b/model/common/src/icon4py/model/common/metrics/compute_nudgecoeffs.py index ddd366fa6c..9692c62026 100644 --- a/model/common/src/icon4py/model/common/metrics/compute_nudgecoeffs.py +++ b/model/common/src/icon4py/model/common/metrics/compute_nudgecoeffs.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/common/src/icon4py/model/common/metrics/compute_vwind_impl_wgt.py b/model/common/src/icon4py/model/common/metrics/compute_vwind_impl_wgt.py index 10322f1408..1b87efeb4f 100644 --- a/model/common/src/icon4py/model/common/metrics/compute_vwind_impl_wgt.py +++ b/model/common/src/icon4py/model/common/metrics/compute_vwind_impl_wgt.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np diff --git a/model/common/src/icon4py/model/common/metrics/compute_wgtfac_c.py b/model/common/src/icon4py/model/common/metrics/compute_wgtfac_c.py index c938f8a0af..6f284ffc7a 100644 --- a/model/common/src/icon4py/model/common/metrics/compute_wgtfac_c.py +++ b/model/common/src/icon4py/model/common/metrics/compute_wgtfac_c.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.common import GridType from gt4py.next.ffront.decorator import field_operator, program diff --git a/model/common/src/icon4py/model/common/metrics/compute_wgtfacq.py b/model/common/src/icon4py/model/common/metrics/compute_wgtfacq.py index cf0be286ed..2a7b92a8bf 100644 --- a/model/common/src/icon4py/model/common/metrics/compute_wgtfacq.py +++ b/model/common/src/icon4py/model/common/metrics/compute_wgtfacq.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np diff --git a/model/common/src/icon4py/model/common/metrics/compute_zdiff_gradp_dsl.py b/model/common/src/icon4py/model/common/metrics/compute_zdiff_gradp_dsl.py index 02461a7d1c..85e5d9cc15 100644 --- a/model/common/src/icon4py/model/common/metrics/compute_zdiff_gradp_dsl.py +++ b/model/common/src/icon4py/model/common/metrics/compute_zdiff_gradp_dsl.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import numpy as np diff --git a/model/common/src/icon4py/model/common/metrics/metric_fields.py b/model/common/src/icon4py/model/common/metrics/metric_fields.py index 08366c9652..59c545d070 100644 --- a/model/common/src/icon4py/model/common/metrics/metric_fields.py +++ b/model/common/src/icon4py/model/common/metrics/metric_fields.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from dataclasses import dataclass from typing import Final diff --git a/model/common/src/icon4py/model/common/metrics/metric_scalars.py b/model/common/src/icon4py/model/common/metrics/metric_scalars.py index 90cb766f58..1e303b4cdd 100644 --- a/model/common/src/icon4py/model/common/metrics/metric_scalars.py +++ b/model/common/src/icon4py/model/common/metrics/metric_scalars.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import numpy as np diff --git a/model/common/src/icon4py/model/common/metrics/reference_atmosphere.py b/model/common/src/icon4py/model/common/metrics/reference_atmosphere.py index 5ad28a5909..d5b9571f72 100644 --- a/model/common/src/icon4py/model/common/metrics/reference_atmosphere.py +++ b/model/common/src/icon4py/model/common/metrics/reference_atmosphere.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next import GridType, field_operator, program from gt4py.next.ffront.fbuiltins import exp, int32, log diff --git a/model/common/src/icon4py/model/common/settings.py b/model/common/src/icon4py/model/common/settings.py index b6d482eee5..5b6a2d3a4b 100644 --- a/model/common/src/icon4py/model/common/settings.py +++ b/model/common/src/icon4py/model/common/settings.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from icon4py.model.common.config import Icon4PyConfig diff --git a/model/common/src/icon4py/model/common/states/__init__.py b/model/common/src/icon4py/model/common/states/__init__.py index 15dfdb0098..80b673df7e 100644 --- a/model/common/src/icon4py/model/common/states/__init__.py +++ b/model/common/src/icon4py/model/common/states/__init__.py @@ -1,12 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + diff --git a/model/common/src/icon4py/model/common/states/diagnostic_state.py b/model/common/src/icon4py/model/common/states/diagnostic_state.py index 917d1c4cf3..0fcb3444e3 100644 --- a/model/common/src/icon4py/model/common/states/diagnostic_state.py +++ b/model/common/src/icon4py/model/common/states/diagnostic_state.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from dataclasses import dataclass diff --git a/model/common/src/icon4py/model/common/states/prognostic_state.py b/model/common/src/icon4py/model/common/states/prognostic_state.py index 1592103513..07bae72e37 100644 --- a/model/common/src/icon4py/model/common/states/prognostic_state.py +++ b/model/common/src/icon4py/model/common/states/prognostic_state.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from dataclasses import dataclass diff --git a/model/common/src/icon4py/model/common/test_utils/__init__.py b/model/common/src/icon4py/model/common/test_utils/__init__.py index 15dfdb0098..80b673df7e 100644 --- a/model/common/src/icon4py/model/common/test_utils/__init__.py +++ b/model/common/src/icon4py/model/common/test_utils/__init__.py @@ -1,12 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + diff --git a/model/common/src/icon4py/model/common/test_utils/data_handling.py b/model/common/src/icon4py/model/common/test_utils/data_handling.py index 4e04f11f6f..082fbebfc3 100644 --- a/model/common/src/icon4py/model/common/test_utils/data_handling.py +++ b/model/common/src/icon4py/model/common/test_utils/data_handling.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import tarfile from pathlib import Path diff --git a/model/common/src/icon4py/model/common/test_utils/datatest_fixtures.py b/model/common/src/icon4py/model/common/test_utils/datatest_fixtures.py index 456cc56c4b..b9cc851d9f 100644 --- a/model/common/src/icon4py/model/common/test_utils/datatest_fixtures.py +++ b/model/common/src/icon4py/model/common/test_utils/datatest_fixtures.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import pytest diff --git a/model/common/src/icon4py/model/common/test_utils/datatest_utils.py b/model/common/src/icon4py/model/common/test_utils/datatest_utils.py index 14531598fc..7700c53f83 100644 --- a/model/common/src/icon4py/model/common/test_utils/datatest_utils.py +++ b/model/common/src/icon4py/model/common/test_utils/datatest_utils.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import os import pathlib import re diff --git a/model/common/src/icon4py/model/common/test_utils/grid_utils.py b/model/common/src/icon4py/model/common/test_utils/grid_utils.py index ee98c32378..b690a0edd9 100644 --- a/model/common/src/icon4py/model/common/test_utils/grid_utils.py +++ b/model/common/src/icon4py/model/common/test_utils/grid_utils.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import functools import pytest diff --git a/model/common/src/icon4py/model/common/test_utils/helpers.py b/model/common/src/icon4py/model/common/test_utils/helpers.py index 1b6f757b41..205ad16e4f 100644 --- a/model/common/src/icon4py/model/common/test_utils/helpers.py +++ b/model/common/src/icon4py/model/common/test_utils/helpers.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from dataclasses import dataclass, field from typing import ClassVar, Optional diff --git a/model/common/src/icon4py/model/common/test_utils/parallel_helpers.py b/model/common/src/icon4py/model/common/test_utils/parallel_helpers.py index 530e912b80..de0cbc736e 100644 --- a/model/common/src/icon4py/model/common/test_utils/parallel_helpers.py +++ b/model/common/src/icon4py/model/common/test_utils/parallel_helpers.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import pytest diff --git a/model/common/src/icon4py/model/common/test_utils/pytest_config.py b/model/common/src/icon4py/model/common/test_utils/pytest_config.py index d0292f2d45..7c4f6e390b 100644 --- a/model/common/src/icon4py/model/common/test_utils/pytest_config.py +++ b/model/common/src/icon4py/model/common/test_utils/pytest_config.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import os diff --git a/model/common/src/icon4py/model/common/test_utils/reference_funcs.py b/model/common/src/icon4py/model/common/test_utils/reference_funcs.py index d2383203e9..67441231c0 100644 --- a/model/common/src/icon4py/model/common/test_utils/reference_funcs.py +++ b/model/common/src/icon4py/model/common/test_utils/reference_funcs.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np diff --git a/model/common/src/icon4py/model/common/test_utils/serialbox_utils.py b/model/common/src/icon4py/model/common/test_utils/serialbox_utils.py index b98fddc11f..c1b7b21c63 100644 --- a/model/common/src/icon4py/model/common/test_utils/serialbox_utils.py +++ b/model/common/src/icon4py/model/common/test_utils/serialbox_utils.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import functools import logging import uuid diff --git a/model/common/src/icon4py/model/common/type_alias.py b/model/common/src/icon4py/model/common/type_alias.py index 28b43eb308..2ffd7ff3b8 100644 --- a/model/common/src/icon4py/model/common/type_alias.py +++ b/model/common/src/icon4py/model/common/type_alias.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import os from typing import TypeAlias diff --git a/model/common/src/icon4py/model/common/utils/builder.py b/model/common/src/icon4py/model/common/utils/builder.py index 403bf7a685..8b4f6f6ef3 100644 --- a/model/common/src/icon4py/model/common/utils/builder.py +++ b/model/common/src/icon4py/model/common/utils/builder.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause def builder(func): diff --git a/model/common/src/icon4py/model/common/utils/gt4py_field_allocation.py b/model/common/src/icon4py/model/common/utils/gt4py_field_allocation.py index 51ab5628f9..8f9c0318dc 100644 --- a/model/common/src/icon4py/model/common/utils/gt4py_field_allocation.py +++ b/model/common/src/icon4py/model/common/utils/gt4py_field_allocation.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import gt4py.next as gtx diff --git a/model/common/tests/conftest.py b/model/common/tests/conftest.py index a1bdd45472..9f49969ab2 100644 --- a/model/common/tests/conftest.py +++ b/model/common/tests/conftest.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import pathlib import random diff --git a/model/common/tests/decomposition_tests/test_definitions.py b/model/common/tests/decomposition_tests/test_definitions.py index 780accecc4..7fcc9f96c6 100644 --- a/model/common/tests/decomposition_tests/test_definitions.py +++ b/model/common/tests/decomposition_tests/test_definitions.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from icon4py.model.common.decomposition.definitions import ( DecompositionInfo, diff --git a/model/common/tests/decomposition_tests/test_mpi_decomposition.py b/model/common/tests/decomposition_tests/test_mpi_decomposition.py index d062dd1527..49ee3bcb7b 100644 --- a/model/common/tests/decomposition_tests/test_mpi_decomposition.py +++ b/model/common/tests/decomposition_tests/test_mpi_decomposition.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/common/tests/diagnostic_calculations_tests/conftest.py b/model/common/tests/diagnostic_calculations_tests/conftest.py index 4c3f542a11..440488c84b 100644 --- a/model/common/tests/diagnostic_calculations_tests/conftest.py +++ b/model/common/tests/diagnostic_calculations_tests/conftest.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from icon4py.model.common.test_utils.datatest_fixtures import ( # noqa: F401 damping_height, diff --git a/model/common/tests/diagnostic_calculations_tests/test_diagnostic_calculations.py b/model/common/tests/diagnostic_calculations_tests/test_diagnostic_calculations.py index e0e2a780e4..ddb7bde936 100644 --- a/model/common/tests/diagnostic_calculations_tests/test_diagnostic_calculations.py +++ b/model/common/tests/diagnostic_calculations_tests/test_diagnostic_calculations.py @@ -1,16 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later - +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import pytest diff --git a/model/common/tests/grid_tests/__init__.py b/model/common/tests/grid_tests/__init__.py index 15dfdb0098..80b673df7e 100644 --- a/model/common/tests/grid_tests/__init__.py +++ b/model/common/tests/grid_tests/__init__.py @@ -1,12 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + diff --git a/model/common/tests/grid_tests/conftest.py b/model/common/tests/grid_tests/conftest.py index a977027918..c1fa04aa63 100644 --- a/model/common/tests/grid_tests/conftest.py +++ b/model/common/tests/grid_tests/conftest.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import pytest from icon4py.model.common.test_utils.datatest_fixtures import ( # noqa: F401 diff --git a/model/common/tests/grid_tests/test_grid_manager.py b/model/common/tests/grid_tests/test_grid_manager.py index 3c62ca5fa9..8b36625382 100644 --- a/model/common/tests/grid_tests/test_grid_manager.py +++ b/model/common/tests/grid_tests/test_grid_manager.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from __future__ import annotations import functools diff --git a/model/common/tests/grid_tests/test_horizontal.py b/model/common/tests/grid_tests/test_horizontal.py index 08f6108501..9ac52b5aab 100644 --- a/model/common/tests/grid_tests/test_horizontal.py +++ b/model/common/tests/grid_tests/test_horizontal.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import pytest diff --git a/model/common/tests/grid_tests/test_icon_grid.py b/model/common/tests/grid_tests/test_icon_grid.py index 8546a44968..ec0556742a 100644 --- a/model/common/tests/grid_tests/test_icon_grid.py +++ b/model/common/tests/grid_tests/test_icon_grid.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import pytest from icon4py.model.common.dimension import CellDim, EdgeDim, VertexDim diff --git a/model/common/tests/grid_tests/test_vertical.py b/model/common/tests/grid_tests/test_vertical.py index 5d85469db0..74ba541e72 100644 --- a/model/common/tests/grid_tests/test_vertical.py +++ b/model/common/tests/grid_tests/test_vertical.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import math diff --git a/model/common/tests/grid_tests/utils.py b/model/common/tests/grid_tests/utils.py index 86b4d5290b..d4a1ad98ae 100644 --- a/model/common/tests/grid_tests/utils.py +++ b/model/common/tests/grid_tests/utils.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from pathlib import Path from icon4py.model.common.test_utils.data_handling import download_and_extract diff --git a/model/common/tests/interpolation_tests/conftest.py b/model/common/tests/interpolation_tests/conftest.py index 1657376fa4..bc27474fce 100644 --- a/model/common/tests/interpolation_tests/conftest.py +++ b/model/common/tests/interpolation_tests/conftest.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from icon4py.model.common.test_utils.datatest_fixtures import ( # noqa: F401 # import fixtures from test_utils package data_provider, diff --git a/model/common/tests/interpolation_tests/test_interpolation_fields.py b/model/common/tests/interpolation_tests/test_interpolation_fields.py index b928c22a05..66cf46a65b 100644 --- a/model/common/tests/interpolation_tests/test_interpolation_fields.py +++ b/model/common/tests/interpolation_tests/test_interpolation_fields.py @@ -1,27 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later -# ICON4Py - ICON inspired code in Python and GT4Py -# -# Copyright (c) 2022, ETH Zurich and MeteoSwiss -# All rights reserved. -# -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import gt4py.next as gtx import numpy as np diff --git a/model/common/tests/io_tests/__init__.py b/model/common/tests/io_tests/__init__.py index a37c14bf9a..6c706717dd 100644 --- a/model/common/tests/io_tests/__init__.py +++ b/model/common/tests/io_tests/__init__.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import importlib.util import pytest diff --git a/model/common/tests/io_tests/test_cf_utils.py b/model/common/tests/io_tests/test_cf_utils.py index c32939b818..c44fd57bdd 100644 --- a/model/common/tests/io_tests/test_cf_utils.py +++ b/model/common/tests/io_tests/test_cf_utils.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import pytest diff --git a/model/common/tests/io_tests/test_data.py b/model/common/tests/io_tests/test_data.py index a342f03d55..78d98752cb 100644 --- a/model/common/tests/io_tests/test_data.py +++ b/model/common/tests/io_tests/test_data.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import icon4py.model.common.grid.simple as simple_grid from icon4py.model.common import dimension as dims from icon4py.model.common.io import data, ugrid diff --git a/model/common/tests/io_tests/test_io.py b/model/common/tests/io_tests/test_io.py index e848f1f464..ff3b67211f 100644 --- a/model/common/tests/io_tests/test_io.py +++ b/model/common/tests/io_tests/test_io.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import datetime as dt import pathlib import re diff --git a/model/common/tests/io_tests/test_ugrid.py b/model/common/tests/io_tests/test_ugrid.py index 3f878e9008..12d059dbe1 100644 --- a/model/common/tests/io_tests/test_ugrid.py +++ b/model/common/tests/io_tests/test_ugrid.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import numpy as np import pytest import xarray as xa diff --git a/model/common/tests/io_tests/test_writers.py b/model/common/tests/io_tests/test_writers.py index 4a01a7b4ea..6ef01c2cb1 100644 --- a/model/common/tests/io_tests/test_writers.py +++ b/model/common/tests/io_tests/test_writers.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from datetime import datetime, timedelta diff --git a/model/common/tests/math_tests/test_smagorinsky.py b/model/common/tests/math_tests/test_smagorinsky.py index 87fc010127..8aded75fa1 100644 --- a/model/common/tests/math_tests/test_smagorinsky.py +++ b/model/common/tests/math_tests/test_smagorinsky.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/common/tests/metric_tests/conftest.py b/model/common/tests/metric_tests/conftest.py index 4e97877a56..cb7be87d52 100644 --- a/model/common/tests/metric_tests/conftest.py +++ b/model/common/tests/metric_tests/conftest.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from icon4py.model.common.test_utils.datatest_fixtures import ( # noqa: F401 # import fixtures from test_utils package data_provider, diff --git a/model/common/tests/metric_tests/test_compute_coeff_gradekin.py b/model/common/tests/metric_tests/test_compute_coeff_gradekin.py index be9280458f..a589702ed6 100644 --- a/model/common/tests/metric_tests/test_compute_coeff_gradekin.py +++ b/model/common/tests/metric_tests/test_compute_coeff_gradekin.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import pytest diff --git a/model/common/tests/metric_tests/test_compute_diffusion_metrics.py b/model/common/tests/metric_tests/test_compute_diffusion_metrics.py index 6aaaa3b8ce..290986285b 100644 --- a/model/common/tests/metric_tests/test_compute_diffusion_metrics.py +++ b/model/common/tests/metric_tests/test_compute_diffusion_metrics.py @@ -1,16 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later - +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import pytest from gt4py.next import as_field diff --git a/model/common/tests/metric_tests/test_compute_nudgecoeffs.py b/model/common/tests/metric_tests/test_compute_nudgecoeffs.py index 6405f01a39..a6d16f5aef 100644 --- a/model/common/tests/metric_tests/test_compute_nudgecoeffs.py +++ b/model/common/tests/metric_tests/test_compute_nudgecoeffs.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/common/tests/metric_tests/test_compute_wgtfac_c.py b/model/common/tests/metric_tests/test_compute_wgtfac_c.py index 34770050cd..701609803f 100644 --- a/model/common/tests/metric_tests/test_compute_wgtfac_c.py +++ b/model/common/tests/metric_tests/test_compute_wgtfac_c.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import pytest diff --git a/model/common/tests/metric_tests/test_compute_wgtfacq.py b/model/common/tests/metric_tests/test_compute_wgtfacq.py index 2c28724575..dda14b19e8 100644 --- a/model/common/tests/metric_tests/test_compute_wgtfacq.py +++ b/model/common/tests/metric_tests/test_compute_wgtfacq.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import pytest diff --git a/model/common/tests/metric_tests/test_compute_zdiff_gradp_dsl.py b/model/common/tests/metric_tests/test_compute_zdiff_gradp_dsl.py index 5cec9f5d3a..760607076e 100644 --- a/model/common/tests/metric_tests/test_compute_zdiff_gradp_dsl.py +++ b/model/common/tests/metric_tests/test_compute_zdiff_gradp_dsl.py @@ -1,16 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later - +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/common/tests/metric_tests/test_metric_fields.py b/model/common/tests/metric_tests/test_metric_fields.py index 7d44e9f6b3..b6bcc91410 100644 --- a/model/common/tests/metric_tests/test_metric_fields.py +++ b/model/common/tests/metric_tests/test_metric_fields.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import math diff --git a/model/common/tests/metric_tests/test_metric_scalars.py b/model/common/tests/metric_tests/test_metric_scalars.py index fbbe1f324e..2c7229ef18 100644 --- a/model/common/tests/metric_tests/test_metric_scalars.py +++ b/model/common/tests/metric_tests/test_metric_scalars.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from icon4py.model.common.dimension import KDim from icon4py.model.common.grid.simple import SimpleGrid diff --git a/model/common/tests/metric_tests/test_reference_atmosphere.py b/model/common/tests/metric_tests/test_reference_atmosphere.py index 14da540e00..f4404d7fc6 100644 --- a/model/common/tests/metric_tests/test_reference_atmosphere.py +++ b/model/common/tests/metric_tests/test_reference_atmosphere.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import pytest from gt4py.next.ffront.fbuiltins import int32 diff --git a/model/common/tests/stencil_tests/test_cell_2_edge_interpolation.py b/model/common/tests/stencil_tests/test_cell_2_edge_interpolation.py index 2fc08cd0e3..011c5d7a3e 100644 --- a/model/common/tests/stencil_tests/test_cell_2_edge_interpolation.py +++ b/model/common/tests/stencil_tests/test_cell_2_edge_interpolation.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/common/tests/stencil_tests/test_compute_cell_2_vertex_interpolation.py b/model/common/tests/stencil_tests/test_compute_cell_2_vertex_interpolation.py index fd362e7976..5ea5609f34 100644 --- a/model/common/tests/stencil_tests/test_compute_cell_2_vertex_interpolation.py +++ b/model/common/tests/stencil_tests/test_compute_cell_2_vertex_interpolation.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import gt4py.next as gtx import numpy as np diff --git a/model/common/tests/stencil_tests/test_diagnose_pressure.py b/model/common/tests/stencil_tests/test_diagnose_pressure.py index 9a21c9eeb5..906d06022c 100644 --- a/model/common/tests/stencil_tests/test_diagnose_pressure.py +++ b/model/common/tests/stencil_tests/test_diagnose_pressure.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/common/tests/stencil_tests/test_diagnose_surface_pressure.py b/model/common/tests/stencil_tests/test_diagnose_surface_pressure.py index e95e7e597a..ba19f83795 100644 --- a/model/common/tests/stencil_tests/test_diagnose_surface_pressure.py +++ b/model/common/tests/stencil_tests/test_diagnose_surface_pressure.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/common/tests/stencil_tests/test_diagnose_temperature.py b/model/common/tests/stencil_tests/test_diagnose_temperature.py index 9ebac04c24..60be3781fa 100644 --- a/model/common/tests/stencil_tests/test_diagnose_temperature.py +++ b/model/common/tests/stencil_tests/test_diagnose_temperature.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/common/tests/stencil_tests/test_edge_2_cell_vector_rbf_interpolation.py b/model/common/tests/stencil_tests/test_edge_2_cell_vector_rbf_interpolation.py index d9f77c7abb..0142174e46 100644 --- a/model/common/tests/stencil_tests/test_edge_2_cell_vector_rbf_interpolation.py +++ b/model/common/tests/stencil_tests/test_edge_2_cell_vector_rbf_interpolation.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/common/tests/stencil_tests/test_mo_intp_rbf_rbf_vec_interpol_vertex.py b/model/common/tests/stencil_tests/test_mo_intp_rbf_rbf_vec_interpol_vertex.py index ea5c6fd17a..f0017970e0 100644 --- a/model/common/tests/stencil_tests/test_mo_intp_rbf_rbf_vec_interpol_vertex.py +++ b/model/common/tests/stencil_tests/test_mo_intp_rbf_rbf_vec_interpol_vertex.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import numpy as np import pytest diff --git a/model/driver/.pre-commit-config.yaml b/model/driver/.pre-commit-config.yaml index 54e2c475d7..b80cdccdc3 100644 --- a/model/driver/.pre-commit-config.yaml +++ b/model/driver/.pre-commit-config.yaml @@ -52,7 +52,7 @@ repos: types_or: [markdown, json] - repo: https://github.com/Lucas-C/pre-commit-hooks - rev: v1.3.0 + rev: v1.5.5 hooks: - id: insert-license name: add license for all ICON4Py Python source files diff --git a/model/driver/LICENSE b/model/driver/LICENSE new file mode 100644 index 0000000000..61241df23f --- /dev/null +++ b/model/driver/LICENSE @@ -0,0 +1,31 @@ + ICON4Py - ICON inspired code in Python and GT4Py + + Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss + 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. diff --git a/model/driver/pyproject.toml b/model/driver/pyproject.toml index ae3d7af30e..6d5c9aba2c 100644 --- a/model/driver/pyproject.toml +++ b/model/driver/pyproject.toml @@ -10,7 +10,7 @@ authors = [ classifiers = [ "Development Status :: 3 - Alpha", "Intended Audience :: Science/Research", - "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", + "License :: OSI Approved :: BSD License", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 3", diff --git a/model/driver/src/icon4py/model/driver/__init__.py b/model/driver/src/icon4py/model/driver/__init__.py index dab7089554..9067bb0dad 100644 --- a/model/driver/src/icon4py/model/driver/__init__.py +++ b/model/driver/src/icon4py/model/driver/__init__.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from typing import Final from packaging import version as pkg_version @@ -24,9 +20,9 @@ ] -__author__: Final = "ETH Zurich and individual contributors" -__copyright__: Final = "Copyright (c) 2014-2022 ETH Zurich" -__license__: Final = "GPL-3.0-or-later" +__author__: Final = "ETH Zurich, MeteoSwiss and individual contributors" +__copyright__: Final = "Copyright (c) 2022-2024 ETH Zurich and MeteoSwiss" +__license__: Final = "BSD-3-Clause" __version__: Final = "0.0.6" diff --git a/model/driver/src/icon4py/model/driver/icon4py_configuration.py b/model/driver/src/icon4py/model/driver/icon4py_configuration.py index 9c116d1a3a..66e1073559 100644 --- a/model/driver/src/icon4py/model/driver/icon4py_configuration.py +++ b/model/driver/src/icon4py/model/driver/icon4py_configuration.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import dataclasses import datetime import logging diff --git a/model/driver/src/icon4py/model/driver/icon4py_driver.py b/model/driver/src/icon4py/model/driver/icon4py_driver.py index e065af4ad0..3d97629ca8 100644 --- a/model/driver/src/icon4py/model/driver/icon4py_driver.py +++ b/model/driver/src/icon4py/model/driver/icon4py_driver.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import datetime import logging import pathlib diff --git a/model/driver/src/icon4py/model/driver/initialization_utils.py b/model/driver/src/icon4py/model/driver/initialization_utils.py index d945a4d914..71cdf2040f 100644 --- a/model/driver/src/icon4py/model/driver/initialization_utils.py +++ b/model/driver/src/icon4py/model/driver/initialization_utils.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import enum import functools diff --git a/model/driver/src/icon4py/model/driver/serialbox_helpers.py b/model/driver/src/icon4py/model/driver/serialbox_helpers.py index c2fc41167c..a3e33cbe5f 100644 --- a/model/driver/src/icon4py/model/driver/serialbox_helpers.py +++ b/model/driver/src/icon4py/model/driver/serialbox_helpers.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from icon4py.model.atmosphere.diffusion import diffusion_states as diffus_states from icon4py.model.common.dimension import CEDim diff --git a/model/driver/src/icon4py/model/driver/test_cases/__init__.py b/model/driver/src/icon4py/model/driver/test_cases/__init__.py index dab7089554..9067bb0dad 100644 --- a/model/driver/src/icon4py/model/driver/test_cases/__init__.py +++ b/model/driver/src/icon4py/model/driver/test_cases/__init__.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from typing import Final from packaging import version as pkg_version @@ -24,9 +20,9 @@ ] -__author__: Final = "ETH Zurich and individual contributors" -__copyright__: Final = "Copyright (c) 2014-2022 ETH Zurich" -__license__: Final = "GPL-3.0-or-later" +__author__: Final = "ETH Zurich, MeteoSwiss and individual contributors" +__copyright__: Final = "Copyright (c) 2022-2024 ETH Zurich and MeteoSwiss" +__license__: Final = "BSD-3-Clause" __version__: Final = "0.0.6" diff --git a/model/driver/src/icon4py/model/driver/test_cases/gauss3d.py b/model/driver/src/icon4py/model/driver/test_cases/gauss3d.py index 49f25350d1..0793660f68 100644 --- a/model/driver/src/icon4py/model/driver/test_cases/gauss3d.py +++ b/model/driver/src/icon4py/model/driver/test_cases/gauss3d.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import logging import pathlib diff --git a/model/driver/src/icon4py/model/driver/test_cases/jablonowski_williamson.py b/model/driver/src/icon4py/model/driver/test_cases/jablonowski_williamson.py index bed6e26bca..2712462b3a 100644 --- a/model/driver/src/icon4py/model/driver/test_cases/jablonowski_williamson.py +++ b/model/driver/src/icon4py/model/driver/test_cases/jablonowski_williamson.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import logging import math diff --git a/model/driver/src/icon4py/model/driver/test_cases/utils.py b/model/driver/src/icon4py/model/driver/test_cases/utils.py index 7c48c3ad54..e011226fcd 100644 --- a/model/driver/src/icon4py/model/driver/test_cases/utils.py +++ b/model/driver/src/icon4py/model/driver/test_cases/utils.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from icon4py.model.common import constants as phy_const from icon4py.model.common.dimension import EdgeDim diff --git a/model/driver/tests/conftest.py b/model/driver/tests/conftest.py index 462a387772..c7c5517c48 100644 --- a/model/driver/tests/conftest.py +++ b/model/driver/tests/conftest.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from datetime import datetime, timedelta diff --git a/model/driver/tests/driver_tests/__init__.py b/model/driver/tests/driver_tests/__init__.py index a6d2d236c9..80b673df7e 100644 --- a/model/driver/tests/driver_tests/__init__.py +++ b/model/driver/tests/driver_tests/__init__.py @@ -1,13 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause diff --git a/model/driver/tests/driver_tests/test_timeloop.py b/model/driver/tests/driver_tests/test_timeloop.py index 319217fcdd..f679bdc923 100644 --- a/model/driver/tests/driver_tests/test_timeloop.py +++ b/model/driver/tests/driver_tests/test_timeloop.py @@ -1,16 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later - +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import pytest diff --git a/model/driver/tests/driver_tests/utils.py b/model/driver/tests/driver_tests/utils.py index c0cf47836f..60335eeb3c 100644 --- a/model/driver/tests/driver_tests/utils.py +++ b/model/driver/tests/driver_tests/utils.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from datetime import datetime, timedelta diff --git a/model/driver/tests/initial_condition_tests/test_gauss3d.py b/model/driver/tests/initial_condition_tests/test_gauss3d.py index 8701e0d7c3..f3daed8ff5 100644 --- a/model/driver/tests/initial_condition_tests/test_gauss3d.py +++ b/model/driver/tests/initial_condition_tests/test_gauss3d.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import pytest diff --git a/model/driver/tests/initial_condition_tests/test_jablonowski_williamson.py b/model/driver/tests/initial_condition_tests/test_jablonowski_williamson.py index c023245028..a9ddd434b4 100644 --- a/model/driver/tests/initial_condition_tests/test_jablonowski_williamson.py +++ b/model/driver/tests/initial_condition_tests/test_jablonowski_williamson.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import pytest diff --git a/model/driver/tests/initial_condition_tests/test_utils.py b/model/driver/tests/initial_condition_tests/test_utils.py index 0624b74a6b..f675bfe6b2 100644 --- a/model/driver/tests/initial_condition_tests/test_utils.py +++ b/model/driver/tests/initial_condition_tests/test_utils.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from icon4py.model.common.settings import xp from icon4py.model.common.test_utils import helpers diff --git a/model/tox.ini b/model/tox.ini index 39ce4ab666..82fafd3799 100644 --- a/model/tox.ini +++ b/model/tox.ini @@ -51,3 +51,4 @@ commands_post = [pytest] addopts = -p icon4py.model.common.test_utils.pytest_config +norecursedirs=*_external_src diff --git a/pytest.ini b/pytest.ini index 60bb4d8630..4a459d092e 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,5 +1,5 @@ [pytest] -norecursedirs = _external_src +norecursedirs = *_external_src markers = slow_tests: mark test as slow. datatest: test depending on serialized data generated by a full model run diff --git a/tools/.license_header.txt b/tools/.license_header.txt index 8e88814589..65aab1bc58 100644 --- a/tools/.license_header.txt +++ b/tools/.license_header.txt @@ -1,12 +1,7 @@ ICON4Py - ICON inspired code in Python and GT4Py -Copyright (c) 2022, ETH Zurich and MeteoSwiss +Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss All rights reserved. -This file is free software: you can redistribute it and/or modify it under -the terms of the GNU General Public License as published by the -Free Software Foundation, either version 3 of the License, or any later -version. See the LICENSE.txt file at the top-level directory of this -distribution for a copy of the license or check . - -SPDX-License-Identifier: GPL-3.0-or-later +Please, refer to the LICENSE file in the root directory. +SPDX-License-Identifier: BSD-3-Clause diff --git a/tools/.pre-commit-config.yaml b/tools/.pre-commit-config.yaml index 7188d1cecc..4a7105aa91 100644 --- a/tools/.pre-commit-config.yaml +++ b/tools/.pre-commit-config.yaml @@ -52,7 +52,7 @@ repos: types_or: [markdown, json] - repo: https://github.com/Lucas-C/pre-commit-hooks - rev: v1.3.0 + rev: v1.5.5 hooks: - id: insert-license name: add license for all ICON4Py Python source files diff --git a/tools/LICENSE b/tools/LICENSE index f288702d2f..61241df23f 100644 --- a/tools/LICENSE +++ b/tools/LICENSE @@ -1,674 +1,31 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - Copyright (C) - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -. + ICON4Py - ICON inspired code in Python and GT4Py + + Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss + 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. diff --git a/tools/pyproject.toml b/tools/pyproject.toml index 8bb7d3df53..7444585b6c 100644 --- a/tools/pyproject.toml +++ b/tools/pyproject.toml @@ -7,7 +7,7 @@ authors = [{email = 'gridtools@cscs.ch'}, {name = 'ETH Zurich'}] classifiers = [ 'Development Status :: 3 - Alpha', 'Intended Audience :: Science/Research', - 'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)', + 'License :: OSI Approved :: BSD License', 'Operating System :: POSIX', 'Programming Language :: Python', 'Programming Language :: Python :: 3', diff --git a/tools/src/icon4pytools/__init__.py b/tools/src/icon4pytools/__init__.py index ae71b6e01d..5a606d21af 100644 --- a/tools/src/icon4pytools/__init__.py +++ b/tools/src/icon4pytools/__init__.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause """Package metadata: version, authors, license and copyright.""" @@ -27,9 +22,9 @@ ] -__author__: Final = "ETH Zurich and individual contributors" -__copyright__: Final = "Copyright (c) 2014-2022 ETH Zurich" -__license__: Final = "GPL-3.0-or-later" +__author__: Final = "ETH Zurich, MeteoSwiss and individual contributors" +__copyright__: Final = "Copyright (c) 2022-2024 ETH Zurich and MeteoSwiss" +__license__: Final = "BSD-3-Clause" __version__: Final = "0.0.6" diff --git a/tools/src/icon4pytools/common/__init__.py b/tools/src/icon4pytools/common/__init__.py index 0da2c55dd5..a79e61920c 100644 --- a/tools/src/icon4pytools/common/__init__.py +++ b/tools/src/icon4pytools/common/__init__.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause ICON4PY_MODEL_QUALIFIED_NAME = "icon4py.model" diff --git a/tools/src/icon4pytools/common/logger.py b/tools/src/icon4pytools/common/logger.py index d7f7341fed..83501ee3b6 100644 --- a/tools/src/icon4pytools/common/logger.py +++ b/tools/src/icon4pytools/common/logger.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import logging diff --git a/tools/src/icon4pytools/f2ser/__init__.py b/tools/src/icon4pytools/f2ser/__init__.py index 15dfdb0098..80b673df7e 100644 --- a/tools/src/icon4pytools/f2ser/__init__.py +++ b/tools/src/icon4pytools/f2ser/__init__.py @@ -1,12 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + diff --git a/tools/src/icon4pytools/f2ser/cli.py b/tools/src/icon4pytools/f2ser/cli.py index 290d8a54f9..0a269a67f1 100644 --- a/tools/src/icon4pytools/f2ser/cli.py +++ b/tools/src/icon4pytools/f2ser/cli.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import pathlib from typing import Optional diff --git a/tools/src/icon4pytools/f2ser/deserialise.py b/tools/src/icon4pytools/f2ser/deserialise.py index f345faae45..02da6a0c07 100644 --- a/tools/src/icon4pytools/f2ser/deserialise.py +++ b/tools/src/icon4pytools/f2ser/deserialise.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from icon4pytools.f2ser.parse import CodegenContext, ParsedGranule from icon4pytools.liskov.codegen.serialisation.interface import ( diff --git a/tools/src/icon4pytools/f2ser/exceptions.py b/tools/src/icon4pytools/f2ser/exceptions.py index 318edf9dde..b1d1a66496 100644 --- a/tools/src/icon4pytools/f2ser/exceptions.py +++ b/tools/src/icon4pytools/f2ser/exceptions.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause class MissingDerivedTypeError(Exception): diff --git a/tools/src/icon4pytools/f2ser/parse.py b/tools/src/icon4pytools/f2ser/parse.py index 85780d91a9..d489c6a333 100644 --- a/tools/src/icon4pytools/f2ser/parse.py +++ b/tools/src/icon4pytools/f2ser/parse.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import re from copy import deepcopy from dataclasses import dataclass diff --git a/tools/src/icon4pytools/icon4pygen/__init__.py b/tools/src/icon4pytools/icon4pygen/__init__.py index 15dfdb0098..80b673df7e 100644 --- a/tools/src/icon4pytools/icon4pygen/__init__.py +++ b/tools/src/icon4pytools/icon4pygen/__init__.py @@ -1,12 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + diff --git a/tools/src/icon4pytools/icon4pygen/backend.py b/tools/src/icon4pytools/icon4pygen/backend.py index 21823ee95d..3014982c5e 100644 --- a/tools/src/icon4pytools/icon4pygen/backend.py +++ b/tools/src/icon4pytools/icon4pygen/backend.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import warnings from pathlib import Path from typing import Any, Iterable, List diff --git a/tools/src/icon4pytools/icon4pygen/bindings/__init__.py b/tools/src/icon4pytools/icon4pygen/bindings/__init__.py index 15dfdb0098..80b673df7e 100644 --- a/tools/src/icon4pytools/icon4pygen/bindings/__init__.py +++ b/tools/src/icon4pytools/icon4pygen/bindings/__init__.py @@ -1,12 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + diff --git a/tools/src/icon4pytools/icon4pygen/bindings/codegen/__init__.py b/tools/src/icon4pytools/icon4pygen/bindings/codegen/__init__.py index 15dfdb0098..80b673df7e 100644 --- a/tools/src/icon4pytools/icon4pygen/bindings/codegen/__init__.py +++ b/tools/src/icon4pytools/icon4pygen/bindings/codegen/__init__.py @@ -1,12 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + diff --git a/tools/src/icon4pytools/icon4pygen/bindings/codegen/cpp.py b/tools/src/icon4pytools/icon4pygen/bindings/codegen/cpp.py index 8d6ba8f5f5..4bbe99155a 100644 --- a/tools/src/icon4pytools/icon4pygen/bindings/codegen/cpp.py +++ b/tools/src/icon4pytools/icon4pygen/bindings/codegen/cpp.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from pathlib import Path from typing import Any, Sequence diff --git a/tools/src/icon4pytools/icon4pygen/bindings/codegen/f90.py b/tools/src/icon4pytools/icon4pygen/bindings/codegen/f90.py index c1f6230cd4..52593a59b1 100644 --- a/tools/src/icon4pytools/icon4pygen/bindings/codegen/f90.py +++ b/tools/src/icon4pytools/icon4pygen/bindings/codegen/f90.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from pathlib import Path from typing import Any, Sequence, Union diff --git a/tools/src/icon4pytools/icon4pygen/bindings/codegen/header.py b/tools/src/icon4pytools/icon4pygen/bindings/codegen/header.py index 6a9d01e60c..0c8d42c736 100644 --- a/tools/src/icon4pytools/icon4pygen/bindings/codegen/header.py +++ b/tools/src/icon4pytools/icon4pygen/bindings/codegen/header.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from pathlib import Path from typing import Any, Sequence diff --git a/tools/src/icon4pytools/icon4pygen/bindings/codegen/render/__init__.py b/tools/src/icon4pytools/icon4pygen/bindings/codegen/render/__init__.py index 15dfdb0098..80b673df7e 100644 --- a/tools/src/icon4pytools/icon4pygen/bindings/codegen/render/__init__.py +++ b/tools/src/icon4pytools/icon4pygen/bindings/codegen/render/__init__.py @@ -1,12 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + diff --git a/tools/src/icon4pytools/icon4pygen/bindings/codegen/render/field.py b/tools/src/icon4pytools/icon4pygen/bindings/codegen/render/field.py index 79c67cd819..fdb2905600 100644 --- a/tools/src/icon4pytools/icon4pygen/bindings/codegen/render/field.py +++ b/tools/src/icon4pytools/icon4pygen/bindings/codegen/render/field.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from dataclasses import dataclass from typing import cast diff --git a/tools/src/icon4pytools/icon4pygen/bindings/codegen/render/location.py b/tools/src/icon4pytools/icon4pygen/bindings/codegen/render/location.py index 712010a576..59ff67d1ee 100644 --- a/tools/src/icon4pytools/icon4pygen/bindings/codegen/render/location.py +++ b/tools/src/icon4pytools/icon4pygen/bindings/codegen/render/location.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from typing import ClassVar from icon4pytools.icon4pygen.bindings.exceptions import BindingsRenderingException diff --git a/tools/src/icon4pytools/icon4pygen/bindings/codegen/render/offset.py b/tools/src/icon4pytools/icon4pygen/bindings/codegen/render/offset.py index aa40dcf2ad..b2093b3004 100644 --- a/tools/src/icon4pytools/icon4pygen/bindings/codegen/render/offset.py +++ b/tools/src/icon4pytools/icon4pygen/bindings/codegen/render/offset.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from dataclasses import dataclass from typing import Sequence diff --git a/tools/src/icon4pytools/icon4pygen/bindings/codegen/type_conversion.py b/tools/src/icon4pytools/icon4pygen/bindings/codegen/type_conversion.py index cb86c05a65..f8a477dfb1 100644 --- a/tools/src/icon4pytools/icon4pygen/bindings/codegen/type_conversion.py +++ b/tools/src/icon4pytools/icon4pygen/bindings/codegen/type_conversion.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.type_system import type_specifications as ts diff --git a/tools/src/icon4pytools/icon4pygen/bindings/codegen/types.py b/tools/src/icon4pytools/icon4pygen/bindings/codegen/types.py index e7b63c2230..94b6d51e4d 100644 --- a/tools/src/icon4pytools/icon4pygen/bindings/codegen/types.py +++ b/tools/src/icon4pytools/icon4pygen/bindings/codegen/types.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import abc from abc import ABC from dataclasses import dataclass diff --git a/tools/src/icon4pytools/icon4pygen/bindings/entities.py b/tools/src/icon4pytools/icon4pygen/bindings/entities.py index d8d77ada33..d6d1910a37 100644 --- a/tools/src/icon4pytools/icon4pygen/bindings/entities.py +++ b/tools/src/icon4pytools/icon4pygen/bindings/entities.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from typing import cast diff --git a/tools/src/icon4pytools/icon4pygen/bindings/exceptions.py b/tools/src/icon4pytools/icon4pygen/bindings/exceptions.py index 6508946680..c9d8c4bd7f 100644 --- a/tools/src/icon4pytools/icon4pygen/bindings/exceptions.py +++ b/tools/src/icon4pytools/icon4pygen/bindings/exceptions.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause class BindingsTypeConsistencyException(Exception): diff --git a/tools/src/icon4pytools/icon4pygen/bindings/locations.py b/tools/src/icon4pytools/icon4pygen/bindings/locations.py index daafadc9d7..c5658fbcba 100644 --- a/tools/src/icon4pytools/icon4pygen/bindings/locations.py +++ b/tools/src/icon4pytools/icon4pygen/bindings/locations.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from abc import ABCMeta, abstractmethod from typing import Iterator diff --git a/tools/src/icon4pytools/icon4pygen/bindings/utils.py b/tools/src/icon4pytools/icon4pygen/bindings/utils.py index 081a560c28..286911e884 100644 --- a/tools/src/icon4pytools/icon4pygen/bindings/utils.py +++ b/tools/src/icon4pytools/icon4pygen/bindings/utils.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import shutil import subprocess diff --git a/tools/src/icon4pytools/icon4pygen/bindings/workflow.py b/tools/src/icon4pytools/icon4pygen/bindings/workflow.py index 4d0fc2ca18..a3edebce52 100644 --- a/tools/src/icon4pytools/icon4pygen/bindings/workflow.py +++ b/tools/src/icon4pytools/icon4pygen/bindings/workflow.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from pathlib import Path diff --git a/tools/src/icon4pytools/icon4pygen/cli.py b/tools/src/icon4pytools/icon4pygen/cli.py index 54580c5fbc..f86a368c02 100644 --- a/tools/src/icon4pytools/icon4pygen/cli.py +++ b/tools/src/icon4pytools/icon4pygen/cli.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause """Utilities for generating icon stencils.""" diff --git a/tools/src/icon4pytools/icon4pygen/exceptions.py b/tools/src/icon4pytools/icon4pygen/exceptions.py index 0eb7026825..f8a8d5c4ce 100644 --- a/tools/src/icon4pytools/icon4pygen/exceptions.py +++ b/tools/src/icon4pytools/icon4pygen/exceptions.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from typing import List diff --git a/tools/src/icon4pytools/icon4pygen/icochainsize.py b/tools/src/icon4pytools/icon4pygen/icochainsize.py index 4447fa17a2..b956170ed0 100644 --- a/tools/src/icon4pytools/icon4pygen/icochainsize.py +++ b/tools/src/icon4pytools/icon4pygen/icochainsize.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause r""" We encode the grid as follows. diff --git a/tools/src/icon4pytools/icon4pygen/metadata.py b/tools/src/icon4pytools/icon4pygen/metadata.py index cc812bdb75..6a12f540c4 100644 --- a/tools/src/icon4pytools/icon4pygen/metadata.py +++ b/tools/src/icon4pytools/icon4pygen/metadata.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from __future__ import annotations import importlib diff --git a/tools/src/icon4pytools/liskov/__init__.py b/tools/src/icon4pytools/liskov/__init__.py index 15dfdb0098..80b673df7e 100644 --- a/tools/src/icon4pytools/liskov/__init__.py +++ b/tools/src/icon4pytools/liskov/__init__.py @@ -1,12 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + diff --git a/tools/src/icon4pytools/liskov/cli.py b/tools/src/icon4pytools/liskov/cli.py index a118199e4d..37c69d9c45 100644 --- a/tools/src/icon4pytools/liskov/cli.py +++ b/tools/src/icon4pytools/liskov/cli.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import pathlib from typing import Optional diff --git a/tools/src/icon4pytools/liskov/codegen/__init__.py b/tools/src/icon4pytools/liskov/codegen/__init__.py index 1aa7ef4063..54cfa2d38b 100644 --- a/tools/src/icon4pytools/liskov/codegen/__init__.py +++ b/tools/src/icon4pytools/liskov/codegen/__init__.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause # required import for CheckForDirectiveClasses metaclass import icon4pytools.liskov.parsing.types as ts # noqa: F401 diff --git a/tools/src/icon4pytools/liskov/codegen/integration/__init__.py b/tools/src/icon4pytools/liskov/codegen/integration/__init__.py index 15dfdb0098..80b673df7e 100644 --- a/tools/src/icon4pytools/liskov/codegen/integration/__init__.py +++ b/tools/src/icon4pytools/liskov/codegen/integration/__init__.py @@ -1,12 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + diff --git a/tools/src/icon4pytools/liskov/codegen/integration/deserialise.py b/tools/src/icon4pytools/liskov/codegen/integration/deserialise.py index d669f220c6..5cb467fd5c 100644 --- a/tools/src/icon4pytools/liskov/codegen/integration/deserialise.py +++ b/tools/src/icon4pytools/liskov/codegen/integration/deserialise.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from typing import Any, Callable, ClassVar, Optional, Protocol, Sequence, Type, cast diff --git a/tools/src/icon4pytools/liskov/codegen/integration/exceptions.py b/tools/src/icon4pytools/liskov/codegen/integration/exceptions.py index cd7ca68398..55b8a8ed2c 100644 --- a/tools/src/icon4pytools/liskov/codegen/integration/exceptions.py +++ b/tools/src/icon4pytools/liskov/codegen/integration/exceptions.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause class UndeclaredFieldError(Exception): diff --git a/tools/src/icon4pytools/liskov/codegen/integration/generate.py b/tools/src/icon4pytools/liskov/codegen/integration/generate.py index fb8bd5ccd4..51238e9105 100644 --- a/tools/src/icon4pytools/liskov/codegen/integration/generate.py +++ b/tools/src/icon4pytools/liskov/codegen/integration/generate.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from typing import Any, Sequence, TypeGuard, Union diff --git a/tools/src/icon4pytools/liskov/codegen/integration/interface.py b/tools/src/icon4pytools/liskov/codegen/integration/interface.py index 07cb43872e..042ba272ad 100644 --- a/tools/src/icon4pytools/liskov/codegen/integration/interface.py +++ b/tools/src/icon4pytools/liskov/codegen/integration/interface.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import dataclasses from dataclasses import dataclass from typing import Optional, Sequence diff --git a/tools/src/icon4pytools/liskov/codegen/integration/template.py b/tools/src/icon4pytools/liskov/codegen/integration/template.py index 6469f0471b..5b26ded767 100644 --- a/tools/src/icon4pytools/liskov/codegen/integration/template.py +++ b/tools/src/icon4pytools/liskov/codegen/integration/template.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import re from dataclasses import asdict diff --git a/tools/src/icon4pytools/liskov/codegen/serialisation/__init__.py b/tools/src/icon4pytools/liskov/codegen/serialisation/__init__.py index 15dfdb0098..80b673df7e 100644 --- a/tools/src/icon4pytools/liskov/codegen/serialisation/__init__.py +++ b/tools/src/icon4pytools/liskov/codegen/serialisation/__init__.py @@ -1,12 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + diff --git a/tools/src/icon4pytools/liskov/codegen/serialisation/deserialise.py b/tools/src/icon4pytools/liskov/codegen/serialisation/deserialise.py index f550b4fd09..8aea8cec7b 100644 --- a/tools/src/icon4pytools/liskov/codegen/serialisation/deserialise.py +++ b/tools/src/icon4pytools/liskov/codegen/serialisation/deserialise.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import uuid from typing import Callable, ClassVar diff --git a/tools/src/icon4pytools/liskov/codegen/serialisation/generate.py b/tools/src/icon4pytools/liskov/codegen/serialisation/generate.py index fed5b8f735..81e654aa85 100644 --- a/tools/src/icon4pytools/liskov/codegen/serialisation/generate.py +++ b/tools/src/icon4pytools/liskov/codegen/serialisation/generate.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from typing import Any from icon4pytools.common.logger import setup_logger diff --git a/tools/src/icon4pytools/liskov/codegen/serialisation/interface.py b/tools/src/icon4pytools/liskov/codegen/serialisation/interface.py index 7dfb94e911..d0b977d1dd 100644 --- a/tools/src/icon4pytools/liskov/codegen/serialisation/interface.py +++ b/tools/src/icon4pytools/liskov/codegen/serialisation/interface.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from dataclasses import dataclass from typing import Optional diff --git a/tools/src/icon4pytools/liskov/codegen/serialisation/template.py b/tools/src/icon4pytools/liskov/codegen/serialisation/template.py index cf4b80d006..b954165150 100644 --- a/tools/src/icon4pytools/liskov/codegen/serialisation/template.py +++ b/tools/src/icon4pytools/liskov/codegen/serialisation/template.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from dataclasses import asdict from typing import Any, Collection, Optional diff --git a/tools/src/icon4pytools/liskov/codegen/shared/__init__.py b/tools/src/icon4pytools/liskov/codegen/shared/__init__.py index 15dfdb0098..80b673df7e 100644 --- a/tools/src/icon4pytools/liskov/codegen/shared/__init__.py +++ b/tools/src/icon4pytools/liskov/codegen/shared/__init__.py @@ -1,12 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + diff --git a/tools/src/icon4pytools/liskov/codegen/shared/deserialise.py b/tools/src/icon4pytools/liskov/codegen/shared/deserialise.py index d2ebb05226..6766c0d9aa 100644 --- a/tools/src/icon4pytools/liskov/codegen/shared/deserialise.py +++ b/tools/src/icon4pytools/liskov/codegen/shared/deserialise.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from typing import Callable, ClassVar, Type diff --git a/tools/src/icon4pytools/liskov/codegen/shared/generate.py b/tools/src/icon4pytools/liskov/codegen/shared/generate.py index 84c5d42907..e99c7ced96 100644 --- a/tools/src/icon4pytools/liskov/codegen/shared/generate.py +++ b/tools/src/icon4pytools/liskov/codegen/shared/generate.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import abc from typing import Any, Optional, Sequence, Type diff --git a/tools/src/icon4pytools/liskov/codegen/shared/types.py b/tools/src/icon4pytools/liskov/codegen/shared/types.py index 7420b6f532..4d074ec08b 100644 --- a/tools/src/icon4pytools/liskov/codegen/shared/types.py +++ b/tools/src/icon4pytools/liskov/codegen/shared/types.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from dataclasses import dataclass diff --git a/tools/src/icon4pytools/liskov/codegen/shared/write.py b/tools/src/icon4pytools/liskov/codegen/shared/write.py index a4ab1d7d0c..a5057b6edf 100644 --- a/tools/src/icon4pytools/liskov/codegen/shared/write.py +++ b/tools/src/icon4pytools/liskov/codegen/shared/write.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from pathlib import Path from typing import List diff --git a/tools/src/icon4pytools/liskov/external/__init__.py b/tools/src/icon4pytools/liskov/external/__init__.py index 15dfdb0098..80b673df7e 100644 --- a/tools/src/icon4pytools/liskov/external/__init__.py +++ b/tools/src/icon4pytools/liskov/external/__init__.py @@ -1,12 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + diff --git a/tools/src/icon4pytools/liskov/external/exceptions.py b/tools/src/icon4pytools/liskov/external/exceptions.py index fa90861a58..5c72e1ad4f 100644 --- a/tools/src/icon4pytools/liskov/external/exceptions.py +++ b/tools/src/icon4pytools/liskov/external/exceptions.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause class MissingClickContextError(Exception): diff --git a/tools/src/icon4pytools/liskov/external/gt4py.py b/tools/src/icon4pytools/liskov/external/gt4py.py index 1a9947adbd..52b620c35d 100644 --- a/tools/src/icon4pytools/liskov/external/gt4py.py +++ b/tools/src/icon4pytools/liskov/external/gt4py.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import importlib from inspect import getmembers diff --git a/tools/src/icon4pytools/liskov/external/metadata.py b/tools/src/icon4pytools/liskov/external/metadata.py index 66016bd551..dea8051645 100644 --- a/tools/src/icon4pytools/liskov/external/metadata.py +++ b/tools/src/icon4pytools/liskov/external/metadata.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import datetime from typing import Any diff --git a/tools/src/icon4pytools/liskov/parsing/__init__.py b/tools/src/icon4pytools/liskov/parsing/__init__.py index 15dfdb0098..80b673df7e 100644 --- a/tools/src/icon4pytools/liskov/parsing/__init__.py +++ b/tools/src/icon4pytools/liskov/parsing/__init__.py @@ -1,12 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + diff --git a/tools/src/icon4pytools/liskov/parsing/exceptions.py b/tools/src/icon4pytools/liskov/parsing/exceptions.py index 9ddacb94ad..bbeb68b1b9 100644 --- a/tools/src/icon4pytools/liskov/parsing/exceptions.py +++ b/tools/src/icon4pytools/liskov/parsing/exceptions.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause class UnsupportedDirectiveError(Exception): diff --git a/tools/src/icon4pytools/liskov/parsing/parse.py b/tools/src/icon4pytools/liskov/parsing/parse.py index 05ce763f1f..6e5c471993 100644 --- a/tools/src/icon4pytools/liskov/parsing/parse.py +++ b/tools/src/icon4pytools/liskov/parsing/parse.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import collections import shutil import sys diff --git a/tools/src/icon4pytools/liskov/parsing/scan.py b/tools/src/icon4pytools/liskov/parsing/scan.py index a4da42309f..7c77de46fd 100644 --- a/tools/src/icon4pytools/liskov/parsing/scan.py +++ b/tools/src/icon4pytools/liskov/parsing/scan.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from dataclasses import dataclass from pathlib import Path from typing import Any diff --git a/tools/src/icon4pytools/liskov/parsing/transform.py b/tools/src/icon4pytools/liskov/parsing/transform.py index ed1c8ad93b..ff85387257 100644 --- a/tools/src/icon4pytools/liskov/parsing/transform.py +++ b/tools/src/icon4pytools/liskov/parsing/transform.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from typing import Any, Optional from icon4pytools.common.logger import setup_logger diff --git a/tools/src/icon4pytools/liskov/parsing/types.py b/tools/src/icon4pytools/liskov/parsing/types.py index 8889e5de65..d15e945e3d 100644 --- a/tools/src/icon4pytools/liskov/parsing/types.py +++ b/tools/src/icon4pytools/liskov/parsing/types.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from dataclasses import dataclass from typing import Any, Protocol, Sequence, TypeAlias, TypedDict, runtime_checkable diff --git a/tools/src/icon4pytools/liskov/parsing/utils.py b/tools/src/icon4pytools/liskov/parsing/utils.py index a253cd9618..b685683faf 100644 --- a/tools/src/icon4pytools/liskov/parsing/utils.py +++ b/tools/src/icon4pytools/liskov/parsing/utils.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from typing import Sequence, Type from icon4pytools.liskov.parsing import types as ts diff --git a/tools/src/icon4pytools/liskov/parsing/validation.py b/tools/src/icon4pytools/liskov/parsing/validation.py index 905faeb771..51ad798af9 100644 --- a/tools/src/icon4pytools/liskov/parsing/validation.py +++ b/tools/src/icon4pytools/liskov/parsing/validation.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import re from abc import abstractmethod diff --git a/tools/src/icon4pytools/liskov/pipeline/__init__.py b/tools/src/icon4pytools/liskov/pipeline/__init__.py index 15dfdb0098..80b673df7e 100644 --- a/tools/src/icon4pytools/liskov/pipeline/__init__.py +++ b/tools/src/icon4pytools/liskov/pipeline/__init__.py @@ -1,12 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + diff --git a/tools/src/icon4pytools/liskov/pipeline/collection.py b/tools/src/icon4pytools/liskov/pipeline/collection.py index 8b924926b3..764b85cd48 100644 --- a/tools/src/icon4pytools/liskov/pipeline/collection.py +++ b/tools/src/icon4pytools/liskov/pipeline/collection.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from pathlib import Path from typing import Any, Optional diff --git a/tools/src/icon4pytools/liskov/pipeline/definition.py b/tools/src/icon4pytools/liskov/pipeline/definition.py index 6fb9bef3bc..c9e7a724cc 100644 --- a/tools/src/icon4pytools/liskov/pipeline/definition.py +++ b/tools/src/icon4pytools/liskov/pipeline/definition.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from abc import ABC, abstractmethod from functools import wraps diff --git a/tools/src/icon4pytools/py2fgen/__init__.py b/tools/src/icon4pytools/py2fgen/__init__.py index 15dfdb0098..80b673df7e 100644 --- a/tools/src/icon4pytools/py2fgen/__init__.py +++ b/tools/src/icon4pytools/py2fgen/__init__.py @@ -1,12 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + diff --git a/tools/src/icon4pytools/py2fgen/cli.py b/tools/src/icon4pytools/py2fgen/cli.py index 8da1453118..d4a072a988 100644 --- a/tools/src/icon4pytools/py2fgen/cli.py +++ b/tools/src/icon4pytools/py2fgen/cli.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import pathlib import click diff --git a/tools/src/icon4pytools/py2fgen/generate.py b/tools/src/icon4pytools/py2fgen/generate.py index ded6274a73..161c74351a 100644 --- a/tools/src/icon4pytools/py2fgen/generate.py +++ b/tools/src/icon4pytools/py2fgen/generate.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from typing import Optional diff --git a/tools/src/icon4pytools/py2fgen/parsing.py b/tools/src/icon4pytools/py2fgen/parsing.py index 1cc8ede610..059804ac24 100644 --- a/tools/src/icon4pytools/py2fgen/parsing.py +++ b/tools/src/icon4pytools/py2fgen/parsing.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import ast import importlib diff --git a/tools/src/icon4pytools/py2fgen/plugin.py b/tools/src/icon4pytools/py2fgen/plugin.py index 7b5b479b3a..dcdc2e116b 100644 --- a/tools/src/icon4pytools/py2fgen/plugin.py +++ b/tools/src/icon4pytools/py2fgen/plugin.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import logging import math import typing diff --git a/tools/src/icon4pytools/py2fgen/template.py b/tools/src/icon4pytools/py2fgen/template.py index af8a6e23be..5b2936eecc 100644 --- a/tools/src/icon4pytools/py2fgen/template.py +++ b/tools/src/icon4pytools/py2fgen/template.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import inspect from typing import Any, Sequence diff --git a/tools/src/icon4pytools/py2fgen/utils.py b/tools/src/icon4pytools/py2fgen/utils.py index 3fad1c34b8..3ded2f97c7 100644 --- a/tools/src/icon4pytools/py2fgen/utils.py +++ b/tools/src/icon4pytools/py2fgen/utils.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import importlib import os from pathlib import Path diff --git a/tools/src/icon4pytools/py2fgen/wrappers/__init__.py b/tools/src/icon4pytools/py2fgen/wrappers/__init__.py index 15dfdb0098..80b673df7e 100644 --- a/tools/src/icon4pytools/py2fgen/wrappers/__init__.py +++ b/tools/src/icon4pytools/py2fgen/wrappers/__init__.py @@ -1,12 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + diff --git a/tools/src/icon4pytools/py2fgen/wrappers/diffusion.py b/tools/src/icon4pytools/py2fgen/wrappers/diffusion.py index 299c353a2d..377f6966b0 100644 --- a/tools/src/icon4pytools/py2fgen/wrappers/diffusion.py +++ b/tools/src/icon4pytools/py2fgen/wrappers/diffusion.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + # type: ignore """ diff --git a/tools/src/icon4pytools/py2fgen/wrappers/simple.py b/tools/src/icon4pytools/py2fgen/wrappers/simple.py index 2d9c8ec0dc..fccdb4364e 100644 --- a/tools/src/icon4pytools/py2fgen/wrappers/simple.py +++ b/tools/src/icon4pytools/py2fgen/wrappers/simple.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + # mypy: ignore-errors import cProfile import pstats diff --git a/tools/tests/conftest.py b/tools/tests/conftest.py index d9a0c2ac4c..868a17ab41 100644 --- a/tools/tests/conftest.py +++ b/tools/tests/conftest.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import os from importlib import reload diff --git a/tools/tests/f2ser/__init__.py b/tools/tests/f2ser/__init__.py index 15dfdb0098..80b673df7e 100644 --- a/tools/tests/f2ser/__init__.py +++ b/tools/tests/f2ser/__init__.py @@ -1,12 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + diff --git a/tools/tests/f2ser/conftest.py b/tools/tests/f2ser/conftest.py index e0a1bcb796..481d6946d1 100644 --- a/tools/tests/f2ser/conftest.py +++ b/tools/tests/f2ser/conftest.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from pathlib import Path diff --git a/tools/tests/f2ser/test_f2ser_cli.py b/tools/tests/f2ser/test_f2ser_cli.py index 83c4ea1691..267eb52ee5 100644 --- a/tools/tests/f2ser/test_f2ser_cli.py +++ b/tools/tests/f2ser/test_f2ser_cli.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import pytest from click.testing import CliRunner diff --git a/tools/tests/f2ser/test_f2ser_codegen.py b/tools/tests/f2ser/test_f2ser_codegen.py index b3a41c2972..e22b32bbfe 100644 --- a/tools/tests/f2ser/test_f2ser_codegen.py +++ b/tools/tests/f2ser/test_f2ser_codegen.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import pytest diff --git a/tools/tests/f2ser/test_granule_deserialiser.py b/tools/tests/f2ser/test_granule_deserialiser.py index d0f478e7ce..114efbb907 100644 --- a/tools/tests/f2ser/test_granule_deserialiser.py +++ b/tools/tests/f2ser/test_granule_deserialiser.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import pytest from icon4pytools.f2ser.deserialise import ParsedGranuleDeserialiser diff --git a/tools/tests/f2ser/test_parsing.py b/tools/tests/f2ser/test_parsing.py index b0346e72f1..cd2ba2d068 100644 --- a/tools/tests/f2ser/test_parsing.py +++ b/tools/tests/f2ser/test_parsing.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import pytest diff --git a/tools/tests/icon4pygen/__init__.py b/tools/tests/icon4pygen/__init__.py index 15dfdb0098..80b673df7e 100644 --- a/tools/tests/icon4pygen/__init__.py +++ b/tools/tests/icon4pygen/__init__.py @@ -1,12 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + diff --git a/tools/tests/icon4pygen/conftest.py b/tools/tests/icon4pygen/conftest.py index adfe3517d1..13527fcae1 100644 --- a/tools/tests/icon4pygen/conftest.py +++ b/tools/tests/icon4pygen/conftest.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from icon4pytools.common import ICON4PY_MODEL_QUALIFIED_NAME diff --git a/tools/tests/icon4pygen/test_backend.py b/tools/tests/icon4pygen/test_backend.py index a6c84b798d..b1a877cf41 100644 --- a/tools/tests/icon4pygen/test_backend.py +++ b/tools/tests/icon4pygen/test_backend.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import re import pytest diff --git a/tools/tests/icon4pygen/test_codegen.py b/tools/tests/icon4pygen/test_codegen.py index 18e803822a..61d8f27d7e 100644 --- a/tools/tests/icon4pygen/test_codegen.py +++ b/tools/tests/icon4pygen/test_codegen.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import os import pkgutil diff --git a/tools/tests/icon4pygen/test_exceptions.py b/tools/tests/icon4pygen/test_exceptions.py index d86a3854e8..5c64c0f4d7 100644 --- a/tools/tests/icon4pygen/test_exceptions.py +++ b/tools/tests/icon4pygen/test_exceptions.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import pytest from gt4py.next.ffront.decorator import field_operator, program diff --git a/tools/tests/icon4pygen/test_field_rendering.py b/tools/tests/icon4pygen/test_field_rendering.py index c7476532c9..2a99e59534 100644 --- a/tools/tests/icon4pygen/test_field_rendering.py +++ b/tools/tests/icon4pygen/test_field_rendering.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from gt4py.next.ffront.decorator import field_operator, program from gt4py.next.ffront.fbuiltins import Field, neighbor_sum diff --git a/tools/tests/icon4pygen/test_icochainsize.py b/tools/tests/icon4pygen/test_icochainsize.py index 7bb2b3044a..af6afa3762 100644 --- a/tools/tests/icon4pygen/test_icochainsize.py +++ b/tools/tests/icon4pygen/test_icochainsize.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import pytest diff --git a/tools/tests/icon4pygen/test_metadata.py b/tools/tests/icon4pygen/test_metadata.py index 0afc8855c7..7a166e7e14 100644 --- a/tools/tests/icon4pygen/test_metadata.py +++ b/tools/tests/icon4pygen/test_metadata.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import pytest from gt4py.next.common import Field diff --git a/tools/tests/liskov/__init__.py b/tools/tests/liskov/__init__.py index 15dfdb0098..80b673df7e 100644 --- a/tools/tests/liskov/__init__.py +++ b/tools/tests/liskov/__init__.py @@ -1,12 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + diff --git a/tools/tests/liskov/conftest.py b/tools/tests/liskov/conftest.py index 416941b8d7..d81962191f 100644 --- a/tools/tests/liskov/conftest.py +++ b/tools/tests/liskov/conftest.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from pathlib import Path diff --git a/tools/tests/liskov/fortran_samples.py b/tools/tests/liskov/fortran_samples.py index b75af02ab0..811bbfaa74 100644 --- a/tools/tests/liskov/fortran_samples.py +++ b/tools/tests/liskov/fortran_samples.py @@ -1,16 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later - +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause NO_DIRECTIVES_STENCIL = """\ !$ACC PARALLEL LOOP DEFAULT(NONE) GANG VECTOR COLLAPSE(2) ASYNC(1) IF( i_am_accel_node .AND. acc_on ) diff --git a/tools/tests/liskov/test_cli.py b/tools/tests/liskov/test_cli.py index 292374ba7f..fee4a7323d 100644 --- a/tools/tests/liskov/test_cli.py +++ b/tools/tests/liskov/test_cli.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import itertools diff --git a/tools/tests/liskov/test_code_metadata.py b/tools/tests/liskov/test_code_metadata.py index 77317acd86..e311345b8e 100644 --- a/tools/tests/liskov/test_code_metadata.py +++ b/tools/tests/liskov/test_code_metadata.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from datetime import datetime from pathlib import Path from unittest import mock diff --git a/tools/tests/liskov/test_directives_deserialiser.py b/tools/tests/liskov/test_directives_deserialiser.py index 8b7cfc37a1..7f5ea64dc8 100644 --- a/tools/tests/liskov/test_directives_deserialiser.py +++ b/tools/tests/liskov/test_directives_deserialiser.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import unittest diff --git a/tools/tests/liskov/test_external.py b/tools/tests/liskov/test_external.py index 454d01e428..b87b308d54 100644 --- a/tools/tests/liskov/test_external.py +++ b/tools/tests/liskov/test_external.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import os from pathlib import Path diff --git a/tools/tests/liskov/test_generation.py b/tools/tests/liskov/test_generation.py index b715f6b643..8c71e2f84e 100644 --- a/tools/tests/liskov/test_generation.py +++ b/tools/tests/liskov/test_generation.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import pytest diff --git a/tools/tests/liskov/test_parser.py b/tools/tests/liskov/test_parser.py index 8828e48e5a..c650291cdb 100644 --- a/tools/tests/liskov/test_parser.py +++ b/tools/tests/liskov/test_parser.py @@ -1,16 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later - +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from collections import defaultdict diff --git a/tools/tests/liskov/test_scanner.py b/tools/tests/liskov/test_scanner.py index aa3ac80c74..ea5adc5bb7 100644 --- a/tools/tests/liskov/test_scanner.py +++ b/tools/tests/liskov/test_scanner.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import string import tempfile from pathlib import Path diff --git a/tools/tests/liskov/test_serialisation_deserialiser.py b/tools/tests/liskov/test_serialisation_deserialiser.py index 518029af3a..9664edc208 100644 --- a/tools/tests/liskov/test_serialisation_deserialiser.py +++ b/tools/tests/liskov/test_serialisation_deserialiser.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import pytest diff --git a/tools/tests/liskov/test_transform.py b/tools/tests/liskov/test_transform.py index 1ac5a2bcbb..69a517225f 100644 --- a/tools/tests/liskov/test_transform.py +++ b/tools/tests/liskov/test_transform.py @@ -1,16 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later - +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import pytest diff --git a/tools/tests/liskov/test_utils.py b/tools/tests/liskov/test_utils.py index 82d5a742e4..38818c3b72 100644 --- a/tools/tests/liskov/test_utils.py +++ b/tools/tests/liskov/test_utils.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + from copy import deepcopy import pytest diff --git a/tools/tests/liskov/test_validation.py b/tools/tests/liskov/test_validation.py index 57165e3002..dfc21d9630 100644 --- a/tools/tests/liskov/test_validation.py +++ b/tools/tests/liskov/test_validation.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import pytest from pytest import mark diff --git a/tools/tests/liskov/test_writer.py b/tools/tests/liskov/test_writer.py index e24410120e..c8b9ac9072 100644 --- a/tools/tests/liskov/test_writer.py +++ b/tools/tests/liskov/test_writer.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from pathlib import Path from tempfile import TemporaryDirectory diff --git a/tools/tests/py2fgen/__init__.py b/tools/tests/py2fgen/__init__.py index 15dfdb0098..80b673df7e 100644 --- a/tools/tests/py2fgen/__init__.py +++ b/tools/tests/py2fgen/__init__.py @@ -1,12 +1,8 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + diff --git a/tools/tests/py2fgen/conftest.py b/tools/tests/py2fgen/conftest.py index 7ddb8d62f2..7b5561b9bd 100644 --- a/tools/tests/py2fgen/conftest.py +++ b/tools/tests/py2fgen/conftest.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause from pathlib import Path diff --git a/tools/tests/py2fgen/test_cffi.py b/tools/tests/py2fgen/test_cffi.py index a5280c5960..4582aabac0 100644 --- a/tools/tests/py2fgen/test_cffi.py +++ b/tools/tests/py2fgen/test_cffi.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import subprocess import tempfile from pathlib import Path diff --git a/tools/tests/py2fgen/test_cli.py b/tools/tests/py2fgen/test_cli.py index 5876d695e0..98889af82f 100644 --- a/tools/tests/py2fgen/test_cli.py +++ b/tools/tests/py2fgen/test_cli.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import os import subprocess diff --git a/tools/tests/py2fgen/test_codegen.py b/tools/tests/py2fgen/test_codegen.py index 1811302bbd..df4fde912c 100644 --- a/tools/tests/py2fgen/test_codegen.py +++ b/tools/tests/py2fgen/test_codegen.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + import string import pytest diff --git a/tools/tests/py2fgen/test_diffusion_wrapper.py b/tools/tests/py2fgen/test_diffusion_wrapper.py index 36b1705385..92ce2e88f1 100644 --- a/tools/tests/py2fgen/test_diffusion_wrapper.py +++ b/tools/tests/py2fgen/test_diffusion_wrapper.py @@ -1,15 +1,11 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause + # type: ignore from gt4py.next import as_field from icon4py.model.atmosphere.diffusion.diffusion import DiffusionType diff --git a/tools/tests/py2fgen/test_parsing.py b/tools/tests/py2fgen/test_parsing.py index 71c59fa1f5..d4dd8a661e 100644 --- a/tools/tests/py2fgen/test_parsing.py +++ b/tools/tests/py2fgen/test_parsing.py @@ -1,15 +1,10 @@ # ICON4Py - ICON inspired code in Python and GT4Py # -# Copyright (c) 2022, ETH Zurich and MeteoSwiss +# Copyright (c) 2022-2024, ETH Zurich and MeteoSwiss # All rights reserved. # -# This file is free software: you can redistribute it and/or modify it under -# the terms of the GNU General Public License as published by the -# Free Software Foundation, either version 3 of the License, or any later -# version. See the LICENSE.txt file at the top-level directory of this -# distribution for a copy of the license or check . -# -# SPDX-License-Identifier: GPL-3.0-or-later +# Please, refer to the LICENSE file in the root directory. +# SPDX-License-Identifier: BSD-3-Clause import ast diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000000..72f8ee1d61 --- /dev/null +++ b/tox.ini @@ -0,0 +1,14 @@ +# Tox configuration file +# Reference documentation: https://tox.readthedocs.org/ + +[tox] +envlist = + dev +skipsdist = true + +[testenv] +deps = + -r {toxinidir}/requirements-dev.txt +setenv = + PIP_SRC = _external_src +skip_install = true