data-science
data-science copied to clipboard
emr-opennex-climate-model acquire.py error: No such file or directory: 'dataset/...'
Running python acquire.py avg-rcp85 60 "[40,-125,35,-120]" 2015-01 2015-03 dataset/
fails with:
http://data.pantabular.org/opennex/data/avg-rcp85/2015-01/60/72471
http://data.pantabular.org/opennex/data/avg-rcp85/2015-01/60/72472
Traceback (most recent call last):
File "acquire.py", line 106, in <module>
f = open(fileName,"w")
IOError: [Errno 2] No such file or directory: 'dataset/2015-01-60-72472.json'
But if I create directory dataset
first, this succeeds, so maybe add a note to that effect (that dataset
needs to be created first), or create it first in the script?