NOAA-OWP / hydrovis

Other
12 stars 10 forks source link

Update Fiona Package for Schism FIM Processing #878

Open nickchadwick-noaa opened 2 months ago

nickchadwick-noaa commented 2 months ago

There is an intermittent issue with the Coastal pipelines were the Fiona package returns the following error when trying to read from S3:

fiona._err.CPLE_OpenFailedError: '/vsizip/vsis3/{DEPLOYMENT BUCKET}/schism_fim/masks/atlgulf/interior_mask_levee_protected_area_conus.zip' does not exist in the file system, and is not recognized as a supported dataset name.

https://github.com/NOAA-OWP/hydrovis/blob/f92dcb85a4ba3d8ce14c0c159b2a690472adb56d/Core/LAMBDA/viz_functions/image_based/viz_schism_fim_processing/process_schism_fim.py#L124

This seems to be related to these issues on the Fiona GitHub: https://github.com/Toblerity/Fiona/issues/761 https://github.com/Toblerity/Fiona/issues/1055

Potential solution would be to upgrade Fiona from the 1.8.22 to the 1.9+ version.