Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
340 commits
Select commit Hold shift + click to select a range
d9774fc
Remove redundant line
gregrmunday Dec 9, 2025
489b0a0
Separating emulator into components
gregrmunday Dec 9, 2025
bc7d2dc
Decouple spatial class from user-settings
gregrmunday Dec 9, 2025
80812a2
Small tweaks
gregrmunday Dec 9, 2025
cc97d2b
Merge pull request #33 from hmkhatri/profsea-fair
gregrmunday Dec 10, 2025
7b3f7f4
Add error handling
gregrmunday Dec 10, 2025
0949410
Fixed bugs, now runs!
gregrmunday Dec 10, 2025
1c8e0f4
Added FP lat lons
gregrmunday Dec 10, 2025
18bce21
Add warning
gregrmunday Dec 10, 2025
7d41432
Add grid warning
gregrmunday Dec 10, 2025
02932cb
Merge branch 'profsea-climate' into gm/fix-interpolation
gregrmunday Dec 10, 2025
2a60edd
Merge pull request #35 from MetOffice/gm/fix-interpolation
gregrmunday Dec 10, 2025
0c4d780
Merge branch 'profsea-climate' into gm/emulator-refactor
gregrmunday Dec 10, 2025
83434d8
Move interp into utils
gregrmunday Dec 11, 2025
3061a2f
Small fix
gregrmunday Dec 11, 2025
61d64a4
Use NumPy RNG instead of legacy
gregrmunday Dec 11, 2025
60eda6d
Merge pull request #36 from MetOffice/gm/emulator-refactor
gregrmunday Dec 12, 2025
7b37ee1
Resolve merge conflicts
gregrmunday Dec 12, 2025
cac0e7d
correct typo
hmkhatri Dec 18, 2025
78f78af
reduce default self.nm to 100 and remove calculations that are not us…
hmkhatri Dec 19, 2025
f441d9a
Merge pull request #40 from hmkhatri/profsea-climate
hmkhatri Jan 12, 2026
5662e01
Bug correction in spatialize.py
hmkhatri Jan 15, 2026
2e5d9cb
Correct typos
hmkhatri Jan 16, 2026
f839e46
Merge pull request #41 from hmkhatri/profsea-climate
gregrmunday Jan 16, 2026
19f399b
Merge branch 'profsea-climate' into gm/add_AIS_emulator
gregrmunday Jan 16, 2026
27da332
More AIS fitting...
gregrmunday Jan 18, 2026
b2ad506
Update comparison notebook
gregrmunday Jan 18, 2026
a9eff7a
Update for latest version
gregrmunday Mar 5, 2026
41f3284
Mo' updates
gregrmunday Mar 5, 2026
cd616ce
Smol fix
gregrmunday Mar 5, 2026
eff2802
Optional spatial sampling
gregrmunday Mar 9, 2026
e80366e
Remove import
gregrmunday Mar 9, 2026
792ad55
Add params
gregrmunday Mar 9, 2026
4670d38
Add dim check and reformat
gregrmunday Apr 3, 2026
4f29b6d
Fix bugs in probabilistic_wrapper.py
gregrmunday Apr 3, 2026
763db36
Remove unnecessary notebooks
gregrmunday Apr 3, 2026
dd7ef43
Fix source attribute bug
gregrmunday Apr 3, 2026
64cdbb3
Add comments and reformat
gregrmunday Apr 10, 2026
11e388e
Smol fix
gregrmunday Apr 10, 2026
dfef6e9
Address review comments
gregrmunday Apr 10, 2026
0861a88
Merge pull request #28 from MetOffice/gm/add_AIS_emulator
hmkhatri Apr 13, 2026
088ff76
Restructure
gregrmunday Apr 13, 2026
7c97dcb
Update core global model
gregrmunday Apr 13, 2026
77b478e
Add component + test_build.py
gregrmunday Apr 13, 2026
1325395
Add fix
gregrmunday Apr 20, 2026
111c2a3
Add review changes
gregrmunday Apr 20, 2026
b67ba09
Merge pull request #49 from MetOffice/pcv2/greenland-ar6
hmkhatri Apr 20, 2026
7425cd8
landwater AR6 compoenent
hmkhatri Apr 21, 2026
eff4c7a
Fix landwater end year
gregrmunday Apr 21, 2026
6408238
fix landwater time end
hmkhatri Apr 21, 2026
762fecc
Add AR5 dyn and SMB AIS comps
gregrmunday Apr 21, 2026
6e71bd1
change to 2301 in interpolation
hmkhatri Apr 21, 2026
1fc7f9e
Merge pull request #52 from hmkhatri/profsea-climate-v2
gregrmunday Apr 21, 2026
3205e1f
Add Global model save method back in
gregrmunday Apr 21, 2026
730d99b
Add time_projection.py
gregrmunday Apr 21, 2026
a8fcdb7
Provide components as arg
gregrmunday Apr 21, 2026
ee783bf
Update docstring
gregrmunday Apr 21, 2026
20166d3
Merge pull request #54 from MetOffice/pcv2/model-save-method
hmkhatri Apr 21, 2026
62a8f35
Merge branch 'profsea-climate-v2' into pcv2/antarctica-ar5
gregrmunday Apr 21, 2026
ebca8f4
Add AR5 comps
gregrmunday Apr 21, 2026
adddb35
Merge pull request #53 from MetOffice/pcv2/antarctica-ar5
hmkhatri Apr 21, 2026
61e7731
Add time_projection part
gregrmunday Apr 21, 2026
f6c15e4
Merge branch 'profsea-climate-v2' into pcv2/greenland-ar5
gregrmunday Apr 21, 2026
0032870
Merge with latest, fix smol bug
gregrmunday Apr 21, 2026
837eff8
Add docstring
gregrmunday Apr 21, 2026
973d914
Isolate expansion component
gregrmunday Apr 21, 2026
0c5e784
glacier component
hmkhatri Apr 22, 2026
eafe5d3
Merge pull request #55 from MetOffice/pcv2/greenland-ar5
hmkhatri Apr 22, 2026
ee287ec
Merge branch 'profsea-climate-v2' into pcv2/thermal-expansion
gregrmunday Apr 22, 2026
9af2856
landwater ar5
hmkhatri Apr 22, 2026
003fad5
Merge remote-tracking branch 'upstream/profsea-climate-v2' into profs…
hmkhatri Apr 22, 2026
691034c
Use glaicermip within class, rather than state variable
hmkhatri Apr 22, 2026
920a4e9
landwater AR5
hmkhatri Apr 22, 2026
e2c0019
Merge pull request #56 from hmkhatri/profsea-climate-v2
gregrmunday Apr 22, 2026
0221a76
Merge pull request #57 from hmkhatri/landwater-ar5
gregrmunday Apr 22, 2026
8166dfe
More changes
gregrmunday Apr 22, 2026
d2d7c21
Merge pull request #58 from MetOffice/pcv2/thermal-expansion
hmkhatri Apr 22, 2026
8192834
Merge pull request #51 from MetOffice/gm/fix-ais-error
hmkhatri Apr 23, 2026
8545653
single member treatment
hmkhatri Apr 24, 2026
f6b5072
add error message
hmkhatri Apr 24, 2026
ab82d73
remove input_single argument.
hmkhatri Apr 24, 2026
6a81829
Merge pull request #60 from hmkhatri/profsea-climate-v2
hmkhatri Apr 24, 2026
78c5d49
Update spatial model and add sterodynamic module
gregrmunday May 20, 2026
3020804
Enforce Spatial attribute
gregrmunday May 20, 2026
1f39cf9
Add spatial model, sterodynamic component
gregrmunday May 22, 2026
cf5459a
Some fixes
gregrmunday May 22, 2026
1d654ea
Add Zarr saving
gregrmunday May 22, 2026
e469d25
Update test_build.py
gregrmunday May 22, 2026
4639e7d
Add total regional sea-level
gregrmunday May 22, 2026
4813021
Small fix
gregrmunday May 22, 2026
717ae2c
Add spatial components
gregrmunday May 22, 2026
a00c602
Update ukcp18 test script
gregrmunday May 22, 2026
42e8459
Update paths, default output is now zarr
gregrmunday May 22, 2026
a277f18
remove cvgl bug
gregrmunday May 26, 2026
8c79732
Add __init__ to core components for easier imports
gregrmunday May 26, 2026
5dcef07
Update GreenlandAR6 projection
gregrmunday May 26, 2026
f39fee4
Format
gregrmunday May 26, 2026
ce67339
Update scaler for consistency
gregrmunday May 26, 2026
78985e9
Update to vectorized joint sampling of input GMST, fix bugs
gregrmunday May 26, 2026
ef957c5
Update the wrapper
gregrmunday May 26, 2026
86dc070
Add reduced params, update paths
gregrmunday May 26, 2026
38b4f8e
Format
gregrmunday May 26, 2026
60f4857
Greenland fix, update wrapper
gregrmunday May 27, 2026
d32ee3a
Review updates
gregrmunday May 27, 2026
986b89a
Update example script
gregrmunday May 27, 2026
e908a0f
Review updates
gregrmunday May 27, 2026
336558c
Add docstrings
gregrmunday May 27, 2026
00313fd
Fix Zarr saving bug
gregrmunday May 27, 2026
f426153
Return data in dataarrays
gregrmunday May 27, 2026
0c842b3
Cleanup!
gregrmunday May 27, 2026
057d89f
Add tutorial notebooks folder
gregrmunday May 27, 2026
c1b36ec
Update lat --> latitude
gregrmunday May 27, 2026
5f03cd1
Add ipykernel to env
gregrmunday May 27, 2026
161bc7d
Back to lat/lons
gregrmunday May 28, 2026
bbadfa1
Merge pull request #62 from MetOffice/pcv2/spatial-thermal-exp
hmkhatri May 28, 2026
87908bc
Add zenodo retrieval code
gregrmunday May 28, 2026
de5b85a
Update env.yml
gregrmunday May 28, 2026
44fdeec
Merge branch 'profsea-climate-v2' into pcv2/update-global-components
gregrmunday May 28, 2026
88b342c
Merge branch 'profsea-climate-v2' into pcv2/retrieve-zenodo-data
gregrmunday May 28, 2026
92e02ba
Fix expansion OHC shapes
gregrmunday May 28, 2026
69b090e
Patterns are run-directory agnostic
gregrmunday May 28, 2026
9870939
Readability tweaks
gregrmunday May 28, 2026
edb2eb0
Merge pull request #64 from MetOffice/pcv2/retrieve-zenodo-data
gregrmunday May 28, 2026
a65e8e1
fix merge conflicts
gregrmunday May 28, 2026
b64e278
Fix expansion
gregrmunday May 28, 2026
812cd13
more fixes
gregrmunday May 28, 2026
848c441
landwater fixes
gregrmunday May 28, 2026
265a623
fixes
gregrmunday May 28, 2026
72d155d
Updates
gregrmunday May 28, 2026
cb7fcca
Update notebook
gregrmunday May 28, 2026
03c9257
Some more fixes
gregrmunday May 28, 2026
0279bd5
Update fp paths, optimize AISISMIP6
gregrmunday May 28, 2026
5fb15a1
profsea/tutorial_notebooks/worked_example.ipynb
gregrmunday May 29, 2026
c087e23
Fix GIA paths, update notebook
gregrmunday May 29, 2026
94cd4f7
Updated README.md
gregrmunday May 29, 2026
8398ec8
Add logo
gregrmunday May 29, 2026
45d9032
Update readme
gregrmunday May 29, 2026
9813b99
Update Antarctica path loading
gregrmunday May 29, 2026
eac7213
Add updated workbook
gregrmunday May 29, 2026
e4cb0e5
Remove input_ensemble
gregrmunday May 29, 2026
deca1cf
Improve NetCDF saving
gregrmunday May 29, 2026
a01afc9
Merge pull request #63 from MetOffice/pcv2/update-global-components
hmkhatri May 29, 2026
bfc2cc8
Fix conflicts
gregrmunday May 29, 2026
a89e265
Merge pull request #48 from MetOffice/profsea-climate-v2
hmkhatri May 29, 2026
e4c5e74
Update README with data source link
gregrmunday May 29, 2026
44b618b
Fix DOI badge link in README.md
gregrmunday Jun 1, 2026
92a32d3
Remove old plotting script
gregrmunday Jun 1, 2026
7fdf330
Merge branch 'profsea-climate' of github.com:MetOffice/ProFSea-tool i…
gregrmunday Jun 1, 2026
6a425d6
Remove old params
gregrmunday Jun 1, 2026
471178c
Add docs setup, workflow, env file, and fix autodoc warnings
isabellaascione May 29, 2026
9d23229
update docs to include rendering of notebooks in the sphinx pages; up…
isabellaascione Jun 2, 2026
c96dc93
Add projection GIF
gregrmunday Jun 9, 2026
6ebc65b
Update spatial components for local site computing
gregrmunday Jun 9, 2026
8d6b268
Update params, some fixes and save component
gregrmunday Jun 9, 2026
c70fe95
Merge pull request #67 from isabellaascione/profsea-v3
hmkhatri Jun 10, 2026
383c385
mask issue
hmkhatri Jun 10, 2026
202de73
Merge remote-tracking branch 'upstream/profsea-v3' into profsea-climate
hmkhatri Jun 10, 2026
9c598c0
Update env with docs packages
gregrmunday Jun 10, 2026
ab3713e
Update docs, fix type hint-related warnings
gregrmunday Jun 10, 2026
f10bc22
Small tweaks
gregrmunday Jun 10, 2026
2db9142
Update docs-env
gregrmunday Jun 10, 2026
2d9bc27
add land mask to sterodynamic patters
hmkhatri Jun 11, 2026
d1deb45
Update toml
gregrmunday Jun 13, 2026
8433a66
Fix logo
gregrmunday Jun 13, 2026
7421fbd
Add test infrastructure
gregrmunday Jun 13, 2026
6a003ed
Add tests folder
gregrmunday Jun 13, 2026
0ebca6b
Add pytest workflow
gregrmunday Jun 13, 2026
7049df4
Add some dependencies to toml
gregrmunday Jun 13, 2026
b710f75
Merge branch 'profsea-v3' into gm/add-tests
gregrmunday Jun 13, 2026
a6e100f
Update gitignore
gregrmunday Jun 13, 2026
b13f4ab
Merge branch 'gm/add-tests' of github.com:MetOffice/ProFSea-tool into…
gregrmunday Jun 13, 2026
a3fb7ae
Add tests for global, spatial models and some comps
gregrmunday Jun 13, 2026
2938b01
Add Ruff formatter workflow
gregrmunday Jun 13, 2026
54daa56
Update toml
gregrmunday Jun 13, 2026
4e9d80e
Update Ruff workflow
gregrmunday Jun 13, 2026
aaa8e87
Fix Ruff errors
gregrmunday Jun 13, 2026
f0a7797
Update Ruff workflow
gregrmunday Jun 13, 2026
7e3994f
Update pytest name
gregrmunday Jun 13, 2026
1124cea
Add badges
gregrmunday Jun 13, 2026
4304af8
Add docs badge
gregrmunday Jun 13, 2026
64141e3
Update readme
gregrmunday Jun 13, 2026
78f45a1
Update gitignore
gregrmunday Jun 13, 2026
45e0387
Merge branch 'profsea-v3' of github.com:MetOffice/ProFSea-tool into p…
gregrmunday Jun 15, 2026
fe6da46
Update docs deployment
gregrmunday Jun 15, 2026
90b0fdf
Merge branch 'profsea-v3' into gm/add-tests
gregrmunday Jun 15, 2026
93506ca
Add dependabot workflow
gregrmunday Jun 15, 2026
57c8cb2
Add Ruff badge
gregrmunday Jun 15, 2026
115dab4
Fix
gregrmunday Jun 15, 2026
d83a24b
update to land mask scheme
hmkhatri Jun 15, 2026
52b3f5c
Merge branch 'profsea-v3' into profsea-climate
hmkhatri Jun 15, 2026
e7bce75
remove commented code
hmkhatri Jun 15, 2026
b230f25
Fix console logging
gregrmunday Jun 15, 2026
4d0eb99
Fix markups
gregrmunday Jun 15, 2026
a300ab7
Fix timestamp
gregrmunday Jun 15, 2026
6d21581
Readability...
gregrmunday Jun 15, 2026
aaf7985
Update CLI UI
gregrmunday Jun 16, 2026
d156946
Merge pull request #69 from hmkhatri/profsea-climate
hmkhatri Jun 16, 2026
da4bb19
Merge branch 'profsea-v3' into gm/add-tests
hmkhatri Jun 16, 2026
d75071e
Refactor logging setup and improve docstring formatting
hmkhatri Jun 16, 2026
8efa553
Remove trailing whitespaces and clean up comments
hmkhatri Jun 16, 2026
1ad61af
Reorganize import statements in sterodynamic.py
hmkhatri Jun 16, 2026
2e3062e
Add regionmask to deps, fix linting
gregrmunday Jun 16, 2026
06f47f0
Fix linting
gregrmunday Jun 16, 2026
98fc902
Update tests
gregrmunday Jun 16, 2026
75d372a
Fix linting
gregrmunday Jun 16, 2026
661aa89
Add docstrings to utils
gregrmunday Jun 16, 2026
f56ec0c
Update badge
gregrmunday Jun 16, 2026
83081cc
Update worked example
gregrmunday Jun 16, 2026
e64c051
Merge pull request #70 from MetOffice/gm/add-tests
gregrmunday Jun 16, 2026
e11d58a
Fix badge links in README.md
gregrmunday Jun 16, 2026
5ea2037
Merge with profsea-v3
gregrmunday Jun 16, 2026
d40efe1
Fix some merge artefacts
gregrmunday Jun 16, 2026
4cd4746
Update post merge
gregrmunday Jun 16, 2026
a52d6d8
Fix regionmask test
gregrmunday Jun 16, 2026
656b436
Merge branch 'profsea-v3' of github.com:MetOffice/ProFSea-tool into p…
gregrmunday Jun 16, 2026
5bc3daa
Fix merge with profsea-v3
gregrmunday Jun 16, 2026
99846f0
Fix tests
gregrmunday Jun 16, 2026
af2f5ad
Update local model with land mask
gregrmunday Jun 16, 2026
3e309ca
Update workbook
gregrmunday Jun 16, 2026
cb9dc4d
Linting
gregrmunday Jun 16, 2026
802ae15
Readability
gregrmunday Jun 16, 2026
b4fe214
Updated interpolation, switch to xr outputs
gregrmunday Jun 17, 2026
609477b
Ruff update
gregrmunday Jun 17, 2026
3c9de4e
Add local model tests
gregrmunday Jun 17, 2026
5ad96fc
Update example script
gregrmunday Jun 17, 2026
d92b218
ais_region to region
gregrmunday Jun 17, 2026
6dbedb1
Merge pull request #68 from MetOffice/gm/add-timeseries-module
hmkhatri Jun 17, 2026
760dc38
Update scm_profsea_experiments.py
gregrmunday Jun 17, 2026
b8b028a
Merge branch 'profsea-v3' of github.com:MetOffice/ProFSea-tool into p…
gregrmunday Jun 17, 2026
572b793
Ruff fix
gregrmunday Jun 17, 2026
75dc608
Add new global model save options, dtype setting, update wrapper
gregrmunday Jun 17, 2026
0b65623
Re-add sum method
gregrmunday Jun 17, 2026
ebbb004
Enforce types through global model
gregrmunday Jun 17, 2026
a2c8998
Ruff
gregrmunday Jun 17, 2026
02e71ae
Update deps
gregrmunday Jun 17, 2026
3a612b9
Add dtype save arg
gregrmunday Jun 17, 2026
616250b
Update docs
gregrmunday Jun 17, 2026
66bc1a4
Update logos
gregrmunday Jun 17, 2026
70226d5
Fix logo
gregrmunday Jun 17, 2026
6c102bc
Add custom CSS
gregrmunday Jun 18, 2026
6b0d941
Truly unify save method, remove dtype print
gregrmunday Jun 18, 2026
27894ea
Update global test
gregrmunday Jun 18, 2026
14d8a2e
Ruff change
gregrmunday Jun 18, 2026
83a68fd
Merge pull request #71 from MetOffice/gm/lazy-global-model
hmkhatri Jun 18, 2026
286db6d
Update notebook
gregrmunday Jun 19, 2026
bcf73ab
Merge branch 'profsea-v3' of github.com:MetOffice/ProFSea-tool into p…
gregrmunday Jun 19, 2026
f94b2b8
Update notebook
gregrmunday Jun 19, 2026
8f79b39
Update landing page text
gregrmunday Jun 19, 2026
3ffced8
Add MO logo
gregrmunday Jun 19, 2026
58cc60c
Update logo
gregrmunday Jun 19, 2026
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
23 changes: 23 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
target-branch: "profsea-v3"
schedule:
interval: "weekly"
day: "monday"
groups:
actions-updates:
patterns:
- "*"

- package-ecosystem: "pip"
directory: "/"
target-branch: "profsea-v3"
schedule:
interval: "weekly"
day: "monday"
groups:
python-dependencies:
patterns:
- "*"
68 changes: 68 additions & 0 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# (C) Crown Copyright 2025, Met Office.
# The LICENSE file contains full licensing details.
name: Documentation

on:
# Runs on pushes targeting the default branch.
push:
branches: ["profsea-v3"]

# Allows you to run this workflow manually from the Actions tab.
workflow_dispatch:

# Use a login shell so the Conda environment is activated.
defaults:
run:
shell: bash -leo pipefail {0}

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages.
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment,
# skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs
# as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6

- name: Setup GitHub Pages
uses: actions/configure-pages@v6

- uses: mamba-org/setup-micromamba@v3
with:
environment-file: docs-environment.yml
environment-name: profsea-climate-docs
cache-environment: true
cache-environment-key: env-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('docs-environment.yml') }}

- name: Build with Sphinx
run: make --directory=docs html

- name: Upload artifact
uses: actions/upload-pages-artifact@v4
with:
path: docs/build/html

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
38 changes: 38 additions & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Pytest Suite

on:
push:
branches:
- 'profsea-v3'

pull_request:
branches:
- profsea-v3

jobs:
test:
name: Run Unit Tests
runs-on: ubuntu-latest

steps:
# 1. Grab the repository code
- name: Checkout Repository
uses: actions/checkout@v4

# 2. Set up the Python environment
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12" # Adjust this to match your project's target version
cache: 'pip' # Speeds up subsequent runs

# 3. Install the package and test dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[test]"

# 4. Execute the test suite
- name: Run Pytest
run: |
pytest tests/ -v
35 changes: 35 additions & 0 deletions .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Ruff Linting

on:
push:
branches:
- 'profsea-v3'
pull_request:
branches:
- profsea-v3

jobs:
ruff:
name: Code Quality (Ruff)
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: 'pip'

- name: Install Ruff
run: |
python -m pip install --upgrade pip
pip install ruff

- name: Run Ruff Linter
run: ruff check --output-format=github .

- name: Run Ruff Formatter
run: ruff format --check .
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
# Folders
*__pycache__*
profsea.egg-info
data/
.pytest_cache/
.ipynb_checkpoints/
.ruff_cache/
profsea/profsea-assets/

# Ignore the documentation build directory
docs/build
*.DS_Store
99 changes: 0 additions & 99 deletions ProFSea-environment.lock

This file was deleted.

14 changes: 0 additions & 14 deletions ProFSea-environment.yml

This file was deleted.

34 changes: 27 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,35 @@
# ProFSea-tool
# ProFSea <img width="100" alt="logo" src="https://github.com/user-attachments/assets/cba78630-9965-4b66-8be1-065ae975229e" />

[![DOI](https://zenodo.org/badge/713453340.svg)](https://zenodo.org/doi/10.5281/zenodo.10255467)
[![DOI](https://zenodo.org/badge/713453340.svg)](https://zenodo.org/doi/10.5281/zenodo.10255467) [![tests](https://img.shields.io/github/actions/workflow/status/MetOffice/ProFSea-tool/pytest.yml?branch=profsea-v3&label=Tests&logo=github&logoColor=white)](https://github.com/MetOffice/ProFSea-tool/actions/workflows/pytest.yml) [![lint](https://img.shields.io/github/actions/workflow/status/MetOffice/ProFSea-tool/ruff.yml?branch=profsea-v3&label=Linting)](https://github.com/MetOffice/ProFSea-tool/actions/workflows/ruff.yml) [![docs](https://img.shields.io/github/actions/workflow/status/MetOffice/ProFSea-tool/deploy-docs.yml?branch=profsea-v3&label=Documentation)](https://github.com/MetOffice/ProFSea-tool/actions/workflows/deploy-docs.yml) [![ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json&label=Code%20style)](https://github.com/astral-sh/ruff)

The ProFSea tool should be cited as: Perks, R., & Weeks, J. (2023). MetOffice/ProFSea-tool: v1.0.0 (v1.0.0). Zenodo. https://doi.org/10.5281/zenodo.10255468
ProFSea is sea-level rise simulator based on statistical emulations of physical modelling experiments and lines of evidence from the IPCC and across the literature. It's modular, easy to setup and self-contained - all you need is global mean surface temperature and ocean heat content forcing anomalies, using any baseline period, and you're good to go.

## User Guide
A user guide summarising the underpinning science on sea-level projections and providing guidance on how to set-up and run the Met Office Projecting Future Sea Level (ProFSea) tool can be found here: [10.5281/zenodo.10134070](https://zenodo.org/doi/10.5281/zenodo.10134070).
We simulate sea-level change contributions from:

Users are advised to read this guide before using any products as it describes the data availability, the main outputs from the tool and the caveats and limitations.
- Antartic Ice Sheet 🇦🇶
- Greenland Ice Sheet 🧊
- Glacier melt 🏔️
- Thermal expansion 🌡️
- Landwater ⛰️

The ProFSea tool user guide should be cited as: Perks, R. J. (2023). Met Office Projecting Future Sea Level (ProFSea) tool - User Guide (1.1). Met Office. https://doi.org/10.5281/zenodo.10245409
ProFSea can calculate projections of both global mean sea-level rise and spatially-resolved sea-level change fields:

<p align="center">
<img width="480" height="273" alt="output" src="https://github.com/user-attachments/assets/82122190-1566-4386-b558-da32b4bee7e7" />
</p>

All the data required to run the regionalisation module can be found here: [![DOI](https://doi.org/badge/10.5281/20427061.svg)](https://doi.org/10.5281/zenodo.20427061)

## Developments

Ongoing developments include:

- [x] 🛠️ Full spatial field projections of regional sea-level change
- [x] 🛠️ Use any input climate forcing to produce ProFSea projections
- [x] 🛠️ Updates to sea-level components based on the latest evidence in the literature
- [ ] 🛠️ Observational constraints to projection ensembles
- [x] 🛠️ Structural enhancements such as updated workflows, GitHub Actions and general reformatting
- [x] 🛠️ Full code documentation

## Contributors
Several people have contributed to the development of the ProFSea tool and User Guide documentation, namely: Rachel Perks, Jacob Cheung, Benjamin Harrison, Katie Hodge, Mathew Palmer, Michael Sanderson, Hamish Steptoe, Jennifer Weeks and Gregory Munday.
Expand Down
9 changes: 9 additions & 0 deletions docs-environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: profsea-sphinx-docs

dependencies:
- pre-commit
- pydata-sphinx-theme
- sphinx
- sphinx-design
- nbsphinx
- pandoc
20 changes: 20 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Minimal makefile for Sphinx documentation
#

# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = source
BUILDDIR = build

# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: help Makefile

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
Loading
Loading