I have a shapefile that has a bunch of polygons for different basins that I would like to individually read data from. Up until now I've simply created a square bounding box in my Jupyter notebooks and placed it where approximately I'd like data from. I'm not sure if bounding box would necessarily even be the correct word since I am not looking to create a box around each polygon, but just read data from within the entire polygon itself. Is there a way that I can have my code produce data from everywhere within a polygon at once so I can loop my code to read the entire basin one at a time? For instance, I'd like it to read data within just the selected red feature and I'm not sure where best to start as I'm relatively new to coding.
