Skip to content

Course material for the bilingual (Spanish, English) Code to Communicate program.

License

Notifications You must be signed in to change notification settings

CodeToCommunicate/CoCoLessons

Repository files navigation

CoCo banner

Digital Object Identifier for the Zenodo archive Code to communicate website

Material for the Coding lesson | Material para las lecciones de coding

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.

Schedule | Cronograma

Week Material Topics
Setting up a scientific coding environment Install software - Login to a JupyterHub - Get familiar with JupyterLab and Jupyter Notebook
The shell What is a command shell and why would I use one? - Files, directories and locations
Start to work with Git: from configuration to create a repository in GitHub What is Git? - Set up - How to use it?
Introduction to Python and NumPy Variables - Types of data and structures - NumPy arrays
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?
More about Python For loops - Conditional statements - Write our own functions
Pandas How to create and store a DataFrame - How to open a file - Some ways to work with a DataFrame - Plots
Git, Part 2 How to work with a branch
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

Requirements | Requisitos

  • 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:

Run on EarthscapeHub

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.

License | Licencia

CC BY 4.0

All Code to Communicate (CoCo) instructional material is made available under the Creative Commons Attribution 4.0 International License.

Acknowledgment | Reconocimiento

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.