Skip to content

Commit

Permalink
fixed mindeps testcase (#820)
Browse files Browse the repository at this point in the history
  • Loading branch information
veenstrajelmer committed Apr 9, 2024
1 parent 37d0de8 commit e9a8a40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dfm_tools/observations.py
Expand Up @@ -1020,7 +1020,7 @@ def ssh_netcdf_overview(dir_netcdf, perplot=30, time_min=None, time_max=None, ye
fig_file_list.append(fname_clean)

# stats
ds_ndays = round(float((ds.time.max() - ds.time.min()).dt.total_seconds()/3600/24), 2)
ds_ndays = round(int(ds.time.max() - ds.time.min())/1e9/3600/24, 2)
nvalues = len(ds.waterlevel)
nnan = int(ds.waterlevel.isnull().sum())
time_diff_min = ds.time.to_pandas().diff().dt.total_seconds()/60
Expand Down

0 comments on commit e9a8a40

Please sign in to comment.