Preliminary Coding Work
Contents
Preliminary Coding Work¶
Warning
This page may not be updated. For the latest HPS book, please visit https://seisscoped.org/HPS-book
We welcome all types of learners to our event, from professional software developers to people just getting started. Based on previous experience, participants gain more from our hackweeks when they arrive having a preliminary understand of some of the foundational tools of data science workflows. These skills include knowing how to:
Navigate a Jupyter Notebook environment
Conduct file management, text editing and other basic tasks from a command line interface
Add and commit changes in Git, and push and pull content from GitHub
Create simple scientific workflows in Python
2023 HPS CyberTraining Software Carpentry Session¶
We strongly encourage participants to review this two-day recorded fundamentals of Python and open-source workflows crash course (Software Carpentry Schedule) in advance of the CyberTraining. You may choose whichever topics you’d like to brush up on or learn.
Required setup¶
Attention
Please make sure to find some time to go through the below material before the hackweek.
Shell Scripting¶
Everyone attending will be exposed to shell scripting and it will be necessary to have a basic skills. The Software Carpentries Shell Novice have necessary educational materials to be comfortable for the workshop.
GitHub Account¶
Everyone attending 2023 HPS CyberTraining will require obtaining a GitHub account. Visit our GitHub instruction page to learn how!
Slack Account¶
All of our communication throughout the hackweek will be done using the
2023 HPS CyberTraining
Slack workspace.
With your invite to the hackweek, you should also have received a separate
email to join the Slack workspace. Upon accepting the invite, please take a moment to
complete your Slack profile.
Having your name and picture with your Slack account helps us and your peers
to identify you on Slack and builds a more personal community throughout
the week.
JupyterHub¶
We will offer all tutorials within the Jupyter Hub computing environment. Visit our Introduction to Jupyter Hub page to learn more!
Git¶
All content of the hackweek will be shared via GitHub and interacting with the
website will be done via the git
command. Visit Setting up the git
command
to learn how to configure that!
Optional setup¶
Python¶
Dive deeper into how Python is managed and installed on the JupyterHub and how you can install that on your personal machine.
Software and Editing Carpentries:¶
Git: code version control
Python: coding fundamentals
Latex: Manuscript editing preferred scripting language
Jypyter Notebooks: jupyter notebook introduction
Conda, Mamba, environment: nice intro from a biologist on the basics of conda, mamba, and creating a computing environment.
Basic Seismology¶
Please watch this video of an introduction to Opbsy.
Install Obspy using conda:
conda install -c conda-forge obspy
Intermediate Seismology¶
Fantastic est of video tutorials by the ROSES program. Note that every year has slightly different topics.
Experts in Computing and Seismomlogy¶
Cloud computing video tutorials:
https://www.youtube.com/watch?v=0hGoK1SdBm4: get started on AWS-EC2 (by our own Julian Schmidt!)