This repository contains the material that we will use in the coding lessons to learn about Bash, Git/GitHub and Python.
Este repositorio contiene el material que se usará en las lecciones de coding para aprender sobre Bash, Git/GitHub y Python.
Week | Material | Topics |
---|---|---|
1° | Setting up a scientific coding environment | Install software - Login to a JupyterHub - Get familiar with JupyterLab and Jupyter Notebook |
2° | The shell | What is a command shell and why would I use one? - Files, directories and locations |
3° | Start to work with Git: from configuration to create a repository in GitHub | What is Git? - Set up - How to use it? |
4° | Introduction to Python and NumPy | Variables - Types of data and structures - NumPy arrays |
5° | Data visualization with Matplotlib | How can we open a file? - How can we plot our data? - Plot types - How can we save our plot for publishing? |
6° | More about Python | For loops - Conditional statements - Write our own functions |
7° | Pandas | How to create and store a DataFrame - How to open a file - Some ways to work with a DataFrame - Plots |
8° | Git, Part 2 | How to work with a branch |
9° | Introduction to Rasterio and Xarray | Import a raster file - Manipulate the data - Visualize the data - Export data |
10° | Introduction to Rioxarray | How to do scale analysis with lots of images using Microsoft's Planetary Computer - How Geopandas and Xarray work together - Examine how NDVI changes over time |
- Personal computer with internet connection and browser.
- It isn't necessary to have a camera and microphone, although it would be beneficial to exchange ideas.
- It is not necessary to have programming knowledge.
- Computadora personal con conexión a internet y navegador.
- No es necesario tener cámara y micrófono, aunque sería beneficioso para poder intercambiar ideas.
- No es necesario tener conocimientos de programación.
The CoCo lessons can be run locally
if you install Anaconda and a git
client
(covered in lesson 1).
All lessons are also available
on EarthscapeHub.
Click this button:
to open the lessons directly on the EarthscapeHub lab instance!
Note: The EarthscapeHub lab instance is password-protected. Please contact your instructor about obtaining a login, or visit this CSDMS wiki page for more information.
All Code to Communicate (CoCo) instructional material is made available under the Creative Commons Attribution 4.0 International License.
Code to Communicate is supported by the National Science Foundation under Award Nos. 2118272, 2117519, and 2118171, Collaborative Research: CyberTraining: Pilot: A Cybertraining Program to Advance Knowledge and Equity in the Geosciences.
Portions of the Code to Communicate setup and shell lessons are derived from material that is copyright Software Carpentry and remixed under their license.