Skip to content

Commit

Permalink
Merge pull request #68 from MET-OM/dev_ex
Browse files Browse the repository at this point in the history
update
  • Loading branch information
KonstantinChri authored Nov 28, 2024
2 parents 815a240 + 1a7d3a3 commit 9df0458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metocean_stats/stats/aux_funcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def Tp_correction(Tp):


def readNora10File(file):
df = pd.read_csv(file, sep='\s+', header=3)
df = pd.read_csv(file, sep=r'\s+', header=3)
df.index= pd.to_datetime(df.YEAR*1000000+df.M*10000+df.D*100+df.H,format='%Y%m%d%H')
df.index = pd.to_datetime(dict(year=df.YEAR, month=df.M, day=df.D, hour=df.H))
# Drop redundant columns
Expand Down

0 comments on commit 9df0458

Please sign in to comment.