Unity practice.¶
For this exercise, you will practice using Unix/Linux commands and running python scripts on Unity as well as upload/download of files.
Use the tutorials on Unix and HPC_Intro to read and graph a single Landsat _B4.TIF image from the directory /work/pi_csc593_uri_edu/Landsat/ on Unity.
This exercise also leverages the other skills we have learned throughout the semester, including the use of matplotlib as well as loading and saving images. Refer back to your prior code solutions; RESIST the urge to use the AI bots.
Use a text editor to modify landsat_explore.py and upload via the Unity OOD file manager.¶
- Load any of the _B4.TIF images from /work/pi_csc593_uri_edu/Landsat/ on Unity.
- Graph the image and save it as a .png.
- Note, that because we don't have a graphics connection to Unity, you will need to save the file as a .png or .jpeg for downloading.
- Run landsat_explore.py on the Unity HPC at the command line to load the .TIF image, make a plot and save as a .png.
- Download the PNG using the OOD file manager.
What to turn in (in-class assignment part 2):¶
Download the image you created and submit that as this week's takehome assignment, along with your modified version of the landsat_explore.py script.