Skip to content

Commit

Permalink
Merge pull request #428 from ColinDuff/develop
Browse files Browse the repository at this point in the history
Start and End Time are now returned as datetime objects not Lists
  • Loading branch information
djhoese authored Sep 26, 2018
2 parents 580af73 + 5e7f150 commit b8671a9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions satpy/readers/native_msg.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@ def __init__(self, filename, filename_info, filetype_info):

@property
def start_time(self):
return [self.header['15_DATA_HEADER']['ImageAcquisition'][
'PlannedAcquisitionTime']['TrueRepeatCycleStart']]
return self.header['15_DATA_HEADER']['ImageAcquisition'][
'PlannedAcquisitionTime']['TrueRepeatCycleStart']

@property
def end_time(self):
return [self.header['15_DATA_HEADER']['ImageAcquisition'][
'PlannedAcquisitionTime']['PlannedRepeatCycleEnd']]
return self.header['15_DATA_HEADER']['ImageAcquisition'][
'PlannedAcquisitionTime']['PlannedRepeatCycleEnd']

def _get_data_dtype(self):
"""Get the dtype of the file based on the actual available channels"""
Expand Down

0 comments on commit b8671a9

Please sign in to comment.