Skip to content

Commit

Permalink
adding freq name catch for change
Browse files Browse the repository at this point in the history
  • Loading branch information
dwr-psandhu committed Feb 9, 2024
1 parent c34329f commit dae6e7d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyhecdss/pyhecdss.py
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,8 @@ def read_rts(self, pathname, startDateStr=None, endDateStr=None):
def get_epart_from_freq(freq):
if freq.name == 'ME':
freq_name = 'M'
elif freq.name == 'T':
freq_name = 'min'
else:
freq_name = freq.name
return "%d%s" % (freq.n, DSSFile.FREQ_NAME_MAP[freq_name])
Expand Down

0 comments on commit dae6e7d

Please sign in to comment.