Skip to content

Commit

Permalink
Merge pull request #61 from callumrollo/df_datetime
Browse files Browse the repository at this point in the history
add start datetime to as_DataFrame method
  • Loading branch information
castelao committed Jan 25, 2023
2 parents 23073b2 + 0ac56aa commit 9c3f47f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions seabird/cnv.py
Expand Up @@ -499,6 +499,8 @@ def as_DataFrame(self):
output = pd.DataFrame(output)
output['LATITUDE'] = self.attrs['LATITUDE']
output['LONGITUDE'] = self.attrs['LONGITUDE']
if "datetime" in self.attrs.keys():
output['datetime_first_scan'] = self.attrs['datetime']

return output

Expand Down

0 comments on commit 9c3f47f

Please sign in to comment.