Skip to content

Commit

Permalink
Update pvlib/iotools/tmy.py
Browse files Browse the repository at this point in the history
Co-authored-by: Adam R. Jensen <39184289+AdamRJensen@users.noreply.github.com>
  • Loading branch information
ooprathamm and AdamRJensen authored Dec 30, 2022
1 parent 773b94e commit 3d6b41d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pvlib/iotools/tmy.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,9 @@ def read_tmy3(filename, coerce_year=None, map_variables=None, recolumn=True):
data = _recolumn(data)
elif map_variables is None:
data = _recolumn(data)
warnings.warn("recolumn parameter will be retired starting version 0.9.5,"
"please use map_variables parameter instead.",DeprecationWarning)
warnings.warn("recolumn parameter will be retired starting version"
"0.9.5, please use map_variables parameter instead.",
DeprecationWarning)

data = data.tz_localize(int(meta['TZ'] * 3600))

Expand Down

0 comments on commit 3d6b41d

Please sign in to comment.