Skip to content

Commit

Permalink
fix cdfepochs.breakdown for cdflib > 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-richard committed Jun 7, 2023
1 parent 446c7ab commit c545389
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyrfu/pyrf/cdfepoch2datetime64.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def cdfepoch2datetime64(epochs):
"""

times = cdfepoch.breakdown(epochs, to_np=True)
times = cdfepoch.breakdown(epochs)
times = np.transpose(np.atleast_2d(times))

times = _compose_date(*times).astype("datetime64[ns]")
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# cat requirements.txt
cdflib>=0.4.7
cdflib>=1.0.4
geopack>=1.0.9
matplotlib>=3.5.2
numba>=0.54.1
Expand Down

0 comments on commit c545389

Please sign in to comment.