Skip to content

Commit

Permalink
Merge pull request #201 from DeepSenseCA/mnt_evl-end-status
Browse files Browse the repository at this point in the history
MNT: Use target status for last evl datapoint
  • Loading branch information
scottclowe authored Jul 2, 2020
2 parents 1dfde71 + 424e8e8 commit c81893c
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions echofilter/raw/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,14 +466,7 @@ def evl_writer(fname, timestamps, depths, status=1, line_ending="\r\n", pad=Fals
# We have to manually determine the number of "0.1 milliseconds"
# from the microsecond component.
dt = datetime.datetime.fromtimestamp(timestamp)
hf.write(
"{} {} {} ".format(
timestamp2evdtstr(timestamp),
depth,
0 if i_row == n_row - 1 else status,
)
+ "\n"
)
hf.write("{} {} {} \n".format(timestamp2evdtstr(timestamp), depth, status))


def evr_writer(
Expand Down

0 comments on commit c81893c

Please sign in to comment.