Skip to content

Commit

Permalink
set up datapage
Browse files Browse the repository at this point in the history
  • Loading branch information
mikabr committed Oct 17, 2024
1 parent ad1443e commit ebd1d13
Show file tree
Hide file tree
Showing 10 changed files with 38 additions and 39 deletions.
2 changes: 1 addition & 1 deletion _extensions/datapage/theme-datapage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/*-- scss:defaults --*/

$primary: #7f3b97;
/*$primary: #7f3b97;*/

/*-- scss:rules --*/

Expand Down
2 changes: 1 addition & 1 deletion _load-data.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if ("redivis" %in% names(quarto) &&
data <- table$to_tibble()
# get variable metadata
vars <- map(table$list_variables(), \(v) v$get(wait_for_statistics=TRUE)$properties)
vars <- purrr::map(table$list_variables(), \(v) v$get(wait_for_statistics=TRUE)$properties)
# pass to OJS
ojs_define(data = data)
Expand Down
15 changes: 8 additions & 7 deletions _quarto.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
project:
title: "Palmer Penguins"
title: "Project Loon"
type: datapage

website:
navbar:
logo: images/logo.png
# website:
# navbar:
# logo: images/logo.png

format:
datapage-html:
theme: theme.scss
mainfont: Roboto

execute:
echo: false
Expand All @@ -17,6 +18,6 @@ execute:
error: false

redivis:
user: datapages
dataset: palmerpenguins
table: penguins
user: sdss
dataset: project_loon
table: loon
40 changes: 21 additions & 19 deletions about.qmd
Original file line number Diff line number Diff line change
@@ -1,35 +1,37 @@
---
about:
template: trestles
image: images/lter_penguins.png
image: images/loon_banner.webp
image-width: 100%
links:
- icon: github
text: GitHub
href: https://github.com/datapages/datapage
- icon: globe
text: R package
href: https://allisonhorst.github.io/palmerpenguins/
- icon: file-text
text: Publication
href: https://doi.org/10.1371/journal.pone.0090081
href: https://github.com/DataWaveProject/Loon-momentum-fluxes

citation:
type: article-journal
title: Ecological sexual dimorphism and environmental variability within a community of Antarctic penguins (genus Pygoscelis)
issued: 2014
title: Gravity wave momentum fluxes estimated from Project Loon balloon data
issued: 2024
author:
- Kristen B. Gorman
- Tony D. Williams
- William R. Fraser
container-title: PLoS ONE
doi: 10.1371/journal.pone.0090081
- Brian Green
- Aditi Sheshadri
- M. Joan Alexander
- Martina Bramberger
- François Lott
container-title: "Journal of Geophysical Research: Atmospheres"
doi: 10.1029/2023JD039927
---

## palmerpenguins
## Project Loon

The goal of palmerpenguins is to provide a great dataset for data exploration & visualization, as an alternative to `iris`.
### Abstract

Data were collected and made available by [Dr. Kristen Gorman](https://www.uaf.edu/cfos/people/faculty/detail/kristen-gorman.php) and the [Palmer Station, Antarctica LTER](https://pallter.marine.rutgers.edu/), a member of the [Long Term Ecological Research Network](https://lternet.edu/). The dataset contains data for 344 penguins. There are 3 different species of penguins in this dataset, collected from 3 islands in the Palmer Archipelago, Antarctica.
The purpose of this dataset is to offer an estimate of the horizontal momentum fluxed vertically by the atmospheric internal gravity waves (GWs) observed by Project Loon balloons. This vertical flux of horizontal momentum is commonly referred to as the GW momentum flux. Before estimating the GW momentum fluxes, additional processing was necessary to remove data sampling errors, irregularities, and balloon maneuvering.

Data are available by [CC-0](https://creativecommons.org/public-domain/cc0/) license in accordance with the [Palmer Station LTER Data Policy](https://pallter.marine.rutgers.edu/data/) and the [LTER Data Access Policy for Type I data](https://lternet.edu/data-access-policy/).
### Methodology

The procedures for this processing, and the subsequent analysis of the processed data, are described in Green et al. (2024). The Python code (in Jupyter notebooks) that was used for both is available at: <https://github.com/DataWaveProject/Loon-momentum-fluxes>.

### Usage notes

See the following sample project for examples: <https://redivis.com/projects/q08b-889vc3xgg>.
Binary file removed images/culmen_depth.png
Binary file not shown.
Binary file removed images/logo.png
Binary file not shown.
Binary file added images/loon_banner.webp
Binary file not shown.
Binary file removed images/lter_penguins.png
Binary file not shown.
16 changes: 5 additions & 11 deletions index.qmd
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
---
title: "Palmer Penguins"
subtitle: "A great dataset for data exploration & visualization"
title: "Project Loon"
# subtitle: "A great dataset for data exploration & visualization"
description: |
Data were collected and made available by [Dr. Kristen Gorman](https://www.uaf.edu/cfos/people/faculty/detail/kristen-gorman.php) and the [Palmer Station, Antarctica LTER](https://pallter.marine.rutgers.edu/), a member of the [Long Term Ecological Research Network](https://lternet.edu/).
The purpose of this dataset is to offer an estimate of the horizontal momentum fluxed vertically by the atmospheric internal gravity waves (GWs) observed by Project Loon balloons. This vertical flux of horizontal momentum is commonly referred to as the GW momentum flux. Before estimating the GW momentum fluxes, additional processing was necessary to remove data sampling errors, irregularities, and balloon maneuvering.
---

::: {layout-ncol=2}
![Artwork by \@allison_horst](images/lter_penguins.png)
<!-- {{< include _load-data.qmd >}} -->

![](images/culmen_depth.png)
:::

{{< include _load-data.qmd >}}

{{< include _scatter_hist.qmd >}}
<!-- {{< include _scatter_hist.qmd >}} -->

<!-- {{< include _scatter.qmd >}} -->

Expand Down
2 changes: 2 additions & 0 deletions theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

/*-- scss:defaults --*/

$primary: #FFB300;

/*-- scss:rules --*/

0 comments on commit ebd1d13

Please sign in to comment.