Skip to content

Commit

Permalink
added timezone to avoid timezone warning (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
veenstrajelmer authored Sep 17, 2024
1 parent fd533f5 commit 7cec046
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kenmerkendewaarden/gemiddeldgetij.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ def calc_gemiddeldgetij(
start=pd.Timestamp(tstop_dt.year, 1, 1, 0, 0) - pd.Timedelta(hours=12),
end=pd.Timestamp(tstop_dt.year, 2, 1, 0, 0),
freq=freq,
tz=data_pd_meas_10y.index.tz,
) # start 12 hours in advance, to assure also corrected values on desired tstart
comp_av.attrs["nodalfactors"] = (
False # nodalfactors=False to guarantee repetative signal
Expand Down

0 comments on commit 7cec046

Please sign in to comment.