From 040fb52ae87b9ab98e655b02092858ebbc1030cd Mon Sep 17 00:00:00 2001
From: Julia Kent <46687291+jukent@users.noreply.github.com>
Date: Mon, 1 Apr 2024 12:10:50 -0600
Subject: [PATCH 01/10] new theme
---
_config.yml | 21 ++++++++++++-------
_static/custom.css | 6 ++++++
environment.yml | 2 +-
.../images/logos/NCAR-contemp-logo-blue.svg | 1 -
.../NSF-NCAR_Lockup-UCAR-Dark_102523.svg | 1 +
5 files changed, 22 insertions(+), 9 deletions(-)
create mode 100644 _static/custom.css
delete mode 100644 notebooks/images/logos/NCAR-contemp-logo-blue.svg
create mode 100644 notebooks/images/logos/NSF-NCAR_Lockup-UCAR-Dark_102523.svg
diff --git a/_config.yml b/_config.yml
index 425db4e..68118be 100644
--- a/_config.yml
+++ b/_config.yml
@@ -4,7 +4,7 @@
title: Radar Cookbook
author: Max Grover, Zachary Sherman, Milind Sharma
logo: notebooks/images/logos/pythia_logo-white-rtext.svg
-copyright: '2023'
+copyright: '2024'
execute:
# To execute notebooks via a Binder instead, replace 'cache' with 'binder'
@@ -40,6 +40,7 @@ sphinx:
use_issues_button: true
use_repository_button: true
use_edit_page_button: true
+ use_fullscreen_button: true
github_url: https://github.com/ProjectPythia
twitter_url: https://twitter.com/project_pythia
icon_links:
@@ -50,10 +51,13 @@ sphinx:
launch_buttons:
binderhub_url: https://binder.projectpythia.org
notebook_interface: jupyterlab
- jupyterhub_url: https://jupyterhub.arm.gov
- extra_navbar: |
- Theme by Project Pythia.
- All code in Pythia Cookbooks is licensed under Apache 2.0. All other non-code content is licensed under Creative Commons BY 4.0 (CC BY 4.0).
+ jupyterhub_url: https://jupyterhub.arm.gov
+ logo:
+ link: https://projectpythia.org
+ navbar_start:
+ - navbar-logo
+ navbar_end:
+ - navbar-icon-links
logo_link: https://projectpythia.org
navbar_links:
- name: Home
@@ -67,6 +71,9 @@ sphinx:
- name: Community
url: https://projectpythia.org/index.html#join-us
footer_logos:
- NCAR: notebooks/images/logos/NCAR-contemp-logo-blue.svg
+ NCAR: notebooks/images/logos/NSF-NCAR_Lockup-UCAR-Dark_102523.svg
Unidata: notebooks/images/logos/Unidata_logo_horizontal_1200x300.svg
- UAlbany: notebooks/images/logos/UAlbany-A2-logo-purple-gold.svg
\ No newline at end of file
+ UAlbany: notebooks/images/logos/UAlbany-A2-logo-purple-gold.svg
+ footer_start:
+ - footer-logos
+ - footer-info
diff --git a/_static/custom.css b/_static/custom.css
new file mode 100644
index 0000000..0c9948b
--- /dev/null
+++ b/_static/custom.css
@@ -0,0 +1,6 @@
+.bd-main .bd-content .bd-article-container {
+ max-width: 100%; /* default is 60em */
+ }
+ .bd-page-width {
+ max-width: 100%; /* default is 88rem */
+ }
diff --git a/environment.yml b/environment.yml
index ee89b4e..e0ef73f 100644
--- a/environment.yml
+++ b/environment.yml
@@ -18,8 +18,8 @@ dependencies:
- hvplot
- datashader
- panel
+ - sphinx-pythia-theme
- pip
- pip:
- - sphinx-pythia-theme
- fast-barnes-py
- git+https://github.com/vlouf/eth_radar.git
diff --git a/notebooks/images/logos/NCAR-contemp-logo-blue.svg b/notebooks/images/logos/NCAR-contemp-logo-blue.svg
deleted file mode 100644
index 3bcda63..0000000
--- a/notebooks/images/logos/NCAR-contemp-logo-blue.svg
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/notebooks/images/logos/NSF-NCAR_Lockup-UCAR-Dark_102523.svg b/notebooks/images/logos/NSF-NCAR_Lockup-UCAR-Dark_102523.svg
new file mode 100644
index 0000000..538f8ec
--- /dev/null
+++ b/notebooks/images/logos/NSF-NCAR_Lockup-UCAR-Dark_102523.svg
@@ -0,0 +1 @@
+
From 1019b9a2a7ac89902313b8891e067ce6f5a29ed0 Mon Sep 17 00:00:00 2001
From: Julia Kent <46687291+jukent@users.noreply.github.com>
Date: Mon, 1 Apr 2024 12:25:12 -0600
Subject: [PATCH 02/10] execute_binder set to off
---
.gitignore | 1 +
_config.yml | 5 ++---
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.gitignore b/.gitignore
index bba7017..801182d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,6 +9,7 @@ __pycache__/
# Distribution / packaging
.Python
build/
+_build/
develop-eggs/
dist/
downloads/
diff --git a/_config.yml b/_config.yml
index 68118be..25cc1cb 100644
--- a/_config.yml
+++ b/_config.yml
@@ -7,8 +7,7 @@ logo: notebooks/images/logos/pythia_logo-white-rtext.svg
copyright: '2024'
execute:
- # To execute notebooks via a Binder instead, replace 'cache' with 'binder'
- execute_notebooks: binder
+ execute_notebooks: off
timeout: 600
allow_errors: False # cells with expected failures must set the `raises-exception` cell tag
@@ -52,7 +51,7 @@ sphinx:
binderhub_url: https://binder.projectpythia.org
notebook_interface: jupyterlab
jupyterhub_url: https://jupyterhub.arm.gov
- logo:
+ logo:
link: https://projectpythia.org
navbar_start:
- navbar-logo
From 26bde36cb2b201e87edbbd3d7a6f35f324f5269b Mon Sep 17 00:00:00 2001
From: Julia Kent <46687291+jukent@users.noreply.github.com>
Date: Mon, 1 Apr 2024 12:32:48 -0600
Subject: [PATCH 03/10] rm logo_link
---
_config.yml | 1 -
1 file changed, 1 deletion(-)
diff --git a/_config.yml b/_config.yml
index 25cc1cb..6d8e596 100644
--- a/_config.yml
+++ b/_config.yml
@@ -57,7 +57,6 @@ sphinx:
- navbar-logo
navbar_end:
- navbar-icon-links
- logo_link: https://projectpythia.org
navbar_links:
- name: Home
url: https://projectpythia.org
From c2ddbe099e66813381ebfa94c37f4aeeca35d089 Mon Sep 17 00:00:00 2001
From: Julia Kent <46687291+jukent@users.noreply.github.com>
Date: Mon, 1 Apr 2024 14:55:01 -0600
Subject: [PATCH 04/10] analytics
---
_config.yml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/_config.yml b/_config.yml
index 6d8e596..f9a2e3d 100644
--- a/_config.yml
+++ b/_config.yml
@@ -40,6 +40,8 @@ sphinx:
use_repository_button: true
use_edit_page_button: true
use_fullscreen_button: true
+ analytics:
+ google_analytics_id: G-T52X8HNYE8
github_url: https://github.com/ProjectPythia
twitter_url: https://twitter.com/project_pythia
icon_links:
From 7abea0deec3ef9754f097415299f488f025997d8 Mon Sep 17 00:00:00 2001
From: Julia Kent <46687291+jukent@users.noreply.github.com>
Date: Mon, 1 Apr 2024 14:55:51 -0600
Subject: [PATCH 05/10] cahe
---
_config.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/_config.yml b/_config.yml
index f9a2e3d..df6a69d 100644
--- a/_config.yml
+++ b/_config.yml
@@ -7,7 +7,7 @@ logo: notebooks/images/logos/pythia_logo-white-rtext.svg
copyright: '2024'
execute:
- execute_notebooks: off
+ execute_notebooks: cache
timeout: 600
allow_errors: False # cells with expected failures must set the `raises-exception` cell tag
From d0f7d10b01bfae1bc643b08e84a145c095d28ede Mon Sep 17 00:00:00 2001
From: Julia Kent <46687291+jukent@users.noreply.github.com>
Date: Mon, 1 Apr 2024 15:22:44 -0600
Subject: [PATCH 06/10] indent jupyterhub url
---
_config.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/_config.yml b/_config.yml
index df6a69d..335ef0e 100644
--- a/_config.yml
+++ b/_config.yml
@@ -52,7 +52,7 @@ sphinx:
launch_buttons:
binderhub_url: https://binder.projectpythia.org
notebook_interface: jupyterlab
- jupyterhub_url: https://jupyterhub.arm.gov
+ jupyterhub_url: https://jupyterhub.arm.gov
logo:
link: https://projectpythia.org
navbar_start:
From b411bbd75aad4890fe52729363d84306dc271806 Mon Sep 17 00:00:00 2001
From: Julia Kent <46687291+jukent@users.noreply.github.com>
Date: Mon, 1 Apr 2024 15:36:20 -0600
Subject: [PATCH 07/10] fix link
---
.../example-workflows/cacti-data-quality-example.ipynb | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/notebooks/example-workflows/cacti-data-quality-example.ipynb b/notebooks/example-workflows/cacti-data-quality-example.ipynb
index ec6abf9..6aa9c0b 100644
--- a/notebooks/example-workflows/cacti-data-quality-example.ipynb
+++ b/notebooks/example-workflows/cacti-data-quality-example.ipynb
@@ -98,7 +98,7 @@
"### Use the ARM Live API to Download the Data, using ACT\n",
"\n",
"The Atmospheric Data Community Toolkit (ACT) has a helpful module to interface with the data server:\n",
- "* [Download Data API](https://arm-doe.github.io/ACT/API/generated/act.discovery.download_data.html#act.discovery.download_data)"
+ "* [Download Data API](https://arm-doe.github.io/ACT/API/generated/act.discovery.download_arm_data.html)"
]
},
{
@@ -358,14 +358,6 @@
"* ACT:\n",
" - Adam Theisen, Ken Kehoe, Zach Sherman, Bobby Jackson, Alyssa Sockol, Corey Godine, Max Grover, Jason Hemedinger, Jenni Kyrouac, Maxwell Levin, Michael Giansiracusa (2022). The Atmospheric Data Community Toolkit (ACT). Zenodo. DOI: https://doi.org/10.5281/zenodo.6712343"
]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "id": "5eaa9e74-1f0f-4cff-a1db-fff4235004fc",
- "metadata": {},
- "outputs": [],
- "source": []
}
],
"metadata": {
From f37fc3b16651ef2c7f3d38f718dc401ebe3d4fc6 Mon Sep 17 00:00:00 2001
From: Julia Kent <46687291+jukent@users.noreply.github.com>
Date: Mon, 1 Apr 2024 15:42:43 -0600
Subject: [PATCH 08/10] fix link2
---
notebooks/example-workflows/fastbarnes_interpolation_rhi.ipynb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/notebooks/example-workflows/fastbarnes_interpolation_rhi.ipynb b/notebooks/example-workflows/fastbarnes_interpolation_rhi.ipynb
index a11368b..4a912ed 100644
--- a/notebooks/example-workflows/fastbarnes_interpolation_rhi.ipynb
+++ b/notebooks/example-workflows/fastbarnes_interpolation_rhi.ipynb
@@ -112,7 +112,7 @@
"source": [
"## Grab Data\n",
"We use the ARM Live API, accessible through ACT!\n",
- "* [Download Data API](https://arm-doe.github.io/ACT/API/generated/act.discovery.download_data.html#act.discovery.download_data)\n",
+ "* [Download Data API](https://arm-doe.github.io/ACT/API/generated/act.discovery.download_arm_data.html)\n",
"\n",
"We are interested in the C-band radar, which is utilizing a cell-tracking algorithm, with the datastream\n",
"- `houcsapr2cfrS2.a1`\n",
From 0327096c8cacd529aa809785b4533ea562e13f5c Mon Sep 17 00:00:00 2001
From: Julia Kent <46687291+jukent@users.noreply.github.com>
Date: Mon, 1 Apr 2024 15:44:50 -0600
Subject: [PATCH 09/10] fix link3
---
notebooks/example-workflows/tracer-example.ipynb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/notebooks/example-workflows/tracer-example.ipynb b/notebooks/example-workflows/tracer-example.ipynb
index 22db866..fb9da0f 100644
--- a/notebooks/example-workflows/tracer-example.ipynb
+++ b/notebooks/example-workflows/tracer-example.ipynb
@@ -96,7 +96,7 @@
"### Use the ARM Live API to Download the Data, using ACT\n",
"\n",
"The Atmospheric Data Community Toolkit (ACT) has a helpful module to interface with the data server:\n",
- "* [Download Data API](https://arm-doe.github.io/ACT/API/generated/act.discovery.download_data.html#act.discovery.download_data)"
+ "* [Download Data API](hhttps://arm-doe.github.io/ACT/API/generated/act.discovery.download_arm_data.html)"
]
},
{
From bffd794e2d556247afe276b223d9f13e8479b011 Mon Sep 17 00:00:00 2001
From: Julia Kent <46687291+jukent@users.noreply.github.com>
Date: Tue, 2 Apr 2024 11:01:10 -0600
Subject: [PATCH 10/10] download_data is now download_arm_data
---
.gitignore | 3 +++
notebooks/example-workflows/cacti-data-quality-example.ipynb | 2 +-
.../example-workflows/fastbarnes_interpolation_rhi.ipynb | 2 +-
notebooks/example-workflows/tracer-example.ipynb | 4 ++--
4 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/.gitignore b/.gitignore
index 801182d..b7f0eb7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -131,3 +131,6 @@ dmypy.json
# macOS files
.DS_Store
+
+# IDES
+.vscode/
\ No newline at end of file
diff --git a/notebooks/example-workflows/cacti-data-quality-example.ipynb b/notebooks/example-workflows/cacti-data-quality-example.ipynb
index 6aa9c0b..7d6ec9e 100644
--- a/notebooks/example-workflows/cacti-data-quality-example.ipynb
+++ b/notebooks/example-workflows/cacti-data-quality-example.ipynb
@@ -136,7 +136,7 @@
"metadata": {},
"outputs": [],
"source": [
- "csapr_files = act.discovery.download_data(arm_username,\n",
+ "csapr_files = act.discovery.download_arm_data(arm_username,\n",
" arm_password,\n",
" datastream,\n",
" start_date,\n",
diff --git a/notebooks/example-workflows/fastbarnes_interpolation_rhi.ipynb b/notebooks/example-workflows/fastbarnes_interpolation_rhi.ipynb
index 4a912ed..a04a0f0 100644
--- a/notebooks/example-workflows/fastbarnes_interpolation_rhi.ipynb
+++ b/notebooks/example-workflows/fastbarnes_interpolation_rhi.ipynb
@@ -130,7 +130,7 @@
},
"outputs": [],
"source": [
- "aug7_csapr_files = act.discovery.download_data(arm_username,\n",
+ "aug7_csapr_files = act.discovery.download_arm_data(arm_username,\n",
" arm_password,\n",
" datastream,\n",
" start_date,\n",
diff --git a/notebooks/example-workflows/tracer-example.ipynb b/notebooks/example-workflows/tracer-example.ipynb
index fb9da0f..bd6b802 100644
--- a/notebooks/example-workflows/tracer-example.ipynb
+++ b/notebooks/example-workflows/tracer-example.ipynb
@@ -106,7 +106,7 @@
"metadata": {},
"outputs": [],
"source": [
- "act.discovery.download_data?"
+ "act.discovery.download_arm_data?"
]
},
{
@@ -146,7 +146,7 @@
"metadata": {},
"outputs": [],
"source": [
- "june2_csapr_files = act.discovery.download_data(arm_username,\n",
+ "june2_csapr_files = act.discovery.download_arm_data(arm_username,\n",
" arm_password,\n",
" datastream,\n",
" start_date,\n",