Skip to content

Commit

Permalink
update license to BSD 3-clause (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
twsearle authored Nov 21, 2023
1 parent 34a921b commit c976cd3
Show file tree
Hide file tree
Showing 23 changed files with 67 additions and 61 deletions.
24 changes: 24 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
## Description

Provide a detailed description of what this PR does. What problem does it fix? What new capability does it add? This is just general guidance, feel free to delete sections you don't need below as makes the most sense to you.

## Issue(s) addressed

Resolves #<issue_number>

## Dependencies

List the other PRs that this PR is dependent on:
- [ ] ...

## Impact

Expected impact on downstream repositories or workflows:

## Checklist

- [ ] I have updated the unit tests to cover the change
- [ ] New functions are documented briefly via Doxygen comments in the code
- [ ] I have linted my code using cpplint
- [ ] I have run the unit tests
- [ ] I have run mo-bundle to check integration with the rest of JEDI and run the unit tests under all environments
28 changes: 28 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
BSD 3-Clause License

Copyright (c) 2023, Met Office

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.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ nemo-feedback
=============

![CI](https://github.com/MetOffice/nemo-feedback/actions/workflows/ci.yml/badge.svg)
[![License](https://img.shields.io/badge/License-BSD_3--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)

JEDI UFO filter for writing NEMO ocean model NetCDF feedback file format data from the UK Met Office.

Expand Down
3 changes: 1 addition & 2 deletions src/nemo-feedback/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# (C) Crown Copyright 2021, the Met Office. All rights reserved.
# (C) British Crown Copyright 2023 Met Office
#
# Refer to COPYRIGHT.txt of this distribution for details.

list( APPEND nemo_fdbk_src_files
instantiateObsFilterFactory.h
Expand Down
4 changes: 1 addition & 3 deletions src/nemo-feedback/NemoFeedback.cc
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
* (C) Crown Copyright 2020, the Met Office. All rights reserved.
*
* Refer to COPYRIGHT.txt of this distribution for details.
* (C) British Crown Copyright 2023 Met Office
*/

#include "nemo-feedback/NemoFeedback.h"
Expand Down
4 changes: 1 addition & 3 deletions src/nemo-feedback/NemoFeedback.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
* (C) Crown Copyright 2021, the Met Office. All rights reserved.
*
* Refer to COPYRIGHT.txt of this distribution for details.
* (C) British Crown Copyright 2023 Met Office
*/

#pragma once
Expand Down
4 changes: 1 addition & 3 deletions src/nemo-feedback/NemoFeedbackDataCreator.cc
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
* (C) Crown Copyright 2020, the Met Office. All rights reserved.
*
* Refer to COPYRIGHT.txt of this distribution for details.
* (C) British Crown Copyright 2023 Met Office
*/

#include "nemo-feedback/NemoFeedbackDataCreator.h"
Expand Down
4 changes: 1 addition & 3 deletions src/nemo-feedback/NemoFeedbackDataCreator.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
* (C) Crown Copyright 2021, the Met Office. All rights reserved.
*
* Refer to COPYRIGHT.txt of this distribution for details.
* (C) British Crown Copyright 2023 Met Office
*/

#pragma once
Expand Down
4 changes: 1 addition & 3 deletions src/nemo-feedback/NemoFeedbackParameterTraitsOutputDtype.cc
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
* (C) Crown Copyright 2023, the Met Office. All rights reserved.
*
* Refer to COPYRIGHT.txt of this distribution for details.
* (C) British Crown Copyright 2023 Met Office
*/

#include "nemo-feedback/NemoFeedbackParameterTraitsOutputDtype.h"
Expand Down
4 changes: 1 addition & 3 deletions src/nemo-feedback/NemoFeedbackParameterTraitsOutputDtype.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
* (C) Crown Copyright 2023, the Met Office. All rights reserved.
*
* Refer to COPYRIGHT.txt of this distribution for details.
* (C) British Crown Copyright 2023 Met Office
*/

#pragma once
Expand Down
4 changes: 1 addition & 3 deletions src/nemo-feedback/NemoFeedbackParameters.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
* (C) Crown Copyright 2020, the Met Office. All rights reserved.
*
* Refer to COPYRIGHT.txt of this distribution for details.
* (C) British Crown Copyright 2023 Met Office
*/

#pragma once
Expand Down
3 changes: 0 additions & 3 deletions src/nemo-feedback/feedback_io/Data.cc
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
/*
* (C) British Crown Copyright 2023 Met Office
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
*/


Expand Down
3 changes: 0 additions & 3 deletions src/nemo-feedback/feedback_io/Data.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
/*
* (C) British Crown Copyright 2023 Met Office
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
*/


Expand Down
3 changes: 0 additions & 3 deletions src/nemo-feedback/feedback_io/DataIndexer.cc
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
/*
* (C) British Crown Copyright 2023 Met Office
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
*/


Expand Down
3 changes: 0 additions & 3 deletions src/nemo-feedback/feedback_io/DataIndexer.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
/*
* (C) British Crown Copyright 2023 Met Office
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
*/


Expand Down
3 changes: 0 additions & 3 deletions src/nemo-feedback/feedback_io/Utils.cc
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
/*
* (C) British Crown Copyright 2023 Met Office
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
*/

#include "nemo-feedback/feedback_io/Utils.h"
Expand Down
3 changes: 0 additions & 3 deletions src/nemo-feedback/feedback_io/Utils.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
/*
* (C) British Crown Copyright 2023 Met Office
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
*/


Expand Down
5 changes: 1 addition & 4 deletions src/nemo-feedback/feedback_io/Writer.cc
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
/*
* (C) British Crown Copyright 2021 Met Office
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
* (C) British Crown Copyright 2023 Met Office
*/

#include "nemo-feedback/feedback_io/Writer.h"
Expand Down
5 changes: 1 addition & 4 deletions src/nemo-feedback/feedback_io/Writer.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
/*
* (C) British Crown Copyright 2022 Met Office
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
* (C) British Crown Copyright 2023 Met Office
*/


Expand Down
4 changes: 1 addition & 3 deletions src/nemo-feedback/instantiateObsFilterFactory.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
* (C) Crown Copyright 2020, the Met Office. All rights reserved.
*
* Refer to COPYRIGHT.txt of this distribution for details.
* (C) British Crown Copyright 2023 Met Office
*/

#pragma once
Expand Down
4 changes: 1 addition & 3 deletions src/tests/mains/TestObsFilters.cc
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
* (C) Crown Copyright 2020, the Met Office. All rights reserved.
*
* Refer to COPYRIGHT.txt of this distribution for details.
* (C) British Crown Copyright 2023 Met Office
*/

#include "../test/ufo/ObsFilters.h"
Expand Down
4 changes: 1 addition & 3 deletions src/tests/nemo-feedback/test_feedback_data.cc
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
* (C) Crown Copyright 2021, the Met Office. All rights reserved.
*
* Refer to COPYRIGHT.txt of this distribution for details.
* (C) British Crown Copyright 2023 Met Office
*/

#include <iostream>
Expand Down
4 changes: 1 addition & 3 deletions src/tests/nemo-feedback/test_feedback_writer.cc
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
* (C) Crown Copyright 2021, the Met Office. All rights reserved.
*
* Refer to COPYRIGHT.txt of this distribution for details.
* (C) British Crown Copyright 2023 Met Office
*/

#include<netcdf>
Expand Down

0 comments on commit c976cd3

Please sign in to comment.