Skip to content

Commit

Permalink
website update
Browse files Browse the repository at this point in the history
  • Loading branch information
droglenc committed Mar 25, 2024
1 parent 7807e6d commit 22b10c4
Show file tree
Hide file tree
Showing 71 changed files with 7,397 additions and 4,007 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"hash": "3cf60e4600411ca679396a66e01a6d30",
"result": {
"markdown": "---\ntitle: Water Heights at Flynn Lake Dam\ndescription: Analysis of water heights at the Pike Chain outlet on Flynn Lake.\nauthor: Derek H. Ogle\ndate: 5/6/2023\nimage: Flynn_Dam.jpg\ncategories:\n - Pike Chain\n - Climate/Weather\n - Limnology\n - Vis\nknitr:\n opts_chunk:\n fig.width: 6\n fig.height: 4\nformat: \n html:\n df-print: kable\n---\n\n::: {.cell layout-align=\"center\"}\n\n:::\n\n::: {.cell layout-align=\"center\"}\n\n:::\n\n::: {.cell layout-align=\"center\"}\n\n:::\n\n::: {.cell layout-align=\"center\"}\n::: {.cell-output-display}\n![](Flynn_Dam.jpg){fig-align='center' width=67%}\n:::\n:::\n\n\n:::{.callout-warning icon=false}\n# Summary\n- Stream gauge measurements (i.e., water levels) were made daily at the Flynn Lake dam (outlet of Pike Chain of Lakes) from May 2 to March 17 2023. Water flowed continuously over the dam during this period.\n- Water levels fluctuated 6.5\", from a low of 1' 9.6\" (earliest was August 16,\nlatest was March 14) to a high of 2' 4.1\" (on May 2).\n- The greatest daily change in water level was an increase of 2.4\" on July 27 following 1.16\" of rain. Interestingly lower daily water level increases were observed following greater amounts of rain on other dates.\n- In the absence of rain, water levels generally dropped between 1/8\" and 1/4\" per day (for the water levels observed in this year).\n:::\n\n \n\n\n::: {.cell layout-align=\"center\"}\n::: {.cell-output-display}\n![](index_files/figure-html/depth_series_wrain-1.png){fig-align='center' width=768}\n:::\n:::\n\n\n\n \n\n\n::: {.cell layout-align=\"center\"}\n::: {.cell-output-display}\n![](index_files/figure-html/delta_depth_series_wrain-1.png){fig-align='center' width=768}\n:::\n:::\n\n\n \n\n:::{.callout-important icon=false}\n## Acknowledgments\n\nThanks to Hal A, Ieuan A, Joe R., Kevin S., and Tim T. for taking the measurements when I could not!!\n:::\n",
"markdown": "---\ntitle: Water Heights at Flynn Lake Dam\ndescription: Analysis of water heights at the Pike Chain outlet on Flynn Lake.\nauthor: Derek H. Ogle\ndate: 5/6/2023\nimage: Flynn_Dam.jpg\ncategories:\n - Pike Chain\n - Climate/Weather\n - Limnology\n - Vis\nknitr:\n opts_chunk:\n fig.width: 6\n fig.height: 4\nformat: \n html:\n df-print: kable\n---\n\n::: {.cell layout-align=\"center\"}\n\n:::\n\n::: {.cell layout-align=\"center\"}\n\n:::\n\n::: {.cell layout-align=\"center\"}\n\n:::\n\n::: {.cell layout-align=\"center\"}\n::: {.cell-output-display}\n![](Flynn_Dam.jpg){fig-align='center' width=67%}\n:::\n:::\n\n\n:::{.callout-warning icon=false}\n# Summary\n- Stream gauge measurements (i.e., water levels) were made daily at the Flynn Lake dam (outlet of Pike Chain of Lakes) from May 2 to March 24 2023. Water flowed continuously over the dam during this period.\n- Water levels fluctuated 7\", from a low of 1' 9.1\" (earliest was March 23,\nlatest was March 24) to a high of 2' 4.1\" (on May 2).\n- The greatest daily change in water level was an increase of 2.4\" on July 27 following 1.16\" of rain. Interestingly lower daily water level increases were observed following greater amounts of rain on other dates.\n- In the absence of rain, water levels generally dropped between 1/8\" and 1/4\" per day (for the water levels observed in this year).\n:::\n\n \n\n\n::: {.cell layout-align=\"center\"}\n::: {.cell-output-display}\n![](index_files/figure-html/depth_series_wrain-1.png){fig-align='center' width=768}\n:::\n:::\n\n\n\n \n\n\n::: {.cell layout-align=\"center\"}\n::: {.cell-output-display}\n![](index_files/figure-html/delta_depth_series_wrain-1.png){fig-align='center' width=768}\n:::\n:::\n\n\n \n\n:::{.callout-important icon=false}\n## Acknowledgments\n\nThanks to Hal A, Ieuan A, Joe R., Kevin S., and Tim T. for taking the measurements when I could not!!\n:::\n",
"supporting": [
"index_files"
],
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
129 changes: 116 additions & 13 deletions docs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.2.269">
<meta name="generator" content="quarto-1.3.450">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

Expand All @@ -17,7 +17,7 @@
ul.task-list{list-style: none;}
ul.task-list li input[type="checkbox"] {
width: 0.8em;
margin: 0 0.8em 0.2em -1.6em;
margin: 0 0.8em 0.2em -1em; /* quarto-specific, see https://github.com/quarto-dev/quarto-cli/issues/4556 */
vertical-align: middle;
}
</style>
Expand Down Expand Up @@ -45,7 +45,8 @@
"search-more-matches-text": "more matches in this document",
"search-clear-button-title": "Clear",
"search-detached-cancel-button-title": "Cancel",
"search-submit-button-title": "Submit"
"search-submit-button-title": "Submit",
"search-label": "Search"
}
}</script>
<style>html{ scroll-behavior: smooth; }</style>
Expand Down Expand Up @@ -73,18 +74,20 @@
<div class="collapse navbar-collapse" id="navbarCollapse">
<ul class="navbar-nav navbar-nav-scroll me-auto">
<li class="nav-item">
<a class="nav-link" href="/professional/index.html">
<a class="nav-link" href="/professional/index.html" rel="" target="">
<span class="menu-text">Professional</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="/personal/index.html">
<a class="nav-link" href="/personal/index.html" rel="" target="">
<span class="menu-text">Personal</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="/portfolio/index.html">
<a class="nav-link" href="/portfolio/index.html" rel="" target="">
<span class="menu-text">Portfolio</span></a>
</li>
</ul>
<div class="quarto-navbar-tools ms-auto">
</div>
</div> <!-- /navcollapse -->
</div> <!-- /container-fluid -->
</nav>
Expand Down Expand Up @@ -150,9 +153,23 @@ <h1 class="title">Page Not Found</h1>
icon: icon
};
anchorJS.add('.anchored');
const isCodeAnnotation = (el) => {
for (const clz of el.classList) {
if (clz.startsWith('code-annotation-')) {
return true;
}
}
return false;
}
const clipboard = new window.ClipboardJS('.code-copy-button', {
target: function(trigger) {
return trigger.previousElementSibling;
text: function(trigger) {
const codeEl = trigger.previousElementSibling.cloneNode(true);
for (const childEl of codeEl.children) {
if (isCodeAnnotation(childEl)) {
childEl.remove();
}
}
return codeEl.innerText;
}
});
clipboard.on('success', function(e) {
Expand Down Expand Up @@ -217,6 +234,92 @@ <h1 class="title">Page Not Found</h1>
return note.innerHTML;
});
}
let selectedAnnoteEl;
const selectorForAnnotation = ( cell, annotation) => {
let cellAttr = 'data-code-cell="' + cell + '"';
let lineAttr = 'data-code-annotation="' + annotation + '"';
const selector = 'span[' + cellAttr + '][' + lineAttr + ']';
return selector;
}
const selectCodeLines = (annoteEl) => {
const doc = window.document;
const targetCell = annoteEl.getAttribute("data-target-cell");
const targetAnnotation = annoteEl.getAttribute("data-target-annotation");
const annoteSpan = window.document.querySelector(selectorForAnnotation(targetCell, targetAnnotation));
const lines = annoteSpan.getAttribute("data-code-lines").split(",");
const lineIds = lines.map((line) => {
return targetCell + "-" + line;
})
let top = null;
let height = null;
let parent = null;
if (lineIds.length > 0) {
//compute the position of the single el (top and bottom and make a div)
const el = window.document.getElementById(lineIds[0]);
top = el.offsetTop;
height = el.offsetHeight;
parent = el.parentElement.parentElement;
if (lineIds.length > 1) {
const lastEl = window.document.getElementById(lineIds[lineIds.length - 1]);
const bottom = lastEl.offsetTop + lastEl.offsetHeight;
height = bottom - top;
}
if (top !== null && height !== null && parent !== null) {
// cook up a div (if necessary) and position it
let div = window.document.getElementById("code-annotation-line-highlight");
if (div === null) {
div = window.document.createElement("div");
div.setAttribute("id", "code-annotation-line-highlight");
div.style.position = 'absolute';
parent.appendChild(div);
}
div.style.top = top - 2 + "px";
div.style.height = height + 4 + "px";
let gutterDiv = window.document.getElementById("code-annotation-line-highlight-gutter");
if (gutterDiv === null) {
gutterDiv = window.document.createElement("div");
gutterDiv.setAttribute("id", "code-annotation-line-highlight-gutter");
gutterDiv.style.position = 'absolute';
const codeCell = window.document.getElementById(targetCell);
const gutter = codeCell.querySelector('.code-annotation-gutter');
gutter.appendChild(gutterDiv);
}
gutterDiv.style.top = top - 2 + "px";
gutterDiv.style.height = height + 4 + "px";
}
selectedAnnoteEl = annoteEl;
}
};
const unselectCodeLines = () => {
const elementsIds = ["code-annotation-line-highlight", "code-annotation-line-highlight-gutter"];
elementsIds.forEach((elId) => {
const div = window.document.getElementById(elId);
if (div) {
div.remove();
}
});
selectedAnnoteEl = undefined;
};
// Attach click handler to the DT
const annoteDls = window.document.querySelectorAll('dt[data-target-cell]');
for (const annoteDlNode of annoteDls) {
annoteDlNode.addEventListener('click', (event) => {
const clickedEl = event.target;
if (clickedEl !== selectedAnnoteEl) {
unselectCodeLines();
const activeEl = window.document.querySelector('dt[data-target-cell].code-annotation-active');
if (activeEl) {
activeEl.classList.remove('code-annotation-active');
}
selectCodeLines(clickedEl);
clickedEl.classList.add('code-annotation-active');
} else {
// Unselect the line
unselectCodeLines();
clickedEl.classList.remove('code-annotation-active');
}
});
}
const findCites = (el) => {
const parentEl = el.parentElement;
if (parentEl) {
Expand Down Expand Up @@ -255,12 +358,12 @@ <h1 class="title">Page Not Found</h1>
}
}
var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//);
var filterRegex = new RegExp(/https:\/\/derekogle\.com\//);
var filterRegex = new RegExp("https:\/\/derekogle\.com\/");
var isInternal = (href) => {
return filterRegex.test(href) || localhostRegex.test(href);
}
// Inspect non-navigation links and adorn them if external
var links = window.document.querySelectorAll('a:not(.nav-link):not(.navbar-brand):not(.toc-action):not(.sidebar-link):not(.sidebar-item-toggle):not(.pagination-link):not(.no-external):not([aria-hidden]):not(.dropdown-item)');
var links = window.document.querySelectorAll('a[href]:not(.nav-link):not(.navbar-brand):not(.toc-action):not(.sidebar-link):not(.sidebar-item-toggle):not(.pagination-link):not(.no-external):not([aria-hidden]):not(.dropdown-item)');
for (var i=0; i<links.length; i++) {
const link = links[i];
if (!isInternal(link.href)) {
Expand All @@ -274,16 +377,16 @@ <h1 class="title">Page Not Found</h1>
<footer class="footer">
<div class="nav-footer">
<div class="nav-footer-left">Copyright 2023, Derek H. Ogle</div>
<div class="nav-footer-center">
<ul class="footer-items list-unstyled">
<div class="nav-footer-center">
<ul class="footer-items list-unstyled">
<li class="nav-item">
<a class="nav-link" href="https://fishr-core-team.github.io/fishR/">fishR</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://derekogle.com/IFAR/">IFAR</a>
</li>
</ul>
</div>
</div>
<div class="nav-footer-right">
<ul class="footer-items list-unstyled">
<li class="nav-item compact">
Expand Down
Loading

0 comments on commit 22b10c4

Please sign in to comment.