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
I'm trying to read HDF4 files in as seen here, but although the subsets are read as files, they cannot be resolved with the file existence check. What do you guys think about just returning the path if it is a file without checking if the file exists and letting gdal raise the error if it can't understand the path?
The text was updated successfully, but these errors were encountered:
That seems reasonable. If the path is not found, gdal will return None for a dataset. Can use that to throw an IOError and inform the user that the path does not exist.
I'm trying to read HDF4 files in as seen here, but although the subsets are read as files, they cannot be resolved with the file existence check. What do you guys think about just returning the path if it is a file without checking if the file exists and letting gdal raise the error if it can't understand the path?
The text was updated successfully, but these errors were encountered: