forked from jekhokie/raspberry-noaa-v2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Instead of having things spread all over the place (home directory kept in sync with ansible prompts and other configs), simplify and consolidate down to a single settings.yml file that can be used and kept up to date for driving all configurations.
- Loading branch information
Showing
10 changed files
with
106 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,6 @@ | |
# vim swap files | ||
*.swp | ||
*.swo | ||
|
||
# environment-specific config file | ||
config/settings.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,31 @@ | ||
# framework configs | ||
NOAA_HOME={{ noaa_home }} | ||
DB_FILE={{ db_file }} | ||
WEB_HOME={{ web_home }} | ||
IMAGE_OUTPUT={{ images_output }} | ||
NOAA_AUDIO_OUTPUT={{ audio_output }}/noaa | ||
METEOR_AUDIO_OUTPUT={{ audio_output }}/meteor | ||
RAMFS_AUDIO={{ ramfs_path }} | ||
SAT_MIN_ELEV={{ sat_min_elevation }} | ||
METEOR_MIN_ELEV={{ meteor_min_elevation }} | ||
SUN_MIN_ELEV={{ sun_min_elevation }} | ||
|
||
# base station configs | ||
LAT={{ latitude }} | ||
LON={{ longitude }} | ||
|
||
# whether to schedule specific objects | ||
SCHEDULE_ISS="{% if schedule_iss|string == 'True' %}true{% else %}false{% endif %}" | ||
SCHEDULE_NOAA="{% if schedule_noaa|string == 'True' %}true{% else %}false{% endif %}" | ||
SCHEDULE_METEOR="{% if schedule_meteor|string == 'True' %}true{% else %}false{% endif %}" | ||
|
||
# thresholds for captures | ||
SAT_MIN_ELEV={{ sat_min_elevation }} | ||
SUN_MIN_ELEV={{ sun_min_elevation }} | ||
|
||
# system configs, processing configs, and sdr tuning | ||
DELETE_AUDIO="{% if delete_audio|string == 'True' %}true{% else %}false{% endif %}" | ||
BIAS_TEE="{% if enable_bias_tee|string == 'True' %}-T{% endif %}" | ||
FLIP_METEOR_IMG="true" | ||
GAIN=50 | ||
SCHEDULE_ISS="{% if schedule_iss|string == 'True' %}true{% else %}false{% endif %}" | ||
|
||
# language and debugging | ||
TZ_OFFSET={{ timezone_offset }} | ||
LOG_LEVEL=DEBUG |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
# base station configurations | ||
# latitude: south values are negative | ||
# longitude: west values are negative | ||
latitude: 40.712776 | ||
longitude: -74.005974 | ||
|
||
# time zone offset from UTC (for example, '-5' for US Eastern) | ||
timezone_offset: -5 | ||
|
||
# whether to enable bias tee (power LNA or upstream devices from SDR) | ||
enable_bias_tee: True | ||
|
||
# whether to schedule specific orbiting objects for capture | ||
schedule_iss: False | ||
schedule_noaa: True | ||
schedule_meteor: True | ||
|
||
# whether audio files should be deleted after images are created | ||
delete_audio: False | ||
|
||
# thresholds for scheduling captures - enables avoiding an attempt | ||
# to capture imagery if objects are lower than these degree elevation thresholds | ||
sat_min_elevation: 30 | ||
meteor_min_elevation: 30 | ||
sun_min_elevation: 10 | ||
|
||
# locale settings for timezone and language | ||
# timezone: see https://www.php.net/manual/en/timezones.php | ||
# lang_setting: see the 'webpanel/App/Lang' folder for available | ||
# languages (2-letter filename - e.g. ar, de, en, es, sr) | ||
timezone: America/New_York | ||
lang_setting: en | ||
|
||
# port to run the webpanel on | ||
web_port: 80 | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters