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

Modified filenames and config file

parent d3911734
No related branches found
No related tags found
No related merge requests found
...@@ -36,7 +36,7 @@ ____________________________ ...@@ -36,7 +36,7 @@ ____________________________
SITE location SITE location
------------- -------------
''' '''
_observatory_name = 'INAF_OATo' # Name of the observatory _observatory_name = 'IT_PinoTorinese' # Name of the observatory
_observatory_latitude = 45.039868 # Latitude N of the observatory [deg] _observatory_latitude = 45.039868 # Latitude N of the observatory [deg]
_observatory_longitude = 7.762582 # Longitude E of the observatory [deg] _observatory_longitude = 7.762582 # Longitude E of the observatory [deg]
_observatory_altitude = 600 # Altitude from sea level of the observatory [m] _observatory_altitude = 600 # Altitude from sea level of the observatory [m]
......
...@@ -830,7 +830,7 @@ def make_plot(input_filename=None,send_emails=False,write_stats=False): ...@@ -830,7 +830,7 @@ def make_plot(input_filename=None,send_emails=False,write_stats=False):
output_filenames = [\ output_filenames = [\
str("%s/%s_%s.png" %(config.current_data_directory,\ str("%s/%s_%s.png" %(config.current_data_directory,\
config._device_shorttype,config._observatory_name)),\ config._device_shorttype,config._observatory_name)),\
str("%s/%s_120000_%s-%s.png"\ str("%s/%s_%s-%s.png"\
%(config.daily_graph_directory+str(NSBData.Night)[0:7].replace('-',''),\ %(config.daily_graph_directory+str(NSBData.Night)[0:7].replace('-',''),\
str(NSBData.Night).replace('-',''),config._device_shorttype, config._observatory_name))\ str(NSBData.Night).replace('-',''),config._device_shorttype, config._observatory_name))\
] ]
......
...@@ -197,7 +197,7 @@ class device(observatory): ...@@ -197,7 +197,7 @@ class device(observatory):
# "_"+config._observatory_name+"_"+yearmonthday+".dat" # "_"+config._observatory_name+"_"+yearmonthday+".dat"
self.daily_datafile = \ self.daily_datafile = \
config.daily_data_directory+"/"+yearmonth+"/"+\ config.daily_data_directory+"/"+yearmonth+"/"+\
yearmonthday.replace('-','')+'_120000_'+\ yearmonthday.replace('-','')+\
config._device_shorttype+'-'+config._observatory_name+'.dat' config._device_shorttype+'-'+config._observatory_name+'.dat'
self.current_datafile = \ self.current_datafile = \
config.current_data_directory+"/"+config._device_shorttype+\ config.current_data_directory+"/"+config._device_shorttype+\
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment