Skip to content

Commit 479f522

Browse files
Add copyright headers.
1 parent 87f3b60 commit 479f522

File tree

7 files changed

+22
-0
lines changed

7 files changed

+22
-0
lines changed

src/access/parsers/mom6_input.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright 2025 ACCESS-NRI and contributors. See the top-level COPYRIGHT file for details.
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
"""Utilities to handle MOM6 parameter files.
25
36
The MOM6 parameter file format is described here:

src/access/parsers/nuopc_config.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright 2025 ACCESS-NRI and contributors. See the top-level COPYRIGHT file for details.
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
"""Utilities to handle NUOPC configuration files.
25
36
The `nuopc.runconfig` files use by the CESM driver, and thus by ACCESS-OM3, are a mixture of two file formats: Resource

src/access/parsers/payu_config_yaml.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright 2025 ACCESS-NRI and contributors. See the top-level COPYRIGHT file for details.
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
"""Utilities to handle payu configuration files.
25
36
Configuration for payu experiments are stored using YAML. Documentation about these files can be found here:

src/access/parsers/utils.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright 2025 ACCESS-NRI and contributors. See the top-level COPYRIGHT file for details.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
15
def convert_from_string(value: str):
26
"""Tries to convert a string to the most appropriate type. Leaves it unchanged if conversion does not succeed.
37

tests/test_mom6_input.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright 2025 ACCESS-NRI and contributors. See the top-level COPYRIGHT file for details.
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
import pytest
25
from unittest.mock import mock_open, patch
36
from pathlib import Path

tests/test_nuopc_config.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright 2025 ACCESS-NRI and contributors. See the top-level COPYRIGHT file for details.
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
import pytest
25
from unittest.mock import mock_open, patch
36
from pathlib import Path

tests/test_payu_config_yaml.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright 2025 ACCESS-NRI and contributors. See the top-level COPYRIGHT file for details.
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
import pytest
25
from unittest.mock import mock_open, patch
36
from pathlib import Path

0 commit comments

Comments
 (0)