To run Blender julia optimization routine of selected watershed. Keep the large continental scale input files but just run Julia on a subset of pixels.
Approach:
Use bounding box of watershed to subset the pixels for blender run.
This can be hardcoded for Tuolmne watershed or the logitude and latitude coordinates can be read from a text file.
Polygon (shapefile) can be read to extract the bounding box or the subset of pixels can also be extracted for polygon. The issue though is that many julia packages for working with vector data (shapefile) is not mature yet.
Try creating csv file for bounding boxes. This will be the easiest to start to replace hardcoded bounding box inside code.
To use CSV files using DataFrames install these two packages.
To run Blender julia optimization routine of selected watershed. Keep the large continental scale input files but just run Julia on a subset of pixels.
Approach: