Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
138 commits
Select commit Hold shift + click to select a range
8153e63
Made a first draft of a .json spec for global attributes.
joshuatorrance Aug 12, 2025
afc4944
Updated with scripts and template readme to process schema found in s…
joshuatorrance Oct 14, 2025
dfe58a0
Attempting to setup workflow
joshuatorrance Oct 14, 2025
1c6c805
Corrected typo
joshuatorrance Oct 14, 2025
b8e3483
Corrected shell to run
joshuatorrance Oct 14, 2025
0487f5a
Attempting a simple autocommit
joshuatorrance Oct 14, 2025
c532bb6
add-and-commit needs a branch from checkout
joshuatorrance Oct 14, 2025
14fddea
Does this work to permit the commit?
joshuatorrance Oct 14, 2025
b178135
How about this for permissions
joshuatorrance Oct 14, 2025
18458dc
Commit from GitHub Actions (Build README)
joshuatorrance Oct 14, 2025
7004461
Removing cat step and adding comment by permissions
joshuatorrance Oct 14, 2025
c7594eb
Specifying python version to get rid of warning. Updated comment.
joshuatorrance Oct 17, 2025
4ba4c42
Fixed typo in env
joshuatorrance Oct 17, 2025
58569df
Commit from GitHub Actions (Build README)
joshuatorrance Oct 17, 2025
87af0f7
Attributes are now sorted alphabetically
joshuatorrance Oct 17, 2025
873e392
Commit from GitHub Actions (Build README)
joshuatorrance Oct 17, 2025
15bc1ef
Removed comments from global_attrs table
joshuatorrance Oct 17, 2025
dd0cfb8
Commit from GitHub Actions (Build README)
joshuatorrance Oct 17, 2025
0f77713
Need another detail to get rid of workflow warning?
joshuatorrance Oct 17, 2025
294bd55
Commit from GitHub Actions (Build README)
joshuatorrance Oct 17, 2025
28149af
Still trying to get rid of warning
joshuatorrance Oct 17, 2025
92a196a
That broke something else
joshuatorrance Oct 17, 2025
b3aee42
Now using the python version is uses anyway?
joshuatorrance Oct 17, 2025
08d8764
renamed ci task
joshuatorrance Oct 20, 2025
3925f83
Commit from GitHub Actions (Build README)
joshuatorrance Oct 20, 2025
520b953
Single item lists no long use a dot point
joshuatorrance Oct 20, 2025
19311fd
Fixing bug from last minute edit
joshuatorrance Oct 20, 2025
d4a0366
Commit from GitHub Actions (Build README)
joshuatorrance Oct 20, 2025
9dff6bd
Let's try this again
joshuatorrance Oct 20, 2025
6ba55eb
Commit from GitHub Actions (Build README)
joshuatorrance Oct 20, 2025
d84a576
Added required as a column
joshuatorrance Oct 20, 2025
dc7fff2
Commit from GitHub Actions (Build README)
joshuatorrance Oct 20, 2025
27be326
Formatted scripts with black
joshuatorrance Oct 20, 2025
3f2c483
Removed an unecessary print
joshuatorrance Oct 20, 2025
666b8fe
Updated readme template with more details
joshuatorrance Oct 24, 2025
7d9ab6f
Commit from GitHub Actions (Build README)
joshuatorrance Oct 24, 2025
47b643a
Removed type from global table since they're all strings.
joshuatorrance Oct 24, 2025
1ccb364
Commit from GitHub Actions (Build README)
joshuatorrance Oct 24, 2025
24be9ac
Updated URL target of update readme script to point to new location o…
joshuatorrance Nov 5, 2025
479cc18
Mild edit, typo correction
joshuatorrance Nov 5, 2025
69e0fc7
Commit from GitHub Actions (Build README)
joshuatorrance Nov 5, 2025
00504dc
Experimenting with mapping options
joshuatorrance Nov 6, 2025
92c18d3
Fixed incorrect table headers, added some intro fluff and links
joshuatorrance Nov 6, 2025
7067b1f
Added a second example
joshuatorrance Nov 6, 2025
5d9835e
Adding scripts to get CMIP7 & ACCESS metadata and build doc
joshuatorrance Nov 10, 2025
bd7f0c0
Added mapping.md
joshuatorrance Nov 10, 2025
ad77b52
Relaxed compression level requirement, added warning, removed classic…
joshuatorrance Nov 11, 2025
903b0a2
Commit from GitHub Actions (Build README)
joshuatorrance Nov 11, 2025
5898099
Updated netCDF4 filetype requirement
joshuatorrance Nov 11, 2025
389a715
Commit from GitHub Actions (Build README)
joshuatorrance Nov 11, 2025
8811386
Add MOPPy mapping with some string parsing to table
joshuatorrance Nov 11, 2025
c22637b
Removed early example table from mapping template
joshuatorrance Nov 11, 2025
f9c8030
trying to get moppy working with ci
joshuatorrance Nov 12, 2025
538c202
fixed typo
joshuatorrance Nov 12, 2025
e09be46
Getting there...
joshuatorrance Nov 12, 2025
44b9441
Still not right...
joshuatorrance Nov 12, 2025
f09d00b
How about now?
joshuatorrance Nov 12, 2025
b49b828
another typo
joshuatorrance Nov 12, 2025
9cb39bf
Waiting on a MOPPy release
joshuatorrance Nov 12, 2025
84b7352
Adding mapping to CI
joshuatorrance Nov 12, 2025
b854e98
Testing rebuild of mapping doc.
joshuatorrance Nov 12, 2025
25db8c5
Commit from GitHub Actions (Build README)
joshuatorrance Nov 12, 2025
f2dc7e8
Merge pull request #5 from ACCESS-NRI/mapping-experiment
joshuatorrance Nov 12, 2025
0a6737b
Removed old prototype mapping files
joshuatorrance Nov 12, 2025
d1f8397
Trying to get readthedocs functioning
joshuatorrance Nov 12, 2025
d04e4bf
Renamed .mkdocs.yaml to lose the dot
joshuatorrance Nov 12, 2025
686f7bd
Trying to get mkdocs working by moving md files
joshuatorrance Nov 12, 2025
04df1d6
Small change to fix formatting for mkdocs
joshuatorrance Nov 14, 2025
df12c2b
Attempting to make tables searcheable
joshuatorrance Nov 14, 2025
2cfa562
Commit from GitHub Actions (Build README)
joshuatorrance Nov 14, 2025
2b6754f
Attempting to get tables to wrap contents
joshuatorrance Nov 17, 2025
36e7387
Moved md templates from docs/ to templates/
joshuatorrance Nov 17, 2025
50fa910
Missed a couple of paths in the other script.
joshuatorrance Nov 17, 2025
fe5b49d
Updated too many paths before
joshuatorrance Nov 17, 2025
6c39318
Renamed README to specification
joshuatorrance Nov 17, 2025
ff002a4
Missed a file in the rename
joshuatorrance Nov 17, 2025
7017c71
Added explanation of mapping column
joshuatorrance Nov 17, 2025
84561f0
Commit from GitHub Actions (Build Docs)
joshuatorrance Nov 17, 2025
bdaaf7e
Added a readme back onto the repo and an index.md to the docs
joshuatorrance Nov 17, 2025
31fa613
Commit from GitHub Actions (Build Docs)
joshuatorrance Nov 17, 2025
97f90fe
Added extra newlines for mkdocs formatting
joshuatorrance Nov 17, 2025
874fcb8
Fixed headings in spec
joshuatorrance Nov 17, 2025
d6fe744
Commit from GitHub Actions (Build Docs)
joshuatorrance Nov 17, 2025
5ebdb7b
Did miss something with that last commit?
joshuatorrance Nov 17, 2025
f2d0aa1
Commit from GitHub Actions (Build Docs)
joshuatorrance Nov 17, 2025
7d542e4
Fixed capitalisation of title in readme & index
joshuatorrance Nov 17, 2025
cf983b4
mkdocs needs a newline before dot points
joshuatorrance Nov 17, 2025
61cb875
Commit from GitHub Actions (Build Docs)
joshuatorrance Nov 17, 2025
9fa6dcb
That's the second time I've made a change to the wrong doc
joshuatorrance Nov 17, 2025
f10c172
Commit from GitHub Actions (Build Docs)
joshuatorrance Nov 17, 2025
1112ced
Attempting to link from index to other pages.
joshuatorrance Nov 17, 2025
acf613a
Removed "compound" from CMIP6/7 column headings
joshuatorrance Nov 17, 2025
32f2240
Commit from GitHub Actions (Build Docs)
joshuatorrance Nov 17, 2025
1f6852a
Updating mapping text
joshuatorrance Nov 17, 2025
3db5cac
Commit from GitHub Actions (Build Docs)
joshuatorrance Nov 17, 2025
7a0080a
Found another dot point list that needs a newline for mkdocs
joshuatorrance Nov 18, 2025
d2b6f35
Commit from GitHub Actions (Build Docs)
joshuatorrance Nov 18, 2025
4e5fb80
Removed todo from template (moved to PR)
joshuatorrance Nov 20, 2025
b1c3f5c
Commit from GitHub Actions (Build Docs)
joshuatorrance Nov 20, 2025
0a8e81d
Changed names of ESM columns to not mention version
joshuatorrance Nov 20, 2025
b776d1d
Commit from GitHub Actions (Build Docs)
joshuatorrance Nov 20, 2025
dbf6ee0
Updated wording and added link to mapping from spec
joshuatorrance Nov 23, 2025
9ec327b
Commit from GitHub Actions (Build Docs)
joshuatorrance Nov 23, 2025
a9f40ea
Minor update to wording
joshuatorrance Nov 25, 2025
45399c9
Commit from GitHub Actions (Build Docs)
joshuatorrance Nov 25, 2025
6f01477
Updated title of mapping page
joshuatorrance Nov 25, 2025
e2ba541
Commit from GitHub Actions (Build Docs)
joshuatorrance Nov 25, 2025
bf323d5
Updated comments in upate_foo scripts
joshuatorrance Nov 26, 2025
57a5a00
Added stashmaster.py from um2nc-standalong, updated script to add sta…
joshuatorrance Nov 26, 2025
7d7b94c
Commit from GitHub Actions (Build Docs)
joshuatorrance Nov 26, 2025
ff8c016
Changed Frequency column name to just Freq, tweak to mapping template
joshuatorrance Nov 26, 2025
1843030
Commit from GitHub Actions (Build Docs)
joshuatorrance Nov 26, 2025
a727bbb
Pointing spec at PR schema again
joshuatorrance Dec 3, 2025
e17148d
Commit from GitHub Actions (Build Docs)
joshuatorrance Dec 3, 2025
5d31d8b
Commit from GitHub Actions (Build Docs)
joshuatorrance Dec 4, 2025
91740a1
Commit from GitHub Actions (Build Docs)
joshuatorrance Dec 4, 2025
0495115
Added emphasis to placeholder TBCs
joshuatorrance Dec 4, 2025
2883a1f
Commit from GitHub Actions (Build Docs)
joshuatorrance Dec 4, 2025
213bf21
Updated the wrong .md doc again.
joshuatorrance Dec 4, 2025
961d0de
Commit from GitHub Actions (Build Docs)
joshuatorrance Dec 4, 2025
84308fb
Tweaked language in File Output section
joshuatorrance Dec 4, 2025
4f40a37
Commit from GitHub Actions (Build Docs)
joshuatorrance Dec 4, 2025
3614e73
Typo
joshuatorrance Dec 5, 2025
3780fb6
Tweaked global attributes description
joshuatorrance Dec 5, 2025
3ebde99
Commit from GitHub Actions (Build Docs)
joshuatorrance Dec 5, 2025
b479547
Tweaked language
joshuatorrance Dec 5, 2025
eb221f4
Commit from GitHub Actions (Build Docs)
joshuatorrance Dec 5, 2025
b359d29
Commit from GitHub Actions (Build Docs)
joshuatorrance Dec 5, 2025
245d31b
Commit from GitHub Actions (Build Docs)
joshuatorrance Dec 5, 2025
d171ba5
Commit from GitHub Actions (Build Docs)
joshuatorrance Dec 9, 2025
901abb1
Added note on how model, model_version, experiment_repo, & run_id int…
joshuatorrance Dec 19, 2025
b59b615
Added time dime section with calendar, units, time_bnds
joshuatorrance Dec 19, 2025
b31ac16
Commit from GitHub Actions (Build Docs)
joshuatorrance Dec 19, 2025
29de334
Updated file name and path description to indicate they're not done yet
joshuatorrance Dec 22, 2025
86fa11a
Small pair of minor corrections to update_mapping code
joshuatorrance Dec 22, 2025
f9848ed
Found a way to suppress some uneeded output
joshuatorrance Dec 22, 2025
65ac395
Updated to most recent version of dreq - previous version no longer w…
joshuatorrance Dec 22, 2025
dc89e90
Commit from GitHub Actions (Build Docs)
joshuatorrance Dec 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Build Docs

on:
pull_request:
push:
branches:
- main
workflow_dispatch:

jobs:
build-docs:
name: build-docs
runs-on: ubuntu-latest
# Commit step needs write permissions
permissions:
contents: write
steps:
- name: Checkout source
uses: actions/checkout@v5
# The following is needed to allow add-and-commit to know which branch to work on
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}

- name: Setup python
uses: actions/setup-python@v6
with:
python-version: 3.12.3

- name: Install dependancies
run: python -m pip install -r requirements.txt

- name: Create config file for MOPPy
# Details don't matter
run: |
[email protected]
name=ACCESS-NRI
[email protected]
mkdir ~/.moppy
echo -e "creator_email: $email\ncreator_name: $name\ncreator_url: $url\norganisation: $name" > ~/.moppy/user.yml

- name: Update specification.md
run: python scripts/update_specification.py

- name: Update mapping.md
run: python scripts/update_mapping.py

- name: Commit updated docs
uses: EndBug/add-and-commit@v9
with:
add: docs/*.md
12 changes: 12 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: "2"

build:
os: "ubuntu-24.04"
tools:
python: "3"

mkdocs:
configuration: mkdocs.yaml

formats:
- pdf
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,13 @@
# ACCESS_Output_data_specifications
Provide documentation for users and developers that describes model outputs.
# ACCESS Output Data Specification

The Access Output Data Specification repository contains the documentation
describing:
- The desired output data specification for ACCESS models
- The mapping from ACCESS model output fields to CMIP7 fields

Much of the content is automatically generated from:
- The [ACCESS output data schema](https://github.com/ACCESS-NRI/schema/tree/main/au.org.access-nri/model/output/file-metadata)
- The CMIP7 Data Requests variable metadata (see the [API](https://github.com/CMIP-Data-Request/CMIP7_DReq_Software) and [data](https://airtable.com/apphMYhEwBJfd0bUK/shrYC888Qxf8gkvky))
- [ACCESS-MOPPy](https://github.com/ACCESS-NRI/ACCESS-MOPPy)'s variable mappings

This information is hosted on readthedocs [here](https://access-output-data-specifications--2.org.readthedocs.build/en/2/).
16 changes: 16 additions & 0 deletions docs/css/table.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/**
* This widens the content to look better on wide screens and
* makes the tables wrap contents instead of having the table
* horizontally scroll.
*/
.wy-nav-content {
max-width: 90%;
}

.wy-table-responsive table td, .wy-table-responsive table th {
white-space: normal !important;
}

.wy-table-responsive {
overflow : visible !important;
}
12 changes: 12 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# ACCESS Output Data Specification

These docs describe:

- The desired output data [specification](specification.md) for ACCESS models
- The [mapping](mapping.md) from ACCESS model output fields to CMIP7 fields

Much of the content is automatically generated from:

- The [ACCESS output data schema](https://github.com/ACCESS-NRI/schema/tree/main/au.org.access-nri/model/output/file-metadata)
- The CMIP7 Data Requests variable metadata (see the [API](https://github.com/CMIP-Data-Request/CMIP7_DReq_Software) and [data](https://airtable.com/apphMYhEwBJfd0bUK/shrYC888Qxf8gkvky))
- [ACCESS-MOPPy](https://github.com/ACCESS-NRI/ACCESS-MOPPy)'s variable mappings
3 changes: 3 additions & 0 deletions docs/javascripts/site.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
$(document).ready( function () {
$('#mapping').DataTable();
} );
Loading