Skip to content

Commit

Permalink
Trying to get github actions to work...
Browse files Browse the repository at this point in the history
  • Loading branch information
vonw committed Apr 25, 2023
1 parent 4fb71d6 commit e371bbb
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/book.yml
Expand Up @@ -20,10 +20,10 @@ jobs:
- uses: actions/checkout@v2

# Install dependencies
- name: Set up Python 3.8
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.10

- name: Install dependencies
run: |
Expand Down
Binary file modified _build/.doctrees/chapter4/Insolation.doctree
Binary file not shown.
Binary file modified _build/.doctrees/environment.pickle
Binary file not shown.
9 changes: 6 additions & 3 deletions _build/html/_sources/chapter4/Insolation.ipynb
Expand Up @@ -25,17 +25,19 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"### Calculates the insolation at the top of the atmosphere (TOA) as a function of time and location."
"## Calculates the insolation at the top of the atmosphere (TOA) as a function of time and location."
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Solar flux per unit area at TOA (Equations from Hartmann, <i>Global Physical Climatology</i>)"
"### Solar flux per unit area at TOA (Equations from Hartmann, <i>Global Physical Climatology</i>)"
]
},
{
Expand Down Expand Up @@ -176,10 +178,11 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"### Geographic distribution of insolation (solar radition) at TOA"
"## Geographic distribution of insolation (solar radition) at TOA"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion _build/html/chapter4/Insolation.html
Expand Up @@ -693,7 +693,7 @@ <h2>Geographic distribution of insolation (solar radition) at TOA<a class="heade
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;matplotlib.legend.Legend at 0x12789b790&gt;
<div class="output text_plain highlight-myst-ansi notranslate"><div class="highlight"><pre><span></span>&lt;matplotlib.legend.Legend at 0x11a37a4a0&gt;
</pre></div>
</div>
<img alt="../_images/Insolation_18_1.png" src="../_images/Insolation_18_1.png" />
Expand Down
2 changes: 1 addition & 1 deletion _build/html/searchindex.js

Large diffs are not rendered by default.

11 changes: 7 additions & 4 deletions _build/jupyter_execute/chapter4/Insolation.ipynb
Expand Up @@ -25,17 +25,19 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"### Calculates the insolation at the top of the atmosphere (TOA) as a function of time and location."
"## Calculates the insolation at the top of the atmosphere (TOA) as a function of time and location."
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Solar flux per unit area at TOA (Equations from Hartmann, <i>Global Physical Climatology</i>)"
"### Solar flux per unit area at TOA (Equations from Hartmann, <i>Global Physical Climatology</i>)"
]
},
{
Expand Down Expand Up @@ -176,10 +178,11 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"### Geographic distribution of insolation (solar radition) at TOA"
"## Geographic distribution of insolation (solar radition) at TOA"
]
},
{
Expand Down Expand Up @@ -231,7 +234,7 @@
{
"data": {
"text/plain": [
"<matplotlib.legend.Legend at 0x12789b790>"
"<matplotlib.legend.Legend at 0x11a37a4a0>"
]
},
"execution_count": 8,
Expand Down
6 changes: 3 additions & 3 deletions _build/jupyter_execute/chapter4/Insolation.py
Expand Up @@ -12,9 +12,9 @@
import matplotlib.pyplot as plt


# ### Calculates the insolation at the top of the atmosphere (TOA) as a function of time and location.
# ## Calculates the insolation at the top of the atmosphere (TOA) as a function of time and location.

# #### Solar flux per unit area at TOA (Equations from Hartmann, <i>Global Physical Climatology</i>)
# ### Solar flux per unit area at TOA (Equations from Hartmann, <i>Global Physical Climatology</i>)

# $$Q = S_o (d_m/d)^2 \cos(\theta_s)$$
# where So is the solar "constant", dm is the mean distance between the Earth and Sun, d is the actual distance between the Earth and Sun, and theta(s) is the solar zenith angle.
Expand Down Expand Up @@ -97,7 +97,7 @@ def Qday_avg(latitude,day):
print('Q =', Qday_avg(lat, day))


# ### Geographic distribution of insolation (solar radition) at TOA
# ## Geographic distribution of insolation (solar radition) at TOA

# In[7]:

Expand Down
4 changes: 2 additions & 2 deletions _config.yml
Expand Up @@ -27,9 +27,9 @@ repository:

# Use JupyterLab (instead of Classic notebook)
launch_buttons:
notebook_interface: "jupyterlab" # or "classic"
# notebook_interface: "jupyterlab" # or "classic"
binderhub_url: "https://mybinder.org"
jupyterhub_url: "https://134.121.21.204:8000/"
# jupyterhub_url: "https://134.121.21.204:8000/"

# Add GitHub buttons to your book
# See https://jupyterbook.org/customize/config.html#add-a-link-to-your-repository
Expand Down

0 comments on commit e371bbb

Please sign in to comment.