Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup config options #404

Merged
merged 3 commits into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .config
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
; ------------------
Expand Down
2 changes: 0 additions & 2 deletions RMS/ConfigReader.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")



Expand Down
23 changes: 15 additions & 8 deletions Utils/AuditConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,21 @@
# 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
'mask_remote_name', # Should not be exposed
'remote_mask_dir', # Should not be exposed
'platepar_template_dir' # Should not be exposed
}


Expand Down