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
If an input data file does not have read permission for the user running esgdrs, the message obtained is "Invalid or corrupted NetCDF file". It would be good to change this to something more informative.
The text was updated successfully, but these errors were encountered:
It probably needs an additional custom exception type, and an explicit permissions test using os.access.
Correction: it might be possible to inspect the IOError exception for the error code, and if it is the one that corresponds to a permissions problem, then simply re-raise the IOError instead of the custom exception. Something like...
If an input data file does not have read permission for the user running
esgdrs
, the message obtained is "Invalid or corrupted NetCDF file". It would be good to change this to something more informative.The text was updated successfully, but these errors were encountered: