tjvandal / deepsd

DeepSD Super-resolution for Climate Downscaling in KDD 2017
https://www.kdd.org/kdd2017/papers/view/deepsd-generating-high-resolution-climate-change-projections-through-single
MIT License
88 stars 25 forks source link

IndexError: File for year:2014 not found #7

Open duguangmeiyu opened 4 years ago

duguangmeiyu commented 4 years ago

Hello, I have faced the following problem and I used python 2.7 to run this code,can you help me to solve this problem please?Thank you very much.

data dir data/prism/ppt/raw Traceback (most recent call last): File "prism.py", line 361, in main_prism_tf(config) File "prism.py", line 324, in main_prism_tf config.get('Paths', 'elevation'), model=model.lower()) File "prism.py", line 187, in init super(PrismSuperRes, self).init(data_dir, year, elevation_file, var=var) File "prism.py", line 155, in init self.read_data() File "prism.py", line 178, in read_data self._read_highres() File "prism.py", line 169, in _read_highres highres_file = self._get_year_file() File "prism.py", line 164, in _get_year_file raise IndexError("File for year:%i not found" % self.year) IndexError: File for year:2014 not found

daman1209arora commented 2 years ago

You need to enable internet access on your machine, and download the dataset.

Afshinshafei commented 1 year ago

I have the same problem. I am using google colab, and have the same error.

XiaochenLiuUnibz commented 1 year ago

So how to solve this problem on colab?