jekhokie/raspberry-noaa-v2

celestrak url change

Opened this issue · 0 comments

Describe the bug
Celestrak data URL has changed requiring updated url in the schedule.sh script

Screenshots and/or logs
If applicable, add screenshots to help explain your problem. Logs are always welcome as well.

Support Output

Details about environment

Current local date/time: Tue 02 Jan 2024 12:33:19 PM EST
Current date/time (ms): 1704216799
Repo git hash: 11487a3
Raspberry Pi Model: Raspberry Pi 4 Model B Rev 1.5
Architecture: Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
Num CPUs: 4

'at' Scheduled Jobs (Captures):

  • [2976 Fri Jan 5 22:36:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 18" NOAA-18-20240105-223651 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704512211 983 47 Northbound W
  • [3019 Mon Jan 8 21:41:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20240108-214101 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704768061 836 23 Northbound W
  • [3014 Sun Jan 7 09:04:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20240107-090455 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704636295 962 51 Southbound E
  • [3009 Fri Jan 5 09:50:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20240105-095059 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704466259 965 57 Southbound W
  • [2950 Thu Jan 4 07:00:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 15" NOAA-15-20240104-070041 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704369641 904 30 Southbound E
  • [3000 Mon Jan 8 20:18:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 19" NOAA-19-20240108-201802 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704763082 935 70 Northbound E
  • [3010 Fri Jan 5 19:30:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20240105-193043 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704501043 850 21 Northbound E
  • [2966 Tue Jan 2 23:14:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 18" NOAA-18-20240102-231455 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704255295 904 21 Northbound W
  • [3016 Mon Jan 8 08:42:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20240108-084205 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704721325 875 30 Southbound E
  • [2986 Wed Jan 3 09:55:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 19" NOAA-19-20240103-095525 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704293725 941 45 Southbound W
  • [2973 Thu Jan 4 22:49:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 18" NOAA-18-20240104-224927 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704426567 940 36 Northbound W
  • [3011 Fri Jan 5 21:09:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20240105-210929 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704506969 926 45 Northbound W
  • [2968 Wed Jan 3 11:38:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 18" NOAA-18-20240103-113813 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704299893 913 39 Southbound W
  • [3006 Thu Jan 4 10:14:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20240104-101411 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704381251 883 34 Southbound W
  • [3003 Wed Jan 3 10:37:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20240103-103732 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704296252 843 22 Southbound W
  • [2970 Wed Jan 3 23:02:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 18" NOAA-18-20240103-230208 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704340928 893 27 Northbound W
  • [2952 Thu Jan 4 18:18:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 15" NOAA-15-20240104-181804 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704410284 875 37 Northbound E
  • [3015 Sun Jan 7 20:23:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20240107-202318 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704676998 931 65 Northbound E
  • [2993 Fri Jan 5 20:54:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 19" NOAA-19-20240105-205441 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704506081 967 52 Northbound W
  • [3017 Mon Jan 8 10:22:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20240108-102202 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704727322 851 29 Southbound W
  • [3004 Wed Jan 3 20:15:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20240103-201537 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704330937 944 55 Northbound E
  • [2954 Fri Jan 5 08:14:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 15" NOAA-15-20240105-081440 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704460480 930 49 Southbound W
  • [2969 Wed Jan 3 21:21:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 18" NOAA-18-20240103-212123 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704334883 921 34 Northbound E
  • [2974 Fri Jan 5 11:13:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 18" NOAA-18-20240105-111318 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704471198 949 67 Southbound W
  • [2963 Mon Jan 8 18:15:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 15" NOAA-15-20240108-181531 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704755731 896 35 Northbound E
  • [2965 Tue Jan 2 21:33:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 18" NOAA-18-20240102-213331 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704249211 950 45 Northbound E
  • [3007 Thu Jan 4 19:53:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20240104-195301 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704415981 870 32 Northbound E
  • [2959 Sun Jan 7 07:23:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 15" NOAA-15-20240107-072327 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704630207 927 52 Southbound E
  • [2992 Fri Jan 5 09:30:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 19" NOAA-19-20240105-093055 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704465055 998 75 Southbound W
  • [3013 Sat Jan 6 20:46:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20240106-204616 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704591976 935 75 Northbound W
  • [3008 Thu Jan 4 21:33:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20240104-213301 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704421981 857 26 Northbound W
  • [2991 Thu Jan 4 21:07:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 19" NOAA-19-20240104-210704 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704420424 913 39 Northbound W
  • [2981 Mon Jan 8 10:36:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 18" NOAA-18-20240108-103610 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704728170 937 54 Southbound E
  • [2955 Fri Jan 5 17:53:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 15" NOAA-15-20240105-175313 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704495193 821 22 Northbound E
  • [2982 Mon Jan 8 21:59:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 18" NOAA-18-20240108-215933 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704769173 978 77 Northbound E
  • [2948 Wed Jan 3 07:26:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 15" NOAA-15-20240103-072603 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704284763 905 56 Southbound E
  • [2947 Tue Jan 2 19:08:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 15" NOAA-15-20240102-190849 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704240529 957 68 Northbound W
  • [2980 Sun Jan 7 22:11:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 18" NOAA-18-20240107-221154 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704683514 1002 81 Northbound W
  • [2989 Thu Jan 4 09:43:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 19" NOAA-19-20240104-094309 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704379389 943 59 Southbound W
  • [2990 Thu Jan 4 19:27:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 19" NOAA-19-20240104-192713 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704414433 857 24 Northbound E
  • [2983 Tue Jan 2 19:50:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 19" NOAA-19-20240102-195056 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704243056 957 40 Northbound E
  • [2971 Thu Jan 4 11:25:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 18" NOAA-18-20240104-112544 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704385544 963 52 Southbound W
  • [2958 Sat Jan 6 19:06:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 15" NOAA-15-20240106-190612 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704585972 921 72 Northbound W
  • [2960 Sun Jan 7 18:40:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 15" NOAA-15-20240107-184042 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704670842 935 63 Northbound E
  • [3002 Wed Jan 3 08:57:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20240103-085711 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704290231 915 43 Southbound E
  • [3012 Sat Jan 6 09:27:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20240106-092753 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704551273 972 86 Southbound E
  • [2961 Mon Jan 8 06:58:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 15" NOAA-15-20240108-065806 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704715086 864 28 Southbound E
  • [2977 Sat Jan 6 11:00:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 18" NOAA-18-20240106-110053 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704556853 990 88 Southbound W
  • [2985 Wed Jan 3 08:15:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 19" NOAA-19-20240103-081514 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704287714 858 21 Southbound E
  • [2987 Wed Jan 3 19:39:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 19" NOAA-19-20240103-193901 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704328741 878 30 Northbound E
  • [3005 Thu Jan 4 08:34:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20240104-083426 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704375266 884 25 Southbound E
  • [2979 Sun Jan 7 10:48:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 18" NOAA-18-20240107-104830 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704642510 973 70 Southbound E
  • [2978 Sat Jan 6 22:24:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 18" NOAA-18-20240106-222420 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704597860 963 62 Northbound W
  • [2949 Wed Jan 3 18:43:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 15" NOAA-15-20240103-184317 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704325397 920 67 Northbound E
  • [2957 Sat Jan 6 07:48:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 15" NOAA-15-20240106-074859 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704545339 969 87 Southbound W
  • [3018 Mon Jan 8 20:00:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20240108-200036 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704762036 920 39 Northbound E
  • [3001 Tue Jan 2 20:38:00 2024 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20240102-203830 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1704245910 955 89 Northbound W

Satellite SDR Settings:
meteor_m2_memory_threshold: 200
noaa_15_schedule: true
noaa_15_sdr_device_id: 0
noaa_15_freq_offset: 0
noaa_15_enable_bias_tee: true
noaa_15_gain: 40
noaa_15_sun_min_elevation: 15
noaa_15_sat_min_elevation: 20
noaa_18_schedule: true
noaa_18_sdr_device_id: 0
noaa_18_freq_offset: 0
noaa_18_enable_bias_tee: true
noaa_18_gain: 40
noaa_18_sun_min_elevation: 15
noaa_18_sat_min_elevation: 20
noaa_19_schedule: true
noaa_19_sdr_device_id: 0
noaa_19_freq_offset: 0
noaa_19_enable_bias_tee: true
noaa_19_gain: 40
noaa_19_sun_min_elevation: 15
noaa_19_sat_min_elevation: 20
meteor_m2_3_schedule: true
meteor_m2_3_sdr_device_id: 0
meteor_m2_3_freq_offset: 0
meteor_m2_3_enable_bias_tee: true
meteor_m2_3_gain: 40
meteor_m2_3_schedule_sun_min_elevation: -90
meteor_m2_3_sun_min_elevation: 15
meteor_m2_3_sat_min_elevation: 20
meteor_m2_3_80k_interleaving: false

USB Device Map:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 04f2:1228 Chicony Electronics Co., Ltd USB KEYBOARD
Bus 001 Device 004: ID 046d:c064 Logitech, Inc. M110 corded optical mouse (M-B0001)
Bus 001 Device 006: ID 1df7:3000
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Disk Info:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
mmcblk0 179:0 0 119.1G 0 disk
├─mmcblk0p1 179:1 0 256M 0 part /boot
└─mmcblk0p2 179:2 0 118.8G 0 part /

Disk Usage Info:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 122598688 13089168 104483980 12% /
devtmpfs 3645748 0 3645748 0% /dev
tmpfs 3909972 16 3909956 1% /dev/shm
tmpfs 1563992 1320 1562672 1% /run
tmpfs 5120 4 5116 1% /run/lock
tmpfs 1024000 38416 985584 4% /var/ramfs
/dev/mmcblk0p1 258095 51409 206686 20% /boot
tmpfs 781992 40 781952 1% /run/user/1000

Memory Info:
MemTotal: 7819944 kB
MemFree: 6114968 kB
MemAvailable: 7241708 kB

Git source files changed:
config/settings.yml
scripts/schedule.sh

SDR Information:
No supported devices found.

Database tables:
predict_passes =>
CREATE TABLE predict_passes(
sat_name text not null,
pass_start timestamp primary key default (strftime('%s', 'now')) not null,
pass_end timestamp default (strftime('%s', 'now')) not null,
max_elev int not null,
is_active boolean, pass_start_azimuth int, direction text, azimuth_at_max int, at_job_id int not null default 0);

decoded_passes =>
CREATE TABLE decoded_passes(
id integer primary key autoincrement,
pass_start integer,
file_path text not null,
daylight_pass boolean, is_noaa boolean, sat_type integer, img_count integer, has_spectrogram boolean default 0, has_pristine boolean default 0, gain real, has_polar_az_el boolean default 0, has_polar_direction boolean default 0, has_histogram boolean default 0,
foreign key(pass_start) references passes(pass_start));

Server information (please complete the following information):

  • OS: raspberry-noaa-v2 image
  • Python version [e.g. 3.7.3]
  • SDR device SDRPlay RSP1a

Additional context
Change following areas of schedule.sh as follows:

TLE data files

WEATHER_TXT="${NOAA_HOME}/tmp/weather.tle"
AMATEUR_TXT="${NOAA_HOME}/tmp/amateur.tle"
ACTIVE_TXT="${NOAA_HOME}/tmp/active.tle"
TLE_OUTPUT="${NOAA_HOME}/tmp/orbit.tle"

get the txt files for orbit information

log "Downloading new TLE files from source" "INFO"
wget -r "https://${tle_addr}/NORAD/elements/gp.php?GROUP=weather&FORMAT=tle" --no-check-certificate -O "${WEATHER_TXT}" >> $NOAA_LOG 2>&1
wget -r "https://${tle_addr}/NORAD/elements/gp.php?GROUP=amateur&FORMAT=tle" --no-check-certificate -O "${AMATEUR_TXT}" >> $NOAA_LOG 2>&1
wget -r "https://${tle_addr}/NORAD/elements/gp.php?GROUP=active&FORMAT=tle" --no-check-certificate -O "${ACTIVE_TXT}" >> $NOAA_LOG 2>&1