-
Notifications
You must be signed in to change notification settings - Fork 0
Overview of Work Flow
Helen Burns edited this page Apr 15, 2024
·
5 revisions
This repo contains a set of scripts that can produce a series of image pairs and scatter plots as well as CSV files containing cloud distance and height information.
The whole pipeline can be run via a shell script Findclouds.sh
:
which calls the following python functions in order:
-
optical depth plotter.py
Takes in camera (int) and date (str: 'YYYY-MM-DD') arguments- takes a set data path structure for GOES data and photos.
- camera details currently set in script
- known points set in script e.g. observatory
- outputs pngs to images/FOV_on_optical_depth//camera//.png and csv of distances to cloud for each photo time results//Cloud_distnaces_camera_.csv
-
cloudtop_pixel_heights.py
Takes in camera (int) and date (str: 'YYYY-MM-DD') arguments- takes a set data path structure for photos.
- outputs csv of pixels of boxes round clouds for each photo to results//cloud_pixels_camera.csv, outputs boxed cloud image to images/cloud_top_heights//
-
calculate_heights.py
Takes in camera (int) and date (str: 'YYYY-MM-DD') arguments- reads previous csv output and calculates height from pixel,distance,and camera info
- camera details such as pitch and yaw from csv file provided, camera details such as focal length currently in script
- outputs csv file to results// with height information
-
image_pairs.py
Takes in camera (int) and date (str: 'YYYY-MM-DD') arguments- takes the output csv file from previous script and uses pixel and height information to annotated cloud heights on cloud pictures and pairs with nearest time FOV image
- outputs images to images/image_pairs//camera/