diff --git a/Mount/IndiG11.py b/Mount/IndiG11.py index 7efb172..9dfaf1e 100644 --- a/Mount/IndiG11.py +++ b/Mount/IndiG11.py @@ -263,7 +263,7 @@ def set_time_config(self): Losmandy Gemini.TIME_UTC.OFFSET=2 :return: """ - utc_time_str = self.serv_time.get_astropy_time_from_utc().value.strftime("%Y-%m-%dT%H:%M:%S") + utc_time_str = self.serv_time.get_astropy_time_from_utc().value.strftime("%Y-%d-%mT%H:%M:%S") utc_offset_value = self.serv_time.timezone.localize(self.serv_time.get_astropy_time_from_utc().value).utcoffset().total_seconds()/60/60 self.set_text("TIME_UTC", {"UTC": utc_time_str}, sync=True) self.set_number('TIME_UTC', {'OFFSET': utc_offset_value}, sync=True) diff --git a/Service/SceneVizualization.py b/Service/SceneVizualization.py index f1afd10..87ffc3a 100644 --- a/Service/SceneVizualization.py +++ b/Service/SceneVizualization.py @@ -135,5 +135,7 @@ def stop(self): try: self.join() self.logger.debug(f"Vizualization thread successfully stopped") - except RuntimeError as e: # cannot join thread before it is started + # threads can only be started once + super().__init__(name="observatory_control_scene_vizualization") + except Exception as e: # cannot join thread before it is started self.logger.debug(f"Most likely thread was not started: {e}") diff --git a/conf_files/config.yaml b/conf_files/config.yaml index 310b7f9..81b8ad4 100644 --- a/conf_files/config.yaml +++ b/conf_files/config.yaml @@ -2,7 +2,7 @@ name: Remote observatory observatory: module: Observatory investigator: gnthibault - latitude: 43.93447527626349 # Degrees + latitude: 45.93447527626349 # Degrees longitude: 5.710523353974106 # Degrees elevation: 650.0 # Meters timezone: Europe/Paris #This is not mandatory, just speeds up startup diff --git a/conf_files/config_backyard.yaml b/conf_files/config_backyard.yaml index c72c04b..9025fcc 100644 --- a/conf_files/config_backyard.yaml +++ b/conf_files/config_backyard.yaml @@ -2,7 +2,7 @@ name: Remote observatory observatory: module: Observatory investigator: gnthibault - latitude: 43.934807501800606 # Degrees + latitude: 45.934807501800606 # Degrees longitude: 5.710652100000001 # Degrees elevation: 650.0 # Meters timezone: Europe/Paris #This is not mandatory, just speeds up startup diff --git a/conf_files/spectral_targets.yaml b/conf_files/spectral_targets.yaml index 925048a..a6c76f5 100644 --- a/conf_files/spectral_targets.yaml +++ b/conf_files/spectral_targets.yaml @@ -59,14 +59,14 @@ targets : gain: 150 offset: 30 exp_time_sec: 5 - "Mizar": + "Kochab": priority: 0 count: 2 temperature: 15 gain: 150 offset: 30 exp_time_sec: 5 - "Alioth": + "Pherkad": priority: 0 count: 2 temperature: 15