Skip to content

Commit 5aebd2c

Browse files
committed
First commit of new jupyterbook
0 parents  commit 5aebd2c

29 files changed

+420
-0
lines changed

.gitignore

+137
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
build/
12+
develop-eggs/
13+
dist/
14+
downloads/
15+
eggs/
16+
.eggs/
17+
lib/
18+
lib64/
19+
parts/
20+
sdist/
21+
var/
22+
wheels/
23+
pip-wheel-metadata/
24+
share/python-wheels/
25+
*.egg-info/
26+
.installed.cfg
27+
*.egg
28+
MANIFEST
29+
30+
# PyInstaller
31+
# Usually these files are written by a python script from a template
32+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
33+
*.manifest
34+
*.spec
35+
36+
# Installer logs
37+
pip-log.txt
38+
pip-delete-this-directory.txt
39+
40+
# Unit test / coverage reports
41+
htmlcov/
42+
.tox/
43+
.nox/
44+
.coverage
45+
.coverage.*
46+
.cache
47+
nosetests.xml
48+
coverage.xml
49+
*.cover
50+
*.py,cover
51+
.hypothesis/
52+
.pytest_cache/
53+
54+
# Translations
55+
*.mo
56+
*.pot
57+
58+
# Django stuff:
59+
*.log
60+
local_settings.py
61+
db.sqlite3
62+
db.sqlite3-journal
63+
64+
# Flask stuff:
65+
instance/
66+
.webassets-cache
67+
68+
# Scrapy stuff:
69+
.scrapy
70+
71+
# Sphinx documentation
72+
docs/_build/
73+
74+
# PyBuilder
75+
target/
76+
77+
# Jupyter Notebook
78+
.ipynb_checkpoints
79+
80+
# IPython
81+
profile_default/
82+
ipython_config.py
83+
84+
# pyenv
85+
.python-version
86+
87+
# pipenv
88+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
89+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
90+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
91+
# install all needed dependencies.
92+
#Pipfile.lock
93+
94+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
95+
__pypackages__/
96+
97+
# Celery stuff
98+
celerybeat-schedule
99+
celerybeat.pid
100+
101+
# SageMath parsed files
102+
*.sage.py
103+
104+
# Environments
105+
.env
106+
.venv
107+
env/
108+
venv/
109+
ENV/
110+
env.bak/
111+
venv.bak/
112+
113+
# Spyder project settings
114+
.spyderproject
115+
.spyproject
116+
117+
# Rope project settings
118+
.ropeproject
119+
120+
# mkdocs documentation
121+
/site
122+
123+
# mypy
124+
.mypy_cache/
125+
.dmypy.json
126+
dmypy.json
127+
128+
# Pyre type checker
129+
.pyre/
130+
.vscode/
131+
*.DS_Store
132+
_build/
133+
_thumbnails/
134+
content/pages/communications.md
135+
content/pages/contributing.md
136+
content/pages/code_of_conduct.md
137+
content/notebooks_gallery/

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Project Pythia Foundations
2+
3+
This is the source repository for the Project Pythia Foundations content collection.
4+
5+
The book is powered by [Jupyter Book](https://jupyterbook.org/intro.html).

_config.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Book settings
2+
# Learn more at https://jupyterbook.org/customize/config.html
3+
4+
title: Project Pythia Foundations
5+
author: The Project Pythia community
6+
logo: images/ProjectPythia_Logo_Final-01-Blue.png
7+
8+
# Force re-execution of notebooks on each build.
9+
# See https://jupyterbook.org/content/execute.html
10+
execute:
11+
execute_notebooks: force
12+
13+
# Define the name of the latex output file for PDF builds
14+
latex:
15+
latex_documents:
16+
targetname: book.tex
17+
18+
# Add a bibtex file so that we can create citations
19+
bibtex_bibfiles:
20+
- references.bib
21+
22+
# Information about where the book exists on the web
23+
repository:
24+
url: https://foundations.projectpythia.org # Online location of your book
25+
#path_to_book: docs # Optional path to your book, relative to the repository root
26+
branch: main # Which branch of the repository should be used when creating links (optional)
27+
28+
# Add GitHub buttons to your book
29+
# See https://jupyterbook.org/customize/config.html#add-a-link-to-your-repository
30+
html:
31+
use_issues_button: true
32+
use_repository_button: true

_toc.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Table of content
2+
# Learn more at https://jupyterbook.org/customize/toc.html
3+
#
4+
- file: landing-page
5+
6+
- part: Preamble
7+
chapters:
8+
- file: preamble/how-to-use
9+
- file: preamble/how-to-contribute
10+
11+
- part: Foundational skills
12+
chapters:
13+
- file: foundations/overview
14+
- file: foundations/basic-python
15+
- file: foundations/jupyter
16+
- file: foundations/markdown
17+
- file: foundations/conda
18+
- file: foundations/version-control
19+
sections:
20+
- file: foundations/git
21+
- file: foundations/github
22+
23+
- part: Core Scientific Python packages
24+
chapters:
25+
- file: core/overview
26+
- file: core/numpy
27+
- file: core/matplotlib
28+
- file: core/cartopy
29+
- file: core/datetime
30+
- file: core/pandas
31+
- file: core/data-formats
32+
- file: core/xarray

core/cartopy.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Cartopy
2+
3+
```{note}
4+
This content is under construction!
5+
```
6+
7+
This section will contain tutorials on plotting map with [cartopy](https://scitools.org.uk/cartopy/docs/latest/). It will be cross-referenced with tutorials on [xarray](xarray) and [matplotlib](matplotlib).

core/data-formats.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Data Formats
2+
3+
```{note}
4+
This content is under construction!
5+
```
6+
7+
This section will contain tutorials on how to interact in Python with data file formats in widespread use in the geosciences, such as NetCDF.

core/datetime.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Datetime
2+
3+
```{note}
4+
This content is under construction!
5+
```
6+
7+
This section will contain tutorials on dealing with times and calendars in scientific Python, including use of the [datetime](https://docs.python.org/3/library/datetime.html) library.

core/matplotlib.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Matplotlib
2+
3+
```{note}
4+
This content is under construction!
5+
```
6+
7+
This section will contain tutorials on basic plotting with [matplotlib](https://matplotlib.org).

core/numpy.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Numpy
2+
3+
```{note}
4+
This content is under construction!
5+
```
6+
7+
This section will contain tutorials on array computing with [numpy](https://numpy.org).

core/overview.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Overview
2+
3+
This section will contain cross-referenced tutorial material for several packages in the Scientific Python ecosystem that are in wide use across the Geosciences.
4+
5+
## Packages
6+
7+
- [Numpy](numpy): Core package for array computing, the workhorse of the Scientific Python stack
8+
- [matplotlib](matplotlib): Basic plotting
9+
- [cartopy](cartopy): Plotting on map projections
10+
- [datetime](datetime): Dealing with time and calendar data
11+
- [pandas](pandas): Working with labeled tabular data
12+
- [Data formats](data-formats): Working with common geoscience data formats
13+
- [xarray](xarray): Working with gridded and labeled N-dimensional data

core/pandas.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Pandas
2+
3+
```{note}
4+
This content is under construction!
5+
```
6+
7+
This section will contain tutorials on using [pandas](https://pandas.pydata.org) for labeled tabular data.

core/xarray.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Xarray
2+
3+
```{note}
4+
This content is under construction!
5+
```
6+
7+
This section will contain tutorials on using [xarray](http://xarray.pydata.org/en/stable/) for analysis of gridded N-dimensional datasets.

foundations/basic-python.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Basic Python Syntax
2+
3+
```{note}
4+
This content is under construction!
5+
```

foundations/conda.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Using the conda package manager
2+
3+
```{note}
4+
This content is under construction!
5+
```

foundations/git.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Basic version control with git
2+
3+
```{note}
4+
This content is under construction!
5+
```

foundations/github.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Getting started with GitHub
2+
3+
```{note}
4+
This content is under construction!
5+
```

foundations/jupyter.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Computing with Jupyter
2+
3+
```{note}
4+
This content is under construction!
5+
```

foundations/markdown.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Markdown
2+
3+
```{note}
4+
This content is under construction!
5+
```

foundations/overview.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Overview
2+
3+
This section will contain cross-referenced tutorial material for foundational computing skills that are needed to work effectively with the open-source Scientific Python stack.
4+
5+
## Topics
6+
7+
- [Basic Python Syntax](basic-python): Getting started with Python
8+
- [Computing with Jupyter](jupyter): An introduction to Jupyter environments for interactive, reproducible computing
9+
- [Markdown](markdown): The simple, human-readable text language used extensively in Jupyter notebooks, GitHub discussions, and elsewhere.
10+
- [Using the conda package manager](conda): Set up self-contained Python environments on your own machines.
11+
- [Version control with git and GitHub](version-control): Getting started with version control and collaboration tools

foundations/version-control.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Version Control with git and GitHub
2+
3+
```{note}
4+
This content is under construction!
5+
```
Loading
3.03 KB
Binary file not shown.
197 KB
Loading

0 commit comments

Comments
 (0)