You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I'm using goes2go.goes_timerange() to retrieve a list of files in a given time interval. It's my impression that goes_timerange() generates a list of folders that it expects to find and when those directories do not exist, it raises a FileNotFoundError that interrupts the code.
For instance, for the variables RRQPEF on the 6th day of 2020 (https://noaa-goes16.s3.amazonaws.com/index.html#ABI-L2-RRQPEF/2020/006/), there are only 22 folders (there should be 24). When using goes2go.goes_timerange() with an interval that includes this day, the program is interrupted because it can't find the missing folders. Is there a way to ignore the error or just return the list of folders without checking if they exist in the bucket?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi! I'm using goes2go.goes_timerange() to retrieve a list of files in a given time interval. It's my impression that goes_timerange() generates a list of folders that it expects to find and when those directories do not exist, it raises a FileNotFoundError that interrupts the code.
For instance, for the variables RRQPEF on the 6th day of 2020 (https://noaa-goes16.s3.amazonaws.com/index.html#ABI-L2-RRQPEF/2020/006/), there are only 22 folders (there should be 24). When using goes2go.goes_timerange() with an interval that includes this day, the program is interrupted because it can't find the missing folders. Is there a way to ignore the error or just return the list of folders without checking if they exist in the bucket?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions