access-profiling 0.1__tar.gz → 0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {access_profiling-0.1 → access_profiling-0.2}/.github/workflows/cd.yml +7 -7
- {access_profiling-0.1 → access_profiling-0.2}/.github/workflows/ci.yml +10 -9
- {access_profiling-0.1/src/access_profiling.egg-info → access_profiling-0.2}/PKG-INFO +4 -4
- {access_profiling-0.1 → access_profiling-0.2}/pyproject.toml +3 -3
- {access_profiling-0.1 → access_profiling-0.2}/src/access/profiling/__init__.py +10 -1
- access_profiling-0.2/src/access/profiling/access_models.py +884 -0
- access_profiling-0.2/src/access/profiling/cylc_manager.py +390 -0
- {access_profiling-0.1 → access_profiling-0.2}/src/access/profiling/experiment.py +74 -19
- access_profiling-0.2/src/access/profiling/manager.py +1049 -0
- access_profiling-0.2/src/access/profiling/payu_manager.py +761 -0
- access_profiling-0.2/src/access/profiling/scaling.py +232 -0
- {access_profiling-0.1 → access_profiling-0.2/src/access_profiling.egg-info}/PKG-INFO +4 -4
- {access_profiling-0.1 → access_profiling-0.2}/src/access_profiling.egg-info/requires.txt +3 -3
- access_profiling-0.2/tests/test_access_models.py +1145 -0
- {access_profiling-0.1 → access_profiling-0.2}/tests/test_cylc_manager.py +187 -0
- {access_profiling-0.1 → access_profiling-0.2}/tests/test_experiment.py +35 -0
- {access_profiling-0.1 → access_profiling-0.2}/tests/test_manager.py +523 -3
- access_profiling-0.2/tests/test_payu_manager.py +1373 -0
- access_profiling-0.2/tests/test_scaling.py +482 -0
- access_profiling-0.1/src/access/profiling/access_models.py +0 -84
- access_profiling-0.1/src/access/profiling/cylc_manager.py +0 -209
- access_profiling-0.1/src/access/profiling/manager.py +0 -559
- access_profiling-0.1/src/access/profiling/payu_manager.py +0 -338
- access_profiling-0.1/src/access/profiling/scaling.py +0 -128
- access_profiling-0.1/tests/test_access_models.py +0 -81
- access_profiling-0.1/tests/test_payu_manager.py +0 -491
- access_profiling-0.1/tests/test_scaling.py +0 -98
- {access_profiling-0.1 → access_profiling-0.2}/.gitignore +0 -0
- {access_profiling-0.1 → access_profiling-0.2}/.pre-commit-config.yaml +0 -0
- {access_profiling-0.1 → access_profiling-0.2}/COPYRIGHT.txt +0 -0
- {access_profiling-0.1 → access_profiling-0.2}/LICENSE +0 -0
- {access_profiling-0.1 → access_profiling-0.2}/README.md +0 -0
- {access_profiling-0.1 → access_profiling-0.2}/conda/environment.yml +0 -0
- {access_profiling-0.1 → access_profiling-0.2}/conda/meta.yaml +0 -0
- {access_profiling-0.1 → access_profiling-0.2}/setup.cfg +0 -0
- {access_profiling-0.1 → access_profiling-0.2}/setup.py +0 -0
- {access_profiling-0.1 → access_profiling-0.2}/src/access/profiling/cice5_parser.py +0 -0
- {access_profiling-0.1 → access_profiling-0.2}/src/access/profiling/cylc_parser.py +0 -0
- {access_profiling-0.1 → access_profiling-0.2}/src/access/profiling/esmf_parser.py +0 -0
- {access_profiling-0.1 → access_profiling-0.2}/src/access/profiling/fms_parser.py +0 -0
- {access_profiling-0.1 → access_profiling-0.2}/src/access/profiling/metrics.py +0 -0
- {access_profiling-0.1 → access_profiling-0.2}/src/access/profiling/parser.py +0 -0
- {access_profiling-0.1 → access_profiling-0.2}/src/access/profiling/payujson_parser.py +0 -0
- {access_profiling-0.1 → access_profiling-0.2}/src/access/profiling/plotting_utils.py +0 -0
- {access_profiling-0.1 → access_profiling-0.2}/src/access/profiling/um_parser.py +0 -0
- {access_profiling-0.1 → access_profiling-0.2}/src/access_profiling.egg-info/SOURCES.txt +0 -0
- {access_profiling-0.1 → access_profiling-0.2}/src/access_profiling.egg-info/dependency_links.txt +0 -0
- {access_profiling-0.1 → access_profiling-0.2}/src/access_profiling.egg-info/top_level.txt +0 -0
- {access_profiling-0.1 → access_profiling-0.2}/tests/test_cice5_profiling.py +0 -0
- {access_profiling-0.1 → access_profiling-0.2}/tests/test_cylc_dbreader.py +0 -0
- {access_profiling-0.1 → access_profiling-0.2}/tests/test_cylc_parser.py +0 -0
- {access_profiling-0.1 → access_profiling-0.2}/tests/test_esmf_summary_parser.py +0 -0
- {access_profiling-0.1 → access_profiling-0.2}/tests/test_fms_parser.py +0 -0
- {access_profiling-0.1 → access_profiling-0.2}/tests/test_metrics.py +0 -0
- {access_profiling-0.1 → access_profiling-0.2}/tests/test_parser.py +0 -0
- {access_profiling-0.1 → access_profiling-0.2}/tests/test_payujson_parser.py +0 -0
- {access_profiling-0.1 → access_profiling-0.2}/tests/test_plotting_utils.py +0 -0
- {access_profiling-0.1 → access_profiling-0.2}/tests/test_um_parser.py +0 -0
|
@@ -14,16 +14,16 @@ jobs:
|
|
|
14
14
|
if: github.repository == 'ACCESS-NRI/access-profiling' # exclude forks
|
|
15
15
|
runs-on: ubuntu-latest
|
|
16
16
|
steps:
|
|
17
|
-
- uses: actions/checkout@
|
|
17
|
+
- uses: actions/checkout@v7
|
|
18
18
|
|
|
19
|
-
- uses: actions/setup-python@
|
|
19
|
+
- uses: actions/setup-python@v7
|
|
20
20
|
with:
|
|
21
21
|
python-version: ${{ env.PY_VERSION }}
|
|
22
22
|
|
|
23
23
|
- run: |
|
|
24
24
|
python3 -m pip install --upgrade build && python3 -m build
|
|
25
25
|
|
|
26
|
-
- uses: actions/upload-artifact@
|
|
26
|
+
- uses: actions/upload-artifact@v7
|
|
27
27
|
with:
|
|
28
28
|
name: release
|
|
29
29
|
path: dist
|
|
@@ -37,13 +37,13 @@ jobs:
|
|
|
37
37
|
# IMPORTANT: this permission is mandatory for trusted publishing
|
|
38
38
|
id-token: write
|
|
39
39
|
steps:
|
|
40
|
-
- uses: actions/download-artifact@
|
|
40
|
+
- uses: actions/download-artifact@v8
|
|
41
41
|
with:
|
|
42
42
|
name: release
|
|
43
43
|
path: dist
|
|
44
44
|
|
|
45
45
|
- name: Publish package distributions to PyPI
|
|
46
|
-
uses: pypa/gh-action-pypi-publish@
|
|
46
|
+
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
|
|
47
47
|
|
|
48
48
|
conda:
|
|
49
49
|
name: Build with conda and upload
|
|
@@ -51,10 +51,10 @@ jobs:
|
|
|
51
51
|
runs-on: ubuntu-latest
|
|
52
52
|
steps:
|
|
53
53
|
- name: Checkout source
|
|
54
|
-
uses: actions/checkout@
|
|
54
|
+
uses: actions/checkout@v7
|
|
55
55
|
|
|
56
56
|
- name: Setup conda environment
|
|
57
|
-
uses: conda-incubator/setup-miniconda@
|
|
57
|
+
uses: conda-incubator/setup-miniconda@8ee1f361103df19b6f8c8655fd3967a8ecb162d5 # v4.0.1
|
|
58
58
|
with:
|
|
59
59
|
miniconda-version: "latest"
|
|
60
60
|
python-version: ${{ env.PY_VERSION }}
|
|
@@ -20,8 +20,8 @@ jobs:
|
|
|
20
20
|
formatting:
|
|
21
21
|
runs-on: ubuntu-latest
|
|
22
22
|
steps:
|
|
23
|
-
- uses: actions/checkout@
|
|
24
|
-
- uses: actions/setup-python@
|
|
23
|
+
- uses: actions/checkout@v7
|
|
24
|
+
- uses: actions/setup-python@v7
|
|
25
25
|
with:
|
|
26
26
|
python-version: ${{ env.PY_VERSION_BUILD }}
|
|
27
27
|
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
|
|
@@ -30,9 +30,9 @@ jobs:
|
|
|
30
30
|
name: PyPA build
|
|
31
31
|
runs-on: ubuntu-latest
|
|
32
32
|
steps:
|
|
33
|
-
- uses: actions/checkout@
|
|
33
|
+
- uses: actions/checkout@v7
|
|
34
34
|
|
|
35
|
-
- uses: actions/setup-python@
|
|
35
|
+
- uses: actions/setup-python@v7
|
|
36
36
|
with:
|
|
37
37
|
python-version: ${{ env.PY_VERSION_BUILD }}
|
|
38
38
|
cache: 'pip' # caching pip dependencies
|
|
@@ -44,10 +44,10 @@ jobs:
|
|
|
44
44
|
name: Conda Build
|
|
45
45
|
runs-on: ubuntu-latest
|
|
46
46
|
steps:
|
|
47
|
-
- uses: actions/checkout@
|
|
47
|
+
- uses: actions/checkout@v7
|
|
48
48
|
|
|
49
49
|
- name: Setup conda environment
|
|
50
|
-
uses: conda-incubator/setup-miniconda@
|
|
50
|
+
uses: conda-incubator/setup-miniconda@8ee1f361103df19b6f8c8655fd3967a8ecb162d5 # v4.0.1
|
|
51
51
|
with:
|
|
52
52
|
miniconda-version: "latest"
|
|
53
53
|
python-version: ${{ env.PY_VERSION_BUILD }}
|
|
@@ -71,19 +71,20 @@ jobs:
|
|
|
71
71
|
python-version: ['3.11', '3.12', '3.13']
|
|
72
72
|
|
|
73
73
|
steps:
|
|
74
|
-
- uses: actions/checkout@
|
|
74
|
+
- uses: actions/checkout@v7
|
|
75
75
|
- name: Set up Python ${{ matrix.python-version }}
|
|
76
|
-
uses: actions/setup-python@
|
|
76
|
+
uses: actions/setup-python@v7
|
|
77
77
|
with:
|
|
78
78
|
python-version: ${{ matrix.python-version }}
|
|
79
79
|
- name: Install dependencies
|
|
80
80
|
run: |
|
|
81
81
|
python -m pip install --upgrade pip
|
|
82
|
+
python -m pip install --uploaded-prior-to=P0D access-config-utils
|
|
82
83
|
pip install '.[devel,test]'
|
|
83
84
|
- name: Test with pytest
|
|
84
85
|
run: |
|
|
85
86
|
python -m pytest
|
|
86
87
|
- name: Upload coverage reports to Codecov with GitHub Action
|
|
87
|
-
uses: codecov/codecov-action@
|
|
88
|
+
uses: codecov/codecov-action@v7
|
|
88
89
|
with:
|
|
89
90
|
token: ${{ secrets.CODECOV_TOKEN }}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: access-profiling
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2
|
|
4
4
|
Summary: Tools and utilities to profile the ACCESS climate models.
|
|
5
5
|
Author-email: Micael Oliveira <micael.oliveira@anu.edu.au>, Manodeep Sinha <manodeep.sinha@anu.edu.au>, Edward Yang <edward.yang@anu.edu.au>
|
|
6
6
|
Keywords: profiling,access
|
|
@@ -15,9 +15,9 @@ Requires-Dist: xarray
|
|
|
15
15
|
Requires-Dist: pint
|
|
16
16
|
Requires-Dist: pint-xarray
|
|
17
17
|
Requires-Dist: matplotlib
|
|
18
|
-
Requires-Dist: access-config-utils
|
|
19
|
-
Requires-Dist: experiment-
|
|
20
|
-
Requires-Dist: experiment-
|
|
18
|
+
Requires-Dist: access-config-utils>=0.4
|
|
19
|
+
Requires-Dist: experiment-generator>=0.10.2
|
|
20
|
+
Requires-Dist: experiment-runner>=0.3.2
|
|
21
21
|
Requires-Dist: payu
|
|
22
22
|
Provides-Extra: devel
|
|
23
23
|
Requires-Dist: pre-commit; extra == "devel"
|
|
@@ -21,9 +21,9 @@ dependencies = [
|
|
|
21
21
|
"pint",
|
|
22
22
|
"pint-xarray",
|
|
23
23
|
"matplotlib",
|
|
24
|
-
"access-config-utils",
|
|
25
|
-
"experiment-
|
|
26
|
-
"experiment-
|
|
24
|
+
"access-config-utils>=0.4",
|
|
25
|
+
"experiment-generator>=0.10.2",
|
|
26
|
+
"experiment-runner>=0.3.2",
|
|
27
27
|
"payu", # Extra dependency of experiment-runner, not handled correctly in conda
|
|
28
28
|
]
|
|
29
29
|
|
|
@@ -9,7 +9,13 @@ __version__ = "unknown"
|
|
|
9
9
|
with suppress(PackageNotFoundError):
|
|
10
10
|
__version__ = version("access-profiling")
|
|
11
11
|
|
|
12
|
-
from access.profiling.access_models import
|
|
12
|
+
from access.profiling.access_models import (
|
|
13
|
+
AM3Profiling,
|
|
14
|
+
ESM16Profiling,
|
|
15
|
+
OM3Configuration,
|
|
16
|
+
OM3Profiling,
|
|
17
|
+
RAM3Profiling,
|
|
18
|
+
)
|
|
13
19
|
from access.profiling.cice5_parser import CICE5ProfilingParser
|
|
14
20
|
from access.profiling.cylc_parser import CylcDBReader, CylcProfilingParser
|
|
15
21
|
from access.profiling.esmf_parser import ESMFSummaryProfilingParser
|
|
@@ -26,7 +32,10 @@ __all__ = [
|
|
|
26
32
|
"PayuJSONProfilingParser",
|
|
27
33
|
"ESMFSummaryProfilingParser",
|
|
28
34
|
"ESM16Profiling",
|
|
35
|
+
"OM3Configuration",
|
|
36
|
+
"OM3Profiling",
|
|
29
37
|
"CylcProfilingParser",
|
|
30
38
|
"CylcDBReader",
|
|
31
39
|
"RAM3Profiling",
|
|
40
|
+
"AM3Profiling",
|
|
32
41
|
]
|