Skip to content
Snippets Groups Projects
Commit 2f474ba4 authored by Dario Barghini's avatar Dario Barghini
Browse files

New datafiles are now created at 12 UTC

parent 93a0e0da
No related branches found
No related tags found
No related merge requests found
...@@ -181,8 +181,7 @@ class device(observatory): ...@@ -181,8 +181,7 @@ class device(observatory):
def define_filenames(self): def define_filenames(self):
# Filenames should follow a standard based on observatory name and date. # Filenames should follow a standard based on observatory name and date.
date_time_file = self.local_datetime(\ date_time_file = self.read_datetime()-datetime.timedelta(hours=12)
self.read_datetime())-datetime.timedelta(hours=12)
date_file = date_time_file.date() date_file = date_time_file.date()
yearmonth = str(date_file)[0:7].replace('-','') yearmonth = str(date_file)[0:7].replace('-','')
yearmonthday = str(date_file)[0:10].replace('-','') yearmonthday = str(date_file)[0:10].replace('-','')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment