Summary and Setup
Welcome to Hands-on QGIS on HPC Clusters
Welcome to the Hands-on QGIS Workshop, where you’ll learn to navigate and utilize QGIS, a powerful open-source Geographic Information System (GIS) on HPC Clusters.
What You’ll Learn:
- Get Started with QGIS. We’ll cover the basics of opening QGIS on HPC clusters, loading, viewing, processing and exporting spatial data.
- Introduction
- Open QGIS on Clusters
- View Spatial Data
- Process Spatial Data
- Project: Exploring landscape around Purdue. Through a hands-on project, you’ll learn to apply raster analysis techniques to explore the landscape around Purdue University. We will also cover installing plugins such as QuickMapServices and WhiteboxTools. Specifically, you’ll work with:
- Slope
- Hill shade
- Stream and watershed
- Raster to Vector
- Coding with QGIS: Python Console and more. Take your analysis to the next level by learning how to write scripts using the QGIS Python Console and more. You’ll learn how to automate geospatial tasks, such as replicating the same tasks you performed in the “Exploring Landscape around Purdue” project, but this time using code and submiting jobs to HPC clusters. By automating these tasks, you’ll be able to streamline your workflow and increase efficiency.
Instructor
Xiao Liu: Xiao is a Senior Computational Scientist at Purdue University’s Rosen Center for Advanced Computing. She has two Masters in Geosciences and a Master in Computer Sciences and Engineering. Her knowledge encompassed GIS, machine learning, and hydrologic modeling.
Schedule
Time | Session |
---|---|
10:00 AM | Arrival & Setup |
10:30 AM | Introduction & Open QGIS on Clusters |
11:00 AM | View and Process Spatial Data |
12:00 PM | Lunch Break |
1:00 PM | Project: Exploring landscape around Purdue |
2:30 PM | Break |
3:00 PM | Coding with QGIS: Python Console and more |
4:30 PM | Wrap-Up & Discussion |
Software Setup
- SSH key setup for different systems is detailed in the expandable sections below.
Open a terminal locally on your laptop and run:
this generates the ssh key
OUTPUT
Generating public/private rsa key pair.
Enter file in which to save the key (/Users/your_laptop_account/.ssh/id_rsa):
Now you hit “enter”,
OUTPUT
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Now you hit “enter” again twice to confirm your input passphrase (no passphrase in this case).
OUTPUT
Your identification has been saved in /Users/your_laptop_account/.ssh/id_rsa
Your public key has been saved in /Users/your_laptop_account/.ssh/id_rsa.pub
The key fingerprint is:
SHA256:0vHGCotXkhEg4IKmpJvM92ivPFFyB81l2XgIFTkdsZ8 your_laptop_account@pal-nat187-15-102.itap.purdue.edu
The key's randomart image is:
+---[RSA 4096]----+
|... ..+.+=Ooo |
|o . . +.* +. |
|o+ o . o. |
|* . o = + . . |
|o + * S + E |
|oo . . * o |
|oo .o o . |
| ooo. |
| .++o |
+----[SHA256]-----+
Now you run:
Then you input the password written in the whiteboard
this copies the ssh key to trainXX on Negishi
and then run:
this connects negishi with ssh
You should be able to land on Negishi without password, which means you will see:
OUTPUT
TrainXX@login0X.negishi:[~] $
Download the ThinLinc Client and install it to your Laptop.
-
Open ThinLinc Client, then go to Options -> Security, and select “Public key” in the “Anthentication method” as here:
-
Input Server, Username(replace XX with your train number) and Key(correct it with your path of key) like here:
Hit “Connect”.
Data Sets
Copy data to your scratch directory: