Skip to content
Merged

Fixs #121

Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove comments
  • Loading branch information
ludwigVonKoopa committed Dec 8, 2021
commit f6e86338a48df7dbea2b8c7b879af7a6052d555d
5 changes: 0 additions & 5 deletions src/py_eddy_tracker/observations/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -1584,13 +1584,8 @@ def date2file(julian_day):
ptf_final = zeros((self.obs.size, 2), dtype="i1")

t_start, t_end = int(self.period[0]), int(self.period[1])
# if begin is not None and begin > t_start:
# t_start = begin
# if end is not None and end < t_end:
# t_end = end

dates = arange(t_start, min(t_start + n_days + 1, t_end + 1))
# print("dates = ", dates)
first_files = [date_function(x) for x in dates]

c = GridCollection.from_netcdf_list(first_files, dates, **uv_params)
Expand Down
2 changes: 0 additions & 2 deletions src/py_eddy_tracker/observations/observation.py
Original file line number Diff line number Diff line change
Expand Up @@ -718,8 +718,6 @@ def zarr_dimension(filename):
if len(shape) > len(dims):
dims = shape
return dims
# dims.extend(list(getattr(h, varname).shape))
# return set(dims)

@classmethod
def load_file(cls, filename, **kwargs):
Expand Down