Skip to content

Commit e8b0530

Browse files
authored
Formatting updates and general clean up (#321)
* initial environment clean up * remove unneeded version pin * update project metadata and favicon * set copyright year to start of project * fix analytics * turns out we needed the github_url config * update blog formatting and minimize warnings * update navbar link names * add back in custom.css for the sidebar and minor config updates * fix some link related warnings
1 parent 8db9376 commit e8b0530

File tree

8 files changed

+39
-33
lines changed

8 files changed

+39
-33
lines changed

_templates/hello.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
<div class="bio-info">
2-
<div class="name">Earth System Data Science initiative at NSF NCAR</div>
2+
<div class="name">Earth System Data Science (ESDS) at NSF NCAR & UCAR</div>
33

44
<div class="whatido">
55
<p>Building an inclusive sociotechnical network to promote effective synthesis
66
and interpretation of data relevant to solving problems in Earth system
77
science and supporting decisions within stakeholder communities.</p>
88

9-
<p>The Earth System Data Science initiative follows these <a href="https://www.ucar.edu/accessibility">accsesibility guidelines</a></p>
109
</div>
1110
</div>

about.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# About Us
1+
# About
22

33
The Earth System Data Science (ESDS) initiative is a community
44
with a common interest in advancing geoscientist’s ability to make
@@ -27,7 +27,7 @@ described in our [governance document](https://docs.google.com/document/d/1xjNzJ
2727

2828
## Vision
2929

30-
_The Earth System Data Science initiative aims to profoundly increase the effectiveness of the NSF NCAR and UCAR workforce by promoting deeper collaboration centered on analytics, improving our capacity to deliver impactful, actionable, reproducible science and serve the university community by transforming how geoscientists synthesize and extract information from large, diverse data sets._
30+
The Earth System Data Science initiative aims to profoundly increase the effectiveness of the NSF NCAR and UCAR workforce by promoting deeper collaboration centered on analytics, improving our capacity to deliver impactful, actionable, reproducible science and serve the university community by transforming how geoscientists synthesize and extract information from large, diverse data sets._
3131

3232
Effective synthesis and analysis of large datasets is a rate-limiting step to advancing science across NSF NCAR and UCAR and our community. Recent developments in open-source scientific software, notably those identified by the [Pangeo community](https://pangeo.io/), provide both inspiring technical solutions to Big Data geoscience problems and paradigms for large-scale collaboration. Analysis workflows across NSF NCAR and UCAR share much in common, despite disciplinary differences; thus, a focus on data and its transformation into useful information illuminates the potential for novel collaborations across the organization. Moreover, open, collaborative development focused on reproducible science holds transformative potential for how NSF NCAR and UCAR and the community approaches science.
3333

communication.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Communication and Meetings
1+
# Community
22

33
## Email List
44

@@ -49,7 +49,7 @@ Slack is an asynchronous messaging platform which can be used for both private m
4949

5050
## ESDS Forum
5151

52-
Every other Monday from 2-3pm MT, we hold the ESDS Forum over [Google Meet](meet.google.com/mfb-whpi-tnj), which provides a venue for discussion, coordination and showcasing work in progress. Examples include:
52+
Every other Monday from 2-3pm MT, we hold the ESDS Forum over [Google Meet](https://meet.google.com/mfb-whpi-tnj), which provides a venue for discussion, coordination and showcasing work in progress. Examples include:
5353

5454
- Workflow demos
5555
- Overview of packages and analysis tools

conf.py

Lines changed: 29 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717

1818
# -- Project information -----------------------------------------------------
1919

20-
project = 'ESDS'
21-
copyright = '2024'
22-
author = 'Earth System Data Science (ESDS) community'
20+
project = 'ESDS Website'
21+
copyright = '2021, ESDS Community'
22+
author = 'ESDS Community'
2323

2424

2525
# -- General configuration ---------------------------------------------------
@@ -57,15 +57,28 @@
5757
#
5858

5959
html_logo = "_static/esds_logo.png"
60+
html_favicon = "_static/esds_logo.png"
61+
html_sourcelink_suffix = ""
62+
html_last_updated_fmt = ""
63+
64+
html_context = {
65+
"github_user": "NCAR",
66+
"github_repo": "esds",
67+
"github_version": "main",
68+
"doc_path": "",
69+
}
70+
71+
html_static_path = ["_static"]
72+
html_css_files = ["custom.css"]
73+
html_show_sourcelink = False
6074

6175
html_theme = 'pydata_sphinx_theme'
6276

6377
# Add some more theme Options
6478
html_theme_options = {
65-
'github_url': 'https://github.com/ncar/esds',
66-
'google_analytics_id': 'UA-196809533-1',
67-
'navbar_end': ['search-button', 'theme-switcher', 'navbar-icon-links'],
68-
'navbar_persistent': [],
79+
'use_edit_page_button': True,
80+
'github_url': 'https://github.com/NCAR/esds',
81+
'navbar_end': ['theme-switcher', 'navbar-icon-links'],
6982
'icon_links': [
7083
{
7184
"name": "YouTube",
@@ -76,6 +89,10 @@
7689
],
7790
}
7891

92+
html_theme_options["analytics"] = {
93+
"google_analytics_id": "UA-196809533-1",
94+
}
95+
7996
rediraffe_redirects = 'redirects.txt'
8097

8198

@@ -88,13 +105,10 @@
88105
'index': ['hello.html'],
89106
'about': ['hello.html'],
90107
'communication': ['hello.html'],
91-
'blog': ['sidebar-nav-bs.html', 'tagcloud.html', 'archives.html'],
92-
'posts/**': [
93-
'sidebar-nav-bs.html',
94-
'postcard.html',
95-
'recentposts.html',
96-
'archives.html',
97-
],
108+
'office-hours': ['hello.html'],
109+
'resources': ['hello.html'],
110+
'blog': ['ablog/recentposts.html', 'ablog/archives.html', 'ablog/tagcloud.html'],
111+
'posts/**': ['ablog/postcard.html', 'ablog/recentposts.html', 'ablog/archives.html'],
98112
}
99113

100114

@@ -114,10 +128,6 @@
114128
myst_enable_extensions = ['amsmath', 'colon_fence', 'deflist', 'html_image', 'dollarmath']
115129
myst_url_schemes = ['http', 'https', 'mailto']
116130

117-
118131
# Temporarily stored as off until we fix it
119-
jupyter_execute_notebooks = 'off'
120-
132+
nb_execution_mode = 'off'
121133

122-
# def setup(app):
123-
# app.add_css_file('custom.css')

environment.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,17 @@ dependencies:
1717
- matplotlib
1818
- myst-nb>=0.12.0
1919
- netcdf4
20-
- pip
2120
- pydata-sphinx-theme>=0.4.3
2221
- python-graphviz
23-
- python=3.9
2422
- scipy
2523
- seaborn
2624
- sparse
2725
- sphinx
2826
- sphinx-autobuild
2927
- sphinx-comments
30-
- sphinxcontrib-bibtex<2.0.0
28+
- sphinxcontrib-bibtex
3129
- xarray>=0.18.2
3230
- sphinxext-rediraffe
3331
- sphinx-design
3432
- sphinx-copybutton
35-
- pip:
36-
- sphinxext-opengraph
33+
- sphinxext-opengraph

index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Earth System Data Science (ESDS) Initiative
1+
# Earth System Data Science
22

33
Hello! This is a place to store updates from the ESDS working group
44
including a variety of blog posts and resources for the community

office-hours.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ If your question is about an error message you are raising in your workflow, hel
1010

1111
```{admonition} ESDS Collaboratory on Wednesday, June 25!
1212
:class: admonition
13-
ESDS is organizing in-person "Collaboratory" days to encourage outreach, engagement, and the sharing of ideas between teams. These sessions will rotate through the ML, CG, and FL libraries (each lab housing one event per quarter). For more information, check out [this blog post](posts/2025/collaboratory.html).
13+
ESDS is organizing in-person "Collaboratory" days to encourage outreach, engagement, and the sharing of ideas between teams. These sessions will rotate through the ML, CG, and FL libraries (each lab housing one event per quarter). For more information, check out [this blog post](../posts/2025/collaborary).
1414
```
1515

1616
<iframe

posts/2021/kay-et-al-cesm2-le.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"metadata": {},
1515
"source": [
1616
"## Introduction\n",
17-
"This Jupyter Notebook demonstrates how one might use the NCAR Community Earth System Model v2 (CESM2) Large Ensemble (CESM2-LE) data hosted on AWS S3. The notebook shows how to reproduce figure 2 from the Kay et al. (2015) paper describing the CESM LENS dataset ([doi:10.1175/BAMS-D-13-00255.1](doi:10.1175/BAMS-D-13-00255.1)), with the LENS2 dataset.\n",
17+
"This Jupyter Notebook demonstrates how one might use the NCAR Community Earth System Model v2 (CESM2) Large Ensemble (CESM2-LE) data hosted on AWS S3. The notebook shows how to reproduce figure 2 from the Kay et al. (2015) paper describing the CESM LENS dataset ([doi:10.1175/BAMS-D-13-00255.1](https://doi.org:10.1175/BAMS-D-13-00255.1)), with the LENS2 dataset.\n",
1818
"\n",
1919
"There was a previous notebook which explored this use case, put together by Joe Hamman and Anderson Banihirwe, accessible on the Pangeo Gallery using [this link](http://gallery.pangeo.io/repos/NCAR/cesm-lens-aws/notebooks/kay-et-al-2015.v3.html). The specific figure we are replicating is shown below.\n",
2020
"\n",

0 commit comments

Comments
 (0)