Skip to content

Commit d716cdf

Browse files
authored
Merge pull request #34 from jukent/main
use new theme
2 parents 9cae533 + bfeaf93 commit d716cdf

File tree

6 files changed

+26
-16
lines changed

6 files changed

+26
-16
lines changed

_config.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
title: Intake Cookbook
55
author: James Morley
66
logo: notebooks/images/logos/pythia_logo-white-rtext.svg
7-
copyright: '2022'
7+
copyright: '2024'
88

99
# Execute the notebooks upon build
1010
execute:
@@ -43,6 +43,9 @@ sphinx:
4343
use_issues_button: true
4444
use_repository_button: true
4545
use_edit_page_button: true
46+
use_fullscreen_button: true
47+
analytics:
48+
google_analytics_id: G-T52X8HNYE8
4649
github_url: https://github.com/ProjectPythia
4750
twitter_url: https://twitter.com/project_pythia
4851
icon_links:
@@ -53,10 +56,12 @@ sphinx:
5356
launch_buttons:
5457
binderhub_url: https://binder.projectpythia.org
5558
notebook_interface: jupyterlab
56-
extra_navbar: |
57-
Theme by <a href="https://projectpythia.org">Project Pythia</a>.<br><br>
58-
All code in Pythia Cookbooks is licensed under Apache 2.0. All other non-code content is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">Creative Commons BY 4.0 (CC BY 4.0)</a>.<br><br>
59-
logo_link: https://projectpythia.org
59+
logo:
60+
link: https://projectpythia.org
61+
navbar_start:
62+
- navbar-logo
63+
navbar_end:
64+
- navbar-icon-links
6065
navbar_links:
6166
- name: Home
6267
url: https://projectpythia.org
@@ -69,6 +74,9 @@ sphinx:
6974
- name: Community
7075
url: https://projectpythia.org/index.html#join-us
7176
footer_logos:
72-
NCAR: notebooks/images/logos/NCAR-contemp-logo-blue.svg
77+
NCAR: notebooks/images/logos/NSF-NCAR_Lockup-UCAR-Dark_102523.svg
7378
Unidata: notebooks/images/logos/Unidata_logo_horizontal_1200x300.svg
7479
UAlbany: notebooks/images/logos/UAlbany-A2-logo-purple-gold.svg
80+
footer_start:
81+
- footer-logos
82+
- footer-info

_static/custom.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.bd-main .bd-content .bd-article-container {
2+
max-width: 100%; /* default is 60em */
3+
}
4+
.bd-page-width {
5+
max-width: 100%; /* default is 88rem */
6+
}

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ dependencies:
1515
- metpy
1616
- requests
1717
- aiohttp
18+
- sphinx-pythia-theme
1819
- pip:
19-
- sphinx-pythia-theme
2020
- intake-markdown

notebooks/creating_catalogs.ipynb

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,7 @@
173173
"urls = ['s3://hrrrzarr/sfc/20160824/20160824_00z_anl.zarr/surface/TMP/surface',\n",
174174
" 's3://hrrrzarr/sfc/20160824/20160824_00z_anl.zarr/surface/TMP']\n",
175175
"\n",
176-
"source = intake.open_zarr(urls, chunks=None,\n",
177-
" storage_options={\"anon\": True},\n",
178-
" consolidated=True)\n",
176+
"source = intake.open_zarr(urls, storage_options={\"anon\": True})\n",
179177
"\n",
180178
"source.name = 'hrrrzarr'\n",
181179
"source.description = \"Mesowest's HRRR data. See readme source for more information.\"\n",
@@ -301,9 +299,7 @@
301299
"source = intake.open_csv('inventory.csv',\n",
302300
" csv_kwargs={'keep_default_na': False})\n",
303301
"source.name = 'data_dictionary'\n",
304-
"source.description = 'Describes the data in the hrrrzarr source'\n",
305-
"\n",
306-
"source.read()"
302+
"source.description = 'Describes the data in the hrrrzarr source'"
307303
]
308304
},
309305
{
@@ -463,7 +459,7 @@
463459
},
464460
"outputs": [],
465461
"source": [
466-
"cat.data_dictionary.read()"
462+
"cat.data_dictionary"
467463
]
468464
},
469465
{
@@ -520,7 +516,7 @@
520516
"name": "python",
521517
"nbconvert_exporter": "python",
522518
"pygments_lexer": "ipython3",
523-
"version": "3.10.5"
519+
"version": "3.12.2"
524520
},
525521
"nbdime-conflicts": {
526522
"local_diff": [

notebooks/images/logos/NCAR-contemp-logo-blue.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

notebooks/images/logos/NSF-NCAR_Lockup-UCAR-Dark_102523.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)