Skip to content

Commit

Permalink
Flakes cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kwilcox committed Jul 26, 2018
1 parent a130d94 commit b87cac6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions gutils/nc.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,12 +205,6 @@ def create_profile_netcdf(attrs, profile, output_path, mode, profile_id_type=Pro

profile_time = profile.t.dropna().iloc[0]

# output_path = os.path.join(
# output_path,
# 'netcdf',
# mode
# )

if profile_id_type == ProfileIdTypes.EPOCH:
# We are using the epoch as the profile_index!
profile_index = calendar.timegm(profile_time.utctimetuple())
Expand Down
2 changes: 1 addition & 1 deletion gutils/watch/netcdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from pathlib import Path
from copy import deepcopy
from datetime import datetime
from collections import namedtuple
from types import SimpleNamespace

import numpy as np
import netCDF4 as nc4
Expand Down

0 comments on commit b87cac6

Please sign in to comment.