Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
First push for CLASS core
  • Loading branch information
Amanda Tan committed Sep 23, 2021
1 parent b12a68f commit 9bd449e
Show file tree
Hide file tree
Showing 125 changed files with 29,677 additions and 1 deletion.
Binary file added .DS_Store
Binary file not shown.
Binary file added CLASS-logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion README.md

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file added _build/.doctrees/content/03_cost_analysis.doctree
Binary file not shown.
Binary file added _build/.doctrees/content/04_openscience.doctree
Binary file not shown.
Binary file not shown.
Binary file added _build/.doctrees/environment.pickle
Binary file not shown.
1 change: 1 addition & 0 deletions _build/.doctrees/glue_cache.json
@@ -0,0 +1 @@
{}
Binary file added _build/.doctrees/intro.doctree
Binary file not shown.
Binary file added _build/.doctrees/markdown.doctree
Binary file not shown.
4 changes: 4 additions & 0 deletions _build/html/.buildinfo
@@ -0,0 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 04c13d88eea40c9fbb10e7c5003b91b1
tags: 645f666f9bcd5a90fca523b33c5a78b7
1 change: 1 addition & 0 deletions _build/html/_images/acceleratescience.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions _build/html/_images/cloudcomponents.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

@@ -0,0 +1,7 @@
:root {
--tabs-color-label-active: hsla(231, 99%, 66%, 1);
--tabs-color-label-inactive: rgba(178, 206, 245, 0.62);
--tabs-color-overline: rgb(207, 236, 238);
--tabs-color-underline: rgb(207, 236, 238);
--tabs-size-label: 1rem;
}
50 changes: 50 additions & 0 deletions _build/html/_sources/content/01_intro_to_cloud.ipynb
@@ -0,0 +1,50 @@
{
"cells": [
{
"cell_type": "markdown",
"id": "90e130db",
"metadata": {},
"source": [
"## Introduction to Cloud Computing for Research\n",
"\n",
"Cloud computing is an on-demand computing resource that is scalable and follows a pay-as-you-go model. Instead of a singular data center or super-computing center, large cloud providers have data centers spanning multiple locations. The largest cloud computing providers are Microsoft (Azure), Amazon (Amazon Web Services, AWS) and Google (Google Cloud Platform, GCP). Together, they are often referred to as \"public\" or \"commercial\" cloud providers. \n",
"\n",
"\n",
"For researchers, it is often helpful to be aware of these five key components related to cloud computing infrastructure: \n",
"\n",
"<img src=\"./images/cloudcomponents.svg\" width=600>\n",
"\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "ba7ffb3b",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.5"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
41 changes: 41 additions & 0 deletions _build/html/_sources/content/02_is_the_cloud_right.ipynb
@@ -0,0 +1,41 @@
{
"cells": [
{
"cell_type": "markdown",
"id": "1b6fcbc0",
"metadata": {},
"source": [
"### Is the cloud right for me?\n",
"\n",
"<img src=\"./images/acceleratescience.svg\" width=500>"
]
},
{
"cell_type": "markdown",
"id": "5e11c0b5",
"metadata": {},
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.5"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
41 changes: 41 additions & 0 deletions _build/html/_sources/content/03_cost_analysis.ipynb
@@ -0,0 +1,41 @@
{
"cells": [
{
"cell_type": "markdown",
"id": "90e130db",
"metadata": {},
"source": [
"## How do I estimate costs?"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "2234c14b",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.5"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
41 changes: 41 additions & 0 deletions _build/html/_sources/content/04_openscience.ipynb
@@ -0,0 +1,41 @@
{
"cells": [
{
"cell_type": "markdown",
"id": "90e130db",
"metadata": {},
"source": [
"## Open and Reproducible Science"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "b724c135",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.5"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
41 changes: 41 additions & 0 deletions _build/html/_sources/content/05_best_practices.ipynb
@@ -0,0 +1,41 @@
{
"cells": [
{
"cell_type": "markdown",
"id": "90e130db",
"metadata": {},
"source": [
"## Cloud Best Practices"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "881c3977",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.5"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
20 changes: 20 additions & 0 deletions _build/html/_sources/intro.md
@@ -0,0 +1,20 @@
<!-- #region -->
#### Overview
This online "book" aims to enable pathways to adoption of cloud computing for research. You will discover how the public cloud can foster innovation, accelerate scientific discovery and learn about best practices for leveraging the cloud.


#### Issues
Please contact class@internet2.edu with issues or questions

Content for this site was put together by the Research Engagement team at Internet2. [Find out more here](https://internet2.edu/community/research-engagement/internet2-research-engagement-team/)!


<!-- #endregion -->

```python

```

```python

```
125 changes: 125 additions & 0 deletions _build/html/_sources/markdown.md
@@ -0,0 +1,125 @@
# Markdown Files

Whether you write your book's content in Jupyter Notebooks (`.ipynb`) or
in regular markdown files (`.md`), you'll write in the same flavor of markdown
called **MyST Markdown**.

## What is MyST?

MyST stands for "Markedly Structured Text". It
is a slight variation on a flavor of markdown called "CommonMark" markdown,
with small syntax extensions to allow you to write **roles** and **directives**
in the Sphinx ecosystem.

## What are roles and directives?

Roles and directives are two of the most powerful tools in Jupyter Book. They
are kind of like functions, but written in a markup language. They both
serve a similar purpose, but **roles are written in one line**, whereas
**directives span many lines**. They both accept different kinds of inputs,
and what they do with those inputs depends on the specific role or directive
that is being called.

### Using a directive

At its simplest, you can insert a directive into your book's content like so:

````
```{mydirectivename}
My directive content
```
````

This will only work if a directive with name `mydirectivename` already exists
(which it doesn't). There are many pre-defined directives associated with
Jupyter Book. For example, to insert a note box into your content, you can
use the following directive:

````
```{note}
Here is a note
```
````

This results in:

```{note}
Here is a note
```

In your built book.

For more information on writing directives, see the
[MyST documentation](https://myst-parser.readthedocs.io/).


### Using a role

Roles are very similar to directives, but they are less-complex and written
entirely on one line. You can insert a role into your book's content with
this pattern:

```
Some content {rolename}`and here is my role's content!`
```

Again, roles will only work if `rolename` is a valid role's name. For example,
the `doc` role can be used to refer to another page in your book. You can
refer directly to another page by its relative path. For example, the
role syntax `` {doc}`intro` `` will result in: {doc}`intro`.

For more information on writing roles, see the
[MyST documentation](https://myst-parser.readthedocs.io/).


### Adding a citation

You can also cite references that are stored in a `bibtex` file. For example,
the following syntax: `` {cite}`holdgraf_evidence_2014` `` will render like
this: {cite}`holdgraf_evidence_2014`.

Moreover, you can insert a bibliography into your page with this syntax:
The `{bibliography}` directive must be used for all the `{cite}` roles to
render properly.
For example, if the references for your book are stored in `references.bib`,
then the bibliography is inserted with:

````
```{bibliography}
```
````

Resulting in a rendered bibliography that looks like:

```{bibliography}
```


### Executing code in your markdown files

If you'd like to include computational content inside these markdown files,
you can use MyST Markdown to define cells that will be executed when your
book is built. Jupyter Book uses *jupytext* to do this.

First, add Jupytext metadata to the file. For example, to add Jupytext metadata
to this markdown page, run this command:

```
jupyter-book myst init markdown.md
```

Once a markdown file has Jupytext metadata in it, you can add the following
directive to run the code at build time:

````
```{code-cell}
print("Here is some code to execute")
```
````

When your book is built, the contents of any `{code-cell}` blocks will be
executed with your default Jupyter kernel, and their outputs will be displayed
in-line with the rest of your content.

For more information about executing computational content with Jupyter Book,
see [The MyST-NB documentation](https://myst-nb.readthedocs.io/).
Binary file added _build/html/_static/CLASS-logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added _build/html/_static/__init__.py
Empty file.
Binary file not shown.

0 comments on commit 9bd449e

Please sign in to comment.