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

Fixes #947- Update vATIS profiles #968

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open
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
1 change: 1 addition & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Changes from release 2025/01 to 2025/02
1. Enhancement - Added Ronaldsway (EGNS) settings and displays - thanks to @SamLefevre (Samuel Lefevre)
2. Enhancement - Updated vATIS profiles - thanks to @BenWalker01 (Ben Walker)

# Changes from release 2024/13 to 2025/01
1. Enhancement - Added SRD search dialog to startup lists - thanks to @kristiankunc (Kristián Kunc)
Expand Down
51 changes: 51 additions & 0 deletions .github/workflows/vATIS-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Updates Id and name of profiles
#
# Triggered by:
# PR to main

name: Update vATIS Serial

on:
pull_request:
branches: ["main"]
paths: ["_vATIS/**"]

jobs:
update:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: Get list of changed files
id: changed_files
run: |
git fetch origin main
git checkout ${{ github.head_ref }}
git diff --name-only origin/main...HEAD > changed_files.txt
cat changed_files.txt

- name: Run update script
id: update
run: |
changed_files=$(cat changed_files.txt | grep '^_vATIS/.*\.json$' | tr '\n' ' ')
if [ -n "$changed_files" ]; then
python workflows/vATIS/update.py $changed_files
fi

- name: Commit and push changes
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
rm changed_files.txt
git add .
git commit -m 'Update profiles'
git push
168 changes: 3 additions & 165 deletions UK/vATIS/ADC/Aberdeen(EGPD).json
Original file line number Diff line number Diff line change
@@ -1,168 +1,6 @@
{
"Name": "Aberdeen",
"Composites": [
{
"Name": "Aberdeen",
"Identifier": "EGPD",
"contractions": [
{
"String": "LVPS",
"Spoken": "L V PEES"
},
{
"String": "LOGON",
"Spoken": "LOG ON"
},
{
"String": "EGPD",
"Spoken": "ECHO GOLF PAPA DELTA"
}
],
"AtisFrequency": 21855,
"ObservationTime": {
"Enabled": false,
"Time": 0
},
"MagneticVariation": {
"Enabled": false,
"MagneticDegrees": 0
},
"AtisVoice": {
"UseTextToSpeech": true,
"Voice": "UK Male"
},
"IDSEndpoint": null,
"useNotamPrefix": false,
"useDecimalTerminology": true,
"Presets": [
{
"Name": "34",
"AirportConditions": null,
"Notams": null,
"ArbitraryText": null,
"Template": "ABERDEEN INFORMATION [ATIS_CODE], TIME [TIME] RUNWAY IN USE 34.[TL] [WX]. [ARPT_COND] [NOTAMS] ACKNOWLEDGE RECEIPT OF INFORMATION [ATIS_CODE] AND ADVISE AIRCRAFT TYPE ON FIRST CONTACT."
},
{
"Name": "16",
"AirportConditions": null,
"Notams": null,
"ArbitraryText": null,
"Template": "ABERDEEN INFORMATION [ATIS_CODE], TIME [TIME] RUNWAY IN USE 16.[TL] [WX]. [ARPT_COND] [NOTAMS] ACKNOWLEDGE RECEIPT OF INFORMATION [ATIS_CODE] AND ADVISE AIRCRAFT TYPE ON FIRST CONTACT."
}
],
"AirportConditionDefinitions": [
{
"Ordinal": 1,
"Text": "LVPS IN FORCE. PILOTS ARE REMINDED THAT USE OF THE CAT 3 HOLDING POINTS IS MANDATORY",
"Enabled": false
},
{
"Ordinal": 2,
"Text": "INCREASED BIRD ACTIVITY WITHIN THE AERODROME BOUNDARY.",
"Enabled": false
},
{
"Ordinal": 3,
"Text": "LARGE FLOCKS OF BIRDS HAVE BEEN OBSERVED WITHIN THE VICINITY OF THE AERODROME.",
"Enabled": false
},
{
"Ordinal": 4,
"Text": "TURBULENCE MAY BE ENCOUNTERED IN THE FINAL STAGES OF THE APPROACH.",
"Enabled": false
},
{
"Ordinal": 5,
"Text": "WINDSHEAR REPORTED.",
"Enabled": false
},
{
"Ordinal": 6,
"Text": "BE ADVISED MODERATE MICRO-BURST FORECAST.",
"Enabled": false
},
{
"Ordinal": 7,
"Text": "PILOTS ARE REMINDED TO USE MINIMUM RUNWAY OCCUPANCY.",
"Enabled": false
},
{
"Ordinal": 8,
"Text": "FOR CLEARANCE CONTACT GROUND ON 121.705.",
"Enabled": false
},
{
"Ordinal": 9,
"Text": "GROUND IS CLOSED, ATC CONTINUES WITH TOWER ON 118.105.",
"Enabled": false
},
{
"Ordinal": 10,
"Text": "DATA-LINK CLEARANCES ARE AVAILABLE, LOGON EGPD.",
"Enabled": false
},
{
"Ordinal": 11,
"Text": "PILOTS THAT ARE IN RECEIPT OF DATA-LINK CLEARANCES ARE REMINDED THAT THEY MUST CONTACT GROUND ON 121.705 WHEN READY FOR START.",
"Enabled": false
}
],
"notamDefinitions": [],
"atisFormat": {
"altimeter": {
"pronounceDecimal": false,
"template": {
"text": "QNH {altimeter} ({altimeter|text})",
"voice": "QNH {altimeter}"
}
},
"transitionLevel": {
"values": [
{
"low": 940,
"high": 958,
"altitude": 90
},
{
"low": 959,
"high": 976,
"altitude": 85
},
{
"low": 977,
"high": 994,
"altitude": 80
},
{
"low": 995,
"high": 1012,
"altitude": 75
},
{
"low": 1013,
"high": 1031,
"altitude": 70
},
{
"low": 1032,
"high": 1049,
"altitude": 65
},
{
"low": 1050,
"high": 1060,
"altitude": 60
}
],
"template": {
"text": "TRANSITION LEVEL {trl}",
"voice": "TRANSITION LEVEL {trl}"
}
},
"closingStatement": {
"autoIncludeClosingStatement": false
}
}
}
]
"updateUrl": "https://raw.githubusercontent.com/VATSIM-UK/uk-controller-pack/refs/heads/main/_vATIS/Aberdeen(EGPD).json",
"updateSerial": 1970010100,
"stations": []
}
Loading
Loading