cgmorton / et-demands

Crop ET Demands Model

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eto_ratios_name = 'ETrRatiosMon.txt' is hard coded in crop_et_data.py

cpearson1 opened this issue · comments

Line 475
if original:
eto_ratios_name = 'ETrRatiosMon.txt'
self.refet_ratios_path = os.path.join(self.static_folder, eto_ratios_name)
if not os.path.isfile(self.refet_ratios_path):
logging.error('Warning: ETo Ratios file set to None')
self.refet_ratios_path = None
self.eto_ratios_delimiter = '\t'
self.eto_ratios_ws = ''
self.eto_ratios_header_lines = 1
self.eto_ratios_names_line = 1
self.eto_ratios_id_field = 'Met Node ID'
self.eto_ratios_name_field = 'Met Node Name'
self.eto_ratios_month_field = 'Month'
self.eto_ratios_ratio_field = 'ratio'

eto naming convention should be removed. USE et_ratios_path