From 03894160b10c85b89e62f735bccc566986bbf2b5 Mon Sep 17 00:00:00 2001 From: Luc Busquin <133058544+Cybis320@users.noreply.github.com> Date: Tue, 27 Aug 2024 11:41:53 -0700 Subject: [PATCH 1/3] Edit OMIT list --- Utils/AuditConfig.py | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/Utils/AuditConfig.py b/Utils/AuditConfig.py index 032bbda63..e5252e97f 100644 --- a/Utils/AuditConfig.py +++ b/Utils/AuditConfig.py @@ -18,14 +18,18 @@ # Python 2 import ConfigParser as configparser -OMIT_FROM_CONFIG = {'lat', - 'lon', - 'location', - 'altitude', - 'event_monitor_db_name', - 'force_v4l2', - 'mask', - 'platepar_name' +OMIT_FROM_CONFIG = {'lat', # Deprecated DFNS Station + 'lon', # Deprecated DFNS Station + 'location', # Deprecated DFNS Station + 'altitude', # Deprecated DFNS Station + 'event_monitor_db_name', # Should not be exposed + 'force_v4l2', # Deprecated + 'mask', # Should not be exposed + 'platepar_name', # Should not be exposed + 'brightness', # Deprecated + 'contrast', # Deprecated + 'dark_file', # Deprecated + 'use_dark' # Deprecated } From a04679cfdbfea61342f48b22437e794b5a4851c5 Mon Sep 17 00:00:00 2001 From: Luc Busquin <133058544+Cybis320@users.noreply.github.com> Date: Tue, 27 Aug 2024 11:55:34 -0700 Subject: [PATCH 2/3] Remove min_lines --- RMS/ConfigReader.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/RMS/ConfigReader.py b/RMS/ConfigReader.py index 762d7b285..b192c8739 100644 --- a/RMS/ConfigReader.py +++ b/RMS/ConfigReader.py @@ -1323,8 +1323,6 @@ def parseFireballDetection(config, parser): if parser.has_option(section, "max_lines"): config.max_lines = parser.getint(section, "max_lines") - if parser.has_option(section, "min_lines"): - config.max_lines = parser.getint(section, "max_lines") From e19468ca042eab861741819e2f4a4057bda9b0fd Mon Sep 17 00:00:00 2001 From: Luc Busquin <133058544+Cybis320@users.noreply.github.com> Date: Sun, 1 Sep 2024 18:02:52 -0700 Subject: [PATCH 3/3] Add mask_download_permissive option to config, add options to omit list --- .config | 6 ++++-- Utils/AuditConfig.py | 5 ++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.config b/.config index 61c79aafe..d6635c5e9 100644 --- a/.config +++ b/.config @@ -623,8 +623,8 @@ star_catalog_file: gaia_dr2_mag_11.5.npy ;star_catalog_band_ratios: 0.1,0.32,0.23,0.35 -; Platepar -; -------- +; Platepar and mask +; ----------------- ; Name of the JSON file with recalibrated platepars for constant intervals of FF ; files @@ -639,6 +639,8 @@ platepar_remote_name: platepar_latest.cal ; Name of the directory on the server which contains platepars remote_platepar_dir: platepars +; Toggle downloading remote mask +mask_download_permissive: true ; Auto recalibration ; ------------------ diff --git a/Utils/AuditConfig.py b/Utils/AuditConfig.py index e5252e97f..9260cdb1d 100644 --- a/Utils/AuditConfig.py +++ b/Utils/AuditConfig.py @@ -29,7 +29,10 @@ 'brightness', # Deprecated 'contrast', # Deprecated 'dark_file', # Deprecated - 'use_dark' # Deprecated + 'use_dark', # Deprecated + 'mask_remote_name', # Should not be exposed + 'remote_mask_dir', # Should not be exposed + 'platepar_template_dir' # Should not be exposed }