Skip to content

IndexError: File for year:2014 not found #7

@duguangmeiyu

Description

@duguangmeiyu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions