diff --git a/config.py b/config.py index 0eaa612e7b10a951d4e6f0949c1e2ba6a5a34f6f..e63e054635a856a1b6a7f6855056ddcb9fa74914 100644 --- a/config.py +++ b/config.py @@ -36,7 +36,7 @@ ____________________________ 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_longitude = 7.762582 # Longitude E of the observatory [deg] _observatory_altitude = 600 # Altitude from sea level of the observatory [m] diff --git a/pysqm/plot.py b/pysqm/plot.py index 2651539bb6ab3193cfef775fb578e303ffba5979..a106eebb2c46321df94e762a6337a85d22cf296f 100644 --- a/pysqm/plot.py +++ b/pysqm/plot.py @@ -830,7 +830,7 @@ def make_plot(input_filename=None,send_emails=False,write_stats=False): output_filenames = [\ str("%s/%s_%s.png" %(config.current_data_directory,\ 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('-',''),\ str(NSBData.Night).replace('-',''),config._device_shorttype, config._observatory_name))\ ] diff --git a/pysqm/read.py b/pysqm/read.py index e15c4b5daa4c539411d630f0a988a19e2d3a6fd2..f76d70a26cfd0b1aa6a27e78c265fdade1dbda5e 100644 --- a/pysqm/read.py +++ b/pysqm/read.py @@ -197,7 +197,7 @@ class device(observatory): # "_"+config._observatory_name+"_"+yearmonthday+".dat" self.daily_datafile = \ config.daily_data_directory+"/"+yearmonth+"/"+\ - yearmonthday.replace('-','')+'_120000_'+\ + yearmonthday.replace('-','')+\ config._device_shorttype+'-'+config._observatory_name+'.dat' self.current_datafile = \ config.current_data_directory+"/"+config._device_shorttype+\