Skip to content

Commit ba75e3c

Browse files
authored
Merge pull request #424 from PCMDI/2026-02-26-email-update
Add 2026-02-26 email update
2 parents 11a6811 + 1ec68f5 commit ba75e3c

7 files changed

Lines changed: 90 additions & 5 deletions

File tree

changelog/423.trivial.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixed up URL checking CI

changelog/424.docs.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Added email update from IPO from 2026-02-26 and sorted email updates by date
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# 2026-02-26 update
2+
3+
A further update on CMIP7 future forcings availability, the simple plumes aerosol data for the scenarios VL and H are now published:
4+
5+
> Fiedler, S., & Azoulay, A. (2026). CMIP7 Climate Forcings Dataset: Simple plumes for anthropogenic aerosols in H and VL scenarios (SPv2.1) [Data set].
6+
> Zenodo. https://doi.org/10.5281/zenodo.18713154
7+
8+
And available through input4MIPs at [https://input4mips-cvs.readthedocs.io/en/latest/dataset-overviews/aerosol-optical-properties-macv2-sp/#cmip7_1](https://input4mips-cvs.readthedocs.io/en/latest/dataset-overviews/aerosol-optical-properties-macv2-sp/#cmip7_1).
9+
10+
If you find an issue, please create an issue on GitHub so that the identification and resolution of this issue is publicly accessible.
11+
Emails sent to centres are being archived at [https://input4mips-cvs.readthedocs.io/en/latest/forcings-email-archive/](https://input4mips-cvs.readthedocs.io/en/latest/forcings-email-archive/).
12+
13+
Thank you to the dataset providers, Stephanie Fiedler and Alon Azoulay, for all their efforts.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
- [Overview](index.md)
2+
- [2026-02-26](2026-02-26.md)
3+
- [2026-02-24](2026-02-24.md)
4+
- [2026-02-16](2026-02-16.md)
5+
- [2026-02-12](2026-02-12.md)
6+
- [2025-10-29](2025-10-29.md)
7+
- [2025-10-17](2025-10-17.md)
8+
- [2025-10-14](2025-10-14.md)
9+
- [2025-04-15](2025-04-15.md)
10+
- [2025-03-27](2025-03-27.md)
11+
- [2025-01-31](2025-01-31.md)
12+
- [2025-01-17](2025-01-17.md)
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
"""
2+
Auto-generate the index and nav pages
3+
"""
4+
5+
from __future__ import annotations
6+
7+
from pathlib import Path
8+
9+
HERE = Path(__file__).parent
10+
11+
12+
def write_index(pages_sorted: list[Path], out_file: Path) -> None:
13+
content_l = [
14+
"# Forcings email archive",
15+
"",
16+
"Here we provide an archive of emails with updates about the forcings sent by the CMIP International Project Office (IPO).",
17+
"",
18+
]
19+
20+
for page in pages_sorted:
21+
content_l.append(f"- [{page.stem}]({page.name})")
22+
23+
content = "\n".join(content_l)
24+
with open(out_file, "w") as fh:
25+
fh.write(content)
26+
27+
return
28+
29+
30+
def write_nav(pages_sorted: list[Path], out_file: Path) -> None:
31+
content_l = [
32+
"- [Overview](index.md)",
33+
]
34+
35+
for page in pages_sorted:
36+
content_l.append(f"- [{page.stem}]({page.name})")
37+
38+
content = "\n".join(content_l)
39+
with open(out_file, "w") as fh:
40+
fh.write(content)
41+
42+
return
43+
44+
45+
def main() -> None:
46+
pages = [f for f in HERE.glob("*.md") if f.name not in ["index.md", "SUMMARY.md"]]
47+
pages_sorted = sorted(pages, key=lambda x: x.name, reverse=True)
48+
49+
write_index(pages_sorted=pages_sorted, out_file=HERE / "index.md")
50+
write_nav(pages_sorted=pages_sorted, out_file=HERE / "SUMMARY.md")
51+
52+
53+
# # Can't use this here as not called as main, hence the below
54+
# if __name__ == "__main__":
55+
# main()
56+
#
57+
main()

docs/forcings-email-archive/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
Here we provide an archive of emails with updates about the forcings sent by the CMIP International Project Office (IPO).
44

5+
- [2026-02-26](2026-02-26.md)
6+
- [2026-02-24](2026-02-24.md)
7+
- [2026-02-16](2026-02-16.md)
8+
- [2026-02-12](2026-02-12.md)
59
- [2025-10-29](2025-10-29.md)
610
- [2025-10-17](2025-10-17.md)
711
- [2025-10-14](2025-10-14.md)
812
- [2025-04-15](2025-04-15.md)
913
- [2025-03-27](2025-03-27.md)
1014
- [2025-01-31](2025-01-31.md)
11-
- [2025-01-17](2025-01-17.md)
12-
- [2025-10-29](2025-10-29.md)
13-
- [2026-02-12](2026-02-12.md)
14-
- [2026-02-16](2026-02-16.md)
15-
- [2026-02-24](2026-02-24.md)
15+
- [2025-01-17](2025-01-17.md)

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ plugins:
8383
scripts:
8484
- docs/dataset-overviews/fill-out-auto-generated-sections.py
8585
- docs/source-id-landing-pages/auto-generate-source-id-pages.py
86+
- docs/forcings-email-archive/auto-generate-index-and-nav.py
8687
# Required for handling the source ID landing pages
8788
- literate-nav:
8889

0 commit comments

Comments
 (0)