We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80347e4 commit 616e471Copy full SHA for 616e471
lib/bald/__init__.py
@@ -670,8 +670,10 @@ def load(afilepath):
670
loader = netCDF4.Dataset
671
else:
672
raise ValueError('filepath suffix not supported: {}'.format(afilepath))
673
- if not os.path.exists(afilepath):
674
- raise IOError('{} not found'.format(afilepath))
+ #Disable this check for now to allow URL input
+ #TODO: Add feature to check both local files and files on the web, e.g. URLs
675
+ #if not os.path.exists(afilepath):
676
+ # raise IOError('{} not found'.format(afilepath))
677
try:
678
f = loader(afilepath, "r")
679
yield f
0 commit comments