Skip to content

Commit

Permalink
Merge pull request #404 from Cybis320/Cybis320/issue387
Browse files Browse the repository at this point in the history
Cleanup config options
  • Loading branch information
dvida authored Sep 19, 2024
2 parents 2f18e9b + e19468c commit ac4865b
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 12 deletions.
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

0 comments on commit ac4865b

Please sign in to comment.