From 4cddbc15d6ebecca858a410062146ac00bfe6ed8 Mon Sep 17 00:00:00 2001 From: Dario Barghini <dario.barghini@inaf.it> Date: Thu, 22 May 2025 15:30:47 +0200 Subject: [PATCH] Modified filenames and config file --- config.py | 2 +- pysqm/plot.py | 2 +- pysqm/read.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config.py b/config.py index 0eaa612..e63e054 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 2651539..a106eeb 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 e15c4b5..f76d70a 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+\ -- GitLab