Compare commits

...

2 commits

Author SHA1 Message Date
Wolfgang 3114b4ce30 refactor frequency range in yml files 2024-05-26 15:12:32 +02:00
Wolfgang 39d1ff0d9e plan selection possible via uri parameter 2024-05-26 12:50:29 +02:00
3 changed files with 530 additions and 526 deletions

View file

@ -5,48 +5,33 @@
power_e: Power E, power_e: Power E,
power_n: Power N power_n: Power N
} }
- start: 135.7 - frequency: 135.7-137.8
end: 137.8
power: {a: 1 W ERP} power: {a: 1 W ERP}
- start: 472 - frequency: 472-479
end: 479
power: {a: 1 W ERP} power: {a: 1 W ERP}
- start: 1810 - frequency: 1810-1850
end: 1850
power: {a: 750 W PEP, e: 100 W PEP} power: {a: 750 W PEP, e: 100 W PEP}
- start: 1850 - frequency: 1850-1890
end: 1890
power: {a: 75 W PEP, e: 75 W PEP} power: {a: 75 W PEP, e: 75 W PEP}
- start: 1890 - frequency: 1890-2000
end: 2000
power: {a: 10 W PEP, e: 10 W PEP} power: {a: 10 W PEP, e: 10 W PEP}
- start: 3500 - frequency: 3500-3800
end: 3800
power: {a: 750 W PEP, e: 100 W PEP} power: {a: 750 W PEP, e: 100 W PEP}
- start: 5351.5 - frequency: 5351.5-5366.5
end: 5366.5
power: {a: 15 W EIRP} power: {a: 15 W EIRP}
- start: 7000 - frequency: 7000-7100
end: 7100
power: {a: 750 W PEP} power: {a: 750 W PEP}
- start: 7100 - frequency: 7100-7200
end: 7200
power: {a: 750 W PEP} power: {a: 750 W PEP}
- start: 10100 - frequency: 10100-10150
end: 10150
power: {a: 150 W PEP} power: {a: 150 W PEP}
- start: 14000 - frequency: 14000-14350
end: 14350
power: {a: 750 W PEP} power: {a: 750 W PEP}
- start: 18068 - frequency: 18068-18168
end: 18168
power: {a: 750 W PEP} power: {a: 750 W PEP}
- start: 21000 - frequency: 21000-21450
end: 21450
power: {a: 750 W PEP, e: 100 W PEP} power: {a: 750 W PEP, e: 100 W PEP}
- start: 24890 - frequency: 24890-24990
end: 24990
power: {a: 750 W PEP} power: {a: 750 W PEP}
- start: 28000 - frequency: 28000-29700
end: 29700
power: {a: 750 W PEP, e: 100 W PEP, n: 10 W ERP} power: {a: 750 W PEP, e: 100 W PEP, n: 10 W ERP}

View file

@ -11,544 +11,553 @@
- band: 2.2 km - band: 2.2 km
mode: CW mode: CW
bandwidth: 200 bandwidth: 200
start: 135.7 frequency: 135.7-137.8
end: 137.8 description: CW, QRSS and narrow band digital modes
parts:
- description: CW, QRSS and narrow band digital modes
start: 135.7
end: 137.8
- band: 630 m - band: 630 m
mode: CW mode: CW
bandwidth: 200 bandwidth: 200
start: 472 frequency: 472-475
end: 475 description: CW
parts:
- description: CW
start: 472
end: 475
- band: 630 m - band: 630 m
mode: Narrow band modes mode: Narrow band modes
bandwidth: 500 bandwidth: 500
start: 475 frequency: 475-479
end: 479 description: CW, Digimodes, Bandwidth of 500 Hz suggested
parts:
- description: CW, Digimodes, Bandwidth of 500 Hz suggested
start: 475
end: 479
- band: 160 m - band: 160 m
mode: CW mode: CW
bandwidth: 200 bandwidth: 200
start: 1810 frequency: 1810-1838
end: 1838 - band: 160 m
parts: mode: CW
- start: 1810 bandwidth: 200
end: 1838 description: CW QRP Centre of Activity
- description: CW QRP Centre of Activity frequency: 1836
at: 1836
- band: 160 m - band: 160 m
mode: Narrow band modes mode: Narrow band modes
bandwidth: 500 bandwidth: 500
start: 1838 frequency: 1838-1840
end: 1840
parts:
- start: 1838
end: 1840
- band: 160 m - band: 160 m
mode: All modes mode: All modes
bandwidth: 2700 bandwidth: 2700
parts: description: Digimodes
- description: Digimodes frequency: 1840-1843
start: 1840 - band: 160 m
end: 1843 mode: All modes
- start: 1843 bandwidth: 2700
end: 2000 frequency: 1843-2000
- band: 80 m - band: 80 m
mode: CW mode: CW
bandwidth: 200 bandwidth: 200
start: 3500 description: Priority for inter-continental operation
end: 3570 frequency: 3500-3510
parts: - band: 80 m
- description: Priority for inter-continental operation mode: CW
start: 3500 bandwidth: 200
end: 3510 description: CW contest preferred
- description: CW contest preferred frequency: 3510-3560
start: 3510 - band: 80 m
end: 3560 mode: CW
- description: CW QRS Centre of Activity bandwidth: 200
at: 3555 description: CW QRS Centre of Activity
- start: 3560 frequency: 3555
end: 3570 - band: 80 m
- description: CW QRP Centre of Activity mode: CW
at: 3560 bandwidth: 200
frequency: 3560-3570
- band: 80 m
mode: CW
bandwidth: 200
description: CW QRP Centre of Activity
frequency: 3560
- band: 80 m - band: 80 m
mode: Narrow band modes mode: Narrow band modes
bandwidth: 200 bandwidth: 200
start: 3570 description: Digimodes
end: 3580 frequency: 3570-3580
parts:
- description: Digimodes
start: 3570
end: 3580
- band: 80 m - band: 80 m
mode: Narrow band modes mode: Narrow band modes
bandwidth: 500 bandwidth: 500
start: 3580 description: Digimodes
end: 3600 frequency: 3580-3590
parts: - band: 80 m
- description: Digimodes mode: Narrow band modes
start: 3580 bandwidth: 500
end: 3590 description: Digimodes, automatically controlled data stations (unattended)
- description: Digimodes, automatically controlled data stations (unattended) frequency: 3590-3600
start: 3590
end: 3600
- band: 80 m - band: 80 m
mode: All modes mode: All modes
bandwidth: 2700 bandwidth: 2700
start: 3600 description: Digimodes, automatically controlled data stations (unattended)
end: 3800 frequency: 3600-3620
parts: - band: 80 m
- description: Digimodes, automatically controlled data stations (unattended) mode: All modes
start: 3600 bandwidth: 2700
end: 3620 description: SSB contest preferred (TODO 3620?)
- description: SSB contest preferred frequency: 3620-3650
start: 3600 - band: 80 m
end: 3650 mode: All modes
- description: Digital Voice Centre of Activity bandwidth: 2700
at: 3630 description: Digital Voice Centre of Activity
- start: 3650 frequency: 3630
end: 3700 - band: 80 m
- description: SSB QRP Centre of Activity mode: All modes
at: 3690 bandwidth: 2700
- description: SSB contest preferred frequency: 3650-3700
start: 3700 - band: 80 m
end: 3775 mode: All modes
- description: Image Centre of Activity bandwidth: 2700
at: 3735 description: SSB QRP Centre of Activity
- description: R1 Emergency Centre of Activity frequency: 3690
at: 3760 - band: 80 m
- description: SSB contest preferred - Priority for inter-continental operation mode: All modes
start: 3775 bandwidth: 2700
end: 3800 description: SSB contest preferred
frequency: 3700-3775
- band: 80 m
mode: All modes
bandwidth: 2700
description: Image Centre of Activity
frequency: 3735
- band: 80 m
mode: All modes
bandwidth: 2700
description: R1 Emergency Centre of Activity
frequency: 3760
- band: 80 m
mode: All modes
bandwidth: 2700
description: SSB contest preferred - Priority for inter-continental operation
frequency: 3775-3800
- band: 60 m - band: 60 m
mode: CW, Narrow band modes mode: CW, Narrow band modes
bandwidth: 200 bandwidth: 200
start: 5351.5 description: CW, Narrow band modes
end: 5354.0 frequency: 5351.5-5354.0
parts:
- description: CW, Narrow band modes
start: 5351.5
end: 5354.0
- band: 60 m - band: 60 m
mode: All modes mode: All modes
bandwidth: 2700 bandwidth: 2700
start: 5354 description: USB recommended for voice operation
end: 5366 frequency: 5354-5366
parts:
- description: USB recommended for voice operation
start: 5354
end: 5366
- band: 60 m - band: 60 m
bandwidth: 20 bandwidth: 20
start: 5366.0 description: Weak signal narrow band modes
end: 5366.5 frequency: 5366.0-5366.5
parts:
- description: Weak signal narrow band modes
start: 5366.0
end: 5366.5
- band: 40 m - band: 40 m
mode: CW mode: CW
bandwidth: 200 bandwidth: 200
start: 7000 frequency: 7000-7040
end: 7040 - band: 40 m
parts: mode: CW
- start: 7000 bandwidth: 200
end: 7040 description: CW, QRP Centre of Activity
- description: CW, QRP Centre of Activity frequency: 7030
at: 7030
- band: 40 m - band: 40 m
mode: Narrow band modes mode: Narrow band modes
bandwidth: 500 bandwidth: 500
start: 7040 description: Digimodes
end: 7050 frequency: 7040-7047
parts: - band: 40 m
- description: Digimodes mode: Narrow band modes
start: 7040 bandwidth: 500
end: 7047 description: Digimodes, automatically controlled data stations (unattended)
- description: Digimodes, automatically controlled data stations (unattended) frequency: 7047-7050
start: 7047
end: 7050
- band: 40 m - band: 40 m
mode: All modes mode: All modes
bandwidth: 2700 bandwidth: 2700
start: 7050 description: Digimodes, automatically controlled data stations (unattended)
end: 7200 frequency: 7050-7053
parts: - band: 40 m
- description: Digimodes, automatically controlled data stations (unattended) mode: All modes
start: 7050 bandwidth: 2700
end: 7053 description: Digimodes
- description: Digimodes frequency: 7053-7060
start: 7053 - band: 40 m
end: 7060 mode: All modes
- description: SSB contest preferred bandwidth: 2700
start: 7060 description: SSB contest preferred
end: 7100 frequency: 7060-7100
- description: Digital Voice Centre of Activity - band: 40 m
at: 7070 mode: All modes
- description: SSB QRP Centre of Activity bandwidth: 2700
at: 7090 description: Digital Voice Centre of Activity
- description: R1 Emergency Centre of Activity frequency: 7070
at: 7110 - band: 40 m
- start: 7100 mode: All modes
end: 7130 bandwidth: 2700
- description: SSB contest preferred description: SSB QRP Centre of Activity
start: 7130 frequency: 7090
end: 7175 - band: 40 m
- description: Image Centre of Activity mode: All modes
at: 7165 bandwidth: 2700
- description: SSB contest preferred - Priority for inter-continental Activity description: R1 Emergency Centre of Activity
start: 7175 frequency: 7110
end: 7200 - band: 40 m
mode: All modes
bandwidth: 2700
frequency: 7100-7130
- band: 40 m
mode: All modes
bandwidth: 2700
description: SSB contest preferred
frequency: 7130-7175
- band: 40 m
mode: All modes
bandwidth: 2700
description: Image Centre of Activity
frequency: 7165
- band: 40 m
mode: All modes
bandwidth: 2700
description: SSB contest preferred - Priority for inter-continental Activity
frequency: 7175-7200
- band: 30 m - band: 30 m
mode: CW mode: CW
bandwidth: 200 bandwidth: 200
start: 10100 frequency: 10100-10130
end: 10130 - band: 30 m
parts: mode: CW
- start: 10100 bandwidth: 200
end: 10130 description: CW QRP Centre of Activity
- description: CW QRP Centre of Activity frequency: 10116
at: 10116
- band: 30 m - band: 30 m
mode: Narrow band modes mode: Narrow band modes
bandwidth: 500 bandwidth: 500
start: 10130 description: Digimodes
end: 10150 frequency: 10130-10150
parts:
- description: Digimodes
start: 10130
end: 10150
- band: 20 m - band: 20 m
mode: CW mode: CW
bandwidth: 200 bandwidth: 200
start: 14000 description: CW contest preferred
end: 14070 frequency: 14000-14060
parts: - band: 20 m
- description: CW contest preferred mode: CW
start: 14000 bandwidth: 200
end: 14060 description: QRS Centre of Activity
- description: QRS Centre of Activity frequency: 14055
at: 14055 - band: 20 m
- start: 14060 mode: CW
end: 14070 bandwidth: 200
- description: CW QRP Centre of Activity frequency: 14060-14070
at: 14060 - band: 20 m
mode: CW
bandwidth: 200
description: CW QRP Centre of Activity
frequency: 14060
- band: 20 m - band: 20 m
mode: Narrow band modes mode: Narrow band modes
bandwidth: 500 bandwidth: 500
start: 14070 description: Digimodes
end: 14099 frequency: 14070-14089
parts: - band: 20 m
- description: Digimodes mode: Narrow band modes
start: 14070 bandwidth: 500
end: 14089 description: Digimodes, automatically controlled data stations (unattended)
- description: Digimodes, automatically controlled data stations (unattended) frequency: 14089-14099
start: 14089
end: 14099
- band: 20 m - band: 20 m
mode: International Beacon Project mode: International Beacon Project
start: 14099 description: Beacons exclusively
end: 14101 frequency: 14099-14101
parts:
- description: Beacons exclusively
start: 14099
end: 14101
- band: 20 m - band: 20 m
mode: All modes mode: All modes
bandwidth: 2700 bandwidth: 2700
start: 14101 description: Digimodes, automatically controlled data stations (unattended)
end: 14350 frequency: 14101-14112
parts: - band: 20 m
- description: Digimodes, automatically controlled data stations (unattended) mode: All modes
start: 14101 bandwidth: 2700
end: 14112 frequency: 14112-14125
- start: 14112 - band: 20 m
end: 14125 mode: All modes
- description: SSB contest preferred bandwidth: 2700
start: 14125 description: SSB contest preferred
end: 14300 frequency: 14125-14300
- description: Digital Voice Centre of Activity - band: 20 m
at: 14130 mode: All modes
- description: Priority for DX-peditions bandwidth: 2700
start: 14190 description: Digital Voice Centre of Activity
end: 14200 frequency: 14130
- description: Image Centre of Activity - band: 20 m
at: 14230 mode: All modes
- description: SSB QRP Centre of Activity bandwidth: 2700
at: 14285 description: Priority for DX-peditions
- start: 14300 frequency: 14190-14200
end: 14350 - band: 20 m
- description: Global Emergency Centre of Activity mode: All modes
at: 14300 bandwidth: 2700
description: Image Centre of Activity
frequency: 14230
- band: 20 m
mode: All modes
bandwidth: 2700
description: SSB QRP Centre of Activity
frequency: 14285
- band: 20 m
mode: All modes
bandwidth: 2700
frequency: 14300-14350
- band: 20 m
mode: All modes
bandwidth: 2700
description: Global Emergency Centre of Activity
frequency: 14300
- band: 17 m - band: 17 m
mode: CW mode: CW
bandwidth: 200 bandwidth: 200
start: 18068 frequency: 18068-18095
end: 18095 - band: 17 m
parts: mode: CW
- start: 18068 bandwidth: 200
end: 18095 description: CW QRP Centre of Activity
- description: CW QRP Centre of Activity frequency: 18086
at: 18086
- band: 17 m - band: 17 m
mode: Narrow band modes mode: Narrow band modes
bandwidth: 500 bandwidth: 500
start: 18095 description: Digimodes
end: 18109 frequency: 18095-18105
parts: - band: 17 m
- description: Digimodes mode: Narrow band modes
start: 18095 bandwidth: 500
end: 18105 description: Digimodes, automatically controlled data stations (unattended)
- description: Digimodes, automatically controlled data stations (unattended) frequency: 18105-18109
start: 18105
end: 18109
- band: 17 m - band: 17 m
mode: International Beacon Project mode: International Beacon Project
start: 18109 description: Beacons exclusively
end: 18111 frequency: 18109-18111
parts:
- description: Beacons exclusively
start: 18109
end: 18111
- band: 17 m - band: 17 m
mode: All modes mode: All modes
bandwidth: 2700 bandwidth: 2700
start: 18111 description: Digimodes, automatically controlled data stations (unattended)
end: 18168 frequency: 18111-18120
parts: - band: 17 m
- description: Digimodes, automatically controlled data stations (unattended) mode: All modes
start: 18111 bandwidth: 2700
end: 18120 frequency: 18120-18168
- start: 18120 - band: 17 m
end: 18168 mode: All modes
- description: SSB QRP Centre of Activity bandwidth: 2700
at: 18130 description: SSB QRP Centre of Activity
- description: Digital Voice Centre of Activity frequency: 18130
at: 18150 - band: 17 m
- description: Emergency Centre of Activity mode: All modes
at: 18160 bandwidth: 2700
description: Digital Voice Centre of Activity
frequency: 18150
- band: 17 m
mode: All modes
bandwidth: 2700
description: Emergency Centre of Activity
frequency: 18160
- band: 15 m - band: 15 m
mode: CW mode: CW
bandwidth: 200 bandwidth: 200
start: 21000 description: QRS Centre of Activity
end: 21000 frequency: 21055
parts: - band: 15 m
- description: QRS Centre of Activity mode: CW
at: 21055 bandwidth: 200
- description: QRP Centre of Activity description: QRP Centre of Activity
at: 21060 frequency: 21060
- start: 21000 - band: 15 m
end: 21070 mode: CW
bandwidth: 200
frequency: 21000-21070
- band: 15 m - band: 15 m
mode: Narrow band modes mode: Narrow band modes
bandwidth: 500 bandwidth: 500
start: 21070 description: Digimodes
end: 21110 frequency: 21070-21090
parts: - band: 15 m
- description: Digimodes mode: Narrow band modes
start: 21070 bandwidth: 500
end: 21090 description: Digimodes, automatically controlled data stations (unattended)
- description: Digimodes, automatically controlled data stations (unattended) frequency: 21090-21110
start: 21090
end: 21110
- band: 15 m - band: 15 m
mode: All modes mode: All modes
bandwidth: 2700 bandwidth: 2700
start: 21110 description: Digimodes, automatically controlled data stations (unattended), (not SSB)
end: 21120 frequency: 21110-21120
parts:
- description: Digimodes, automatically controlled data stations (unattended), (not SSB)
start: 21110
end: 21120
- band: 15 m - band: 15 m
mode: Narrow band modes mode: Narrow band modes
bandwidth: 500 bandwidth: 500
start: 21120 description: Narrow band modes
end: 21149 frequency: 21120-21149
parts:
- description: Narrow band modes
start: 21120
end: 21149
- band: 15 m - band: 15 m
mode: International Beacon Project mode: International Beacon Project
start: 21149 description: Beacons exclusively
end: 21151 frequency: 21149-21151
parts:
- description: Beacons exclusively
start: 21149
end: 21151
- band: 15 m - band: 15 m
mode: All modes mode: All modes
bandwidth: 2700 bandwidth: 2700
start: 21151 description: Digital Voice Centre of Activity
end: 21450 frequency: 21180
parts: - band: 15 m
- description: Digital Voice Centre of Activity mode: All modes
at: 21180 bandwidth: 2700
- description: SSB QRP Centre of Activity description: SSB QRP Centre of Activity
at: 21285 frequency: 21285
- description: Image Centre of Activity - band: 15 m
at: 21340 mode: All modes
- description: Global Emergency Centre of Activity bandwidth: 2700
at: 21360 description: Image Centre of Activity
- start: 21151 frequency: 21340
end: 21450 - band: 15 m
mode: All modes
bandwidth: 2700
description: Global Emergency Centre of Activity
frequency: 21360
- band: 15 m
mode: All modes
bandwidth: 2700
frequency: 21151-21450
- band: 12 m - band: 12 m
mode: CW mode: CW
bandwidth: 200 bandwidth: 200
start: 24890 description: CW QRP Centre of Activity
end: 24915 frequency: 24906
parts: - band: 12 m
- description: CW QRP Centre of Activity mode: CW
at: 24906 bandwidth: 200
- start: 24890 frequency: 24890-24915
end: 24915
- band: 12 m - band: 12 m
mode: Narrow band modes mode: Narrow band modes
bandwidth: 500 bandwidth: 500
start: 24915 description: Digimodes
end: 24929 frequency: 24915-24925
parts: - band: 12 m
- description: Digimodes mode: Narrow band modes
start: 24915 bandwidth: 500
end: 24925 description: Digimodes, automatically controlled data stations (unattended)
- description: Digimodes, automatically controlled data stations (unattended) frequency: 24925-24929
start: 24925
end: 24929
- band: 12 m - band: 12 m
mode: International Beacon Project mode: International Beacon Project
start: 24929 description: Beacons exclusively
end: 24931 frequency: 24929-24931
parts:
- description: Beacons exclusively
start: 24929
end: 24931
- band: 12 m - band: 12 m
mode: All modes mode: All modes
bandwidth: 2700 bandwidth: 2700
start: 24931 description: Digimodes, automatically controlled data stations (unattended)
end: 24990 frequency: 24931-24940
parts: - band: 12 m
- description: Digimodes, automatically controlled data stations (unattended) mode: All modes
start: 24931 bandwidth: 2700
end: 24940 description: SSB QRP Centre of Activity
- description: SSB QRP Centre of Activity frequency: 24950
at: 24950 - band: 12 m
- description: Digital Voice Centre of Activity mode: All modes
at: 24960 bandwidth: 2700
- start: 24940 description: Digital Voice Centre of Activity
end: 24990 frequency: 24960
- band: 12 m
mode: All modes
bandwidth: 2700
frequency: 24940-24990
- band: 10 m - band: 10 m
mode: CW mode: CW
bandwidth: 200 bandwidth: 200
start: 28000 description: QRS Centre of Activity
end: 28070 frequency: 28055
parts: - band: 10 m
- description: QRS Centre of Activity mode: CW
at: 28055 bandwidth: 200
- description: QRP Centre of Activity description: QRP Centre of Activity
at: 28060 frequency: 28060
- start: 28000 - band: 10 m
end: 28070 mode: CW
bandwidth: 200
frequency: 28000-28070
- band: 10 m - band: 10 m
mode: Narrow band modes mode: Narrow band modes
bandwidth: 500 bandwidth: 500
start: 28070 description: Digimodes
end: 28190 frequency: 28070-28120
parts: - band: 10 m
- description: Digimodes mode: Narrow band modes
start: 28070 bandwidth: 500
end: 28120 description: Digimodes, automatically controlled data stations (unattended)
- description: Digimodes, automatically controlled data stations (unattended) frequency: 28120-28150
start: 28120 - band: 10 m
end: 28150 mode: Narrow band modes
- start: 28150 bandwidth: 500
end: 28190 frequency: 28150-28190
- band: 10 m - band: 10 m
mode: International Beacon Project mode: International Beacon Project
start: 28190 description: Regional time shared beacons, exclusively
end: 28225 frequency: 28190-28199
parts: - band: 10 m
- description: Regional time shared beacons, exclusively mode: International Beacon Project
start: 28190 description: Worldwide time shared beacons, exclusively
end: 28199 frequency: 28199-28201
- description: Worldwide time shared beacons, exclusively - band: 10 m
start: 28199 mode: International Beacon Project
end: 28201 description: Continuous duty beacons, exclusively
- description: Continuous duty beacons, exclusively frequency: 28201-28225
start: 28201
end: 28225
- band: 10 m - band: 10 m
mode: All modes mode: All modes
bandwidth: 2700 bandwidth: 2700
start: 28225 description: Beacons
end: 29000 frequency: 28225-28300
parts: - band: 10 m
- description: Beacons mode: All modes
start: 28225 bandwidth: 2700
end: 28300 description: Digimodes, automatically controlled data stations (unattended)
- description: Digimodes, automatically controlled data stations (unattended) frequency: 28300-28320
start: 28300 - band: 10 m
end: 28320 mode: All modes
- description: Digital Voice Centre of Activity bandwidth: 2700
at: 28330 description: Digital Voice Centre of Activity
- description: QRP Centre of Activity frequency: 28330
at: 28360 - band: 10 m
- description: Image Centre of Activity mode: All modes
at: 28680 bandwidth: 2700
- start: 28320 description: QRP Centre of Activity
end: 29000 frequency: 28360
- band: 10 m
mode: All modes
bandwidth: 2700
description: Image Centre of Activity
frequency: 28680
- band: 10 m
mode: All modes
bandwidth: 2700
frequency: 28320-29000
- band: 10 m - band: 10 m
mode: All modes mode: All modes
bandwidth: (unrestricted) bandwidth: (unrestricted)
start: 29000 frequency: 29000-29100
end: 29300 - band: 10 m
parts: mode: All modes
- start: 29000 bandwidth: (unrestricted)
end: 29100 description: FM simplex - 10 kHz channels
- description: FM simplex - 10 kHz channels frequency: 29100-29200
start: 29100 - band: 10 m
end: 29200 mode: All modes
- description: Digimodes, automatically controlled data stations (unattended) bandwidth: (unrestricted)
start: 29200 description: Digimodes, automatically controlled data stations (unattended)
end: 29300 frequency: 29200-29300
- band: 10 m - band: 10 m
mode: Satellite Links mode: Satellite Links
bandwidth: (unrestricted) bandwidth: (unrestricted)
start: 29300 frequency: 29300-29510
end: 29510
parts:
- start: 29300
end: 29510
- band: 10 m - band: 10 m
mode: Guard Channel mode: Guard Channel
start: 29510 frequency: 29510-29520
end: 29520
parts:
- start: 29510
end: 29520
- band: 10 m - band: 10 m
mode: All modes mode: All modes
bandwidth: 6000 bandwidth: 6000
start: 29520 description: FM Repeater input (RH1-RH8)
end: 29700 frequency: 29520-29590
parts: - band: 10 m
- description: FM Repeater input (RH1-RH8) mode: All modes
start: 29520 bandwidth: 6000
end: 29590 description: FM Calling channel
- description: FM Calling channel frequency: 29600
at: 29600 - band: 10 m
- description: FM Simplex Repeater (parrot, input + output) mode: All modes
at: 29610 bandwidth: 6000
- description: FM Repeater output (RH1-RH8) description: FM Simplex Repeater (parrot, input + output)
start: 29620 frequency: 29610
end: 29700 - band: 10 m
mode: All modes
bandwidth: 6000
description: FM Repeater output (RH1-RH8)
frequency: 29620-29700

View file

@ -16,6 +16,9 @@ body>div {
div#togglebuttons>button { div#togglebuttons>button {
margin: 0 0.1em; margin: 0 0.1em;
} }
div>label {
padding-right: 1em;
}
</style> </style>
</head> </head>
@ -35,6 +38,16 @@ div#togglebuttons>button {
const path = require('https://unpkg.com/path-browserify/index.js'); const path = require('https://unpkg.com/path-browserify/index.js');
document.addEventListener('DOMContentLoaded', () => { document.addEventListener('DOMContentLoaded', () => {
location.search.substr(1).split("&").forEach((param) => {
let p = param.split("=");
let key = p[0];
if (key === "base") {
document.getElementById("base_plan").value = decodeURIComponent(p[1]);
}
if (key === "add") {
document.getElementById("extension_plan").value = decodeURIComponent(p[1]);
}
});
update_plan(); update_plan();
document.getElementById("base_plan").addEventListener("keydown", (event) => { document.getElementById("base_plan").addEventListener("keydown", (event) => {
@ -82,86 +95,86 @@ div#togglebuttons>button {
} }
} }
function update_table(bands, additions) { function update_table(bases, extensions) {
var tdata = []; var tdata = [];
var base_header = {}; var base_header = {};
var add_header = {}; var ext_header = {};
// first, fill base_header // first, fill base_header
bands.forEach((band) => { bases.forEach((base) => {
if ((typeof band.header !== "undefined") && band.header) { if ((typeof base.header !== "undefined") && base.header) {
base_header = structuredClone(band); base_header = structuredClone(base);
} }
}); });
// then fill tdata // then fill tdata
bands.forEach((band) => { bases.forEach((base) => {
if ((typeof band.header === "undefined") || (band.header == false)) { if ((typeof base.header === "undefined") || (base.header == false)) {
band.parts.forEach((part) => { let p = {};
let p = {};
base_header.columns.forEach((col) => {
if (base_header.part_columns.includes(col)) {
p[col] = part[col];
} else {
p[col] = band[col];
}
});
p["frequency"] = typeof part.at !== "undefined" ? part.at : part.start + '\u2013' + part.end;
// first, fill add_header // first, fill ext_header
additions.forEach((add) => { extensions.forEach((ext) => {
if ((typeof add.header !== "undefined") && add.header) { if ((typeof ext.header !== "undefined") && ext.header) {
add_header = structuredClone(add); ext_header = structuredClone(ext);
} }
}); });
// then fill tdata // then fill tdata
let parts_already_added = false; let already_added = false;
additions.forEach((add) => { extensions.forEach((ext) => {
if ((typeof add.header === "undefined") || (add.header == false)) { if ((typeof ext.header === "undefined") || (ext.header == false)) {
if (typeof part.at !== "undefined") { base_header.columns.forEach((col) => {
if (isInRange(part.at, add.start, add.end)) { if (base_header.columns.includes(col)) {
// at single frequency p[col] = base[col];
add_power(add, p); }
} });
let [ext_start, ext_end] = ext.frequency.split('-');
if (typeof base.frequency === "number") {
// at single frequency
if (isInRange(base.frequency, ext_start, ext_end)) {
add_power(ext, p);
} else { } else {
// frequeny range return;
if ((add.start == part.start) && (add.end == part.end)) { }
// ranges are the same } else {
add_power(add, p); // frequeny range
} else if (isInRange(part.start, add.start, add.end) && isInRange(part.end, add.start, add.end)) { let [base_start, base_end] = base.frequency.split('-');
// range of part is inside of range of add if ((ext_start == base_start) && (ext_end == base_end)) {
add_power(add, p); // ranges are the same
} else { add_power(ext, p);
// part range is split by add range } else if (isInRange(base_start, ext_start, ext_end) && isInRange(base_end, ext_start, ext_end)) {
if (isInRange(add.start, part.start, part.end)) { // base range is inside of ext range
// part range starts below add range add_power(ext, p);
let p_clone = structuredClone(p); } else {
let start = add.start; // base range is split by ext range
let end = part.end < add.end ? part.end : add.end; if (isInRange(ext_start, base_start, base_end)) {
p_clone["frequency"] = start + '\u2013' + end; // base range starts below ext range
add_power(add, p_clone); let q = structuredClone(p);
tdata.push(p_clone); let start = ext_start;
parts_already_added = true; let end = base_end < ext_end ? base_end : ext_end;
} else if (isInRange(add.end, part.start, part.end)) { q["frequency"] = start + '-' + end;
// add range starts below part range add_power(ext, q);
let p_clone = structuredClone(p); tdata.push(q);
let start = part.start; already_added = true;
let end = add.end; } else if (isInRange(ext_end, base_start, base_end)) {
p_clone["frequency"] = start + '\u2013' + end; // ext range starts below base range
add_power(add, p_clone); let q = structuredClone(p);
tdata.push(p_clone); let start = base_start;
parts_already_added = true; let end = ext_end;
} q["frequency"] = start + '-' + end;
add_power(ext, q);
tdata.push(q);
already_added = true;
} }
} }
} }
});
if (!parts_already_added) {
tdata.push(p);
} }
parts_already_added = false;
}); });
if (!already_added) {
tdata.push(p);
}
already_added = false;
} }
}); });
@ -194,8 +207,8 @@ div#togglebuttons>button {
if (typeof base_header.titles[column.field] !== "undefined") { if (typeof base_header.titles[column.field] !== "undefined") {
column.title = base_header.titles[column.field]; column.title = base_header.titles[column.field];
} }
if (typeof add_header.titles[column.field] !== "undefined") { if (typeof ext_header.titles[column.field] !== "undefined") {
column.title = add_header.titles[column.field]; column.title = ext_header.titles[column.field];
} }
}); });
@ -234,7 +247,7 @@ div#togglebuttons>button {
function update_plan() { function update_plan() {
Promise.all([ Promise.all([
fetch(document.getElementById('base_plan').value, { mode: 'cors' }), fetch(document.getElementById('base_plan').value, { mode: 'cors' }),
fetch(document.getElementById('additions_plan').value, { mode: 'cors' }), fetch(document.getElementById('extension_plan').value, { mode: 'cors' }),
]).then((res) => { ]).then((res) => {
res.forEach((r) => { res.forEach((r) => {
if (!r.ok) { if (!r.ok) {
@ -267,16 +280,13 @@ div#togglebuttons>button {
} }
</script> </script>
<div> <div>
<label>Base Plan: <label>Base Plan:
<input name="plan" id="base_plan" type="text" value="band-plan-iaru_r1_hf.yml"> <input name="plan" id="base_plan" type="text" value="band-plan-iaru_r1_hf.yml">
</label> </label>
<button onclick="update_plan()">Change plan</button> <label>Extension:
</div> <input name="plan" id="extension_plan" type="text" value="band-plan-de.yml">
<div> </label>
<label>Additions: <button onclick="update_plan()">Change plans</button>
<input name="plan" id="additions_plan" type="text" value="band-plan-de.yml">
</label>
<button onclick="update_plan()">Change plan</button>
</div> </div>
<div id="togglebuttons"></div> <div id="togglebuttons"></div>
<div> <div>