Navigation data functions for ATIS and other
Navigation data functions for ATIS and other
Hi there,
I have started on an instrument getting navigation data using the API functions nav_get() and nav_get_nearest(). My main question is: where do the data come from? I have a pretty recent AIRAC cycle, but do not get fully correct ATIS frequencies from the navigation data functions.
I managed to retrieve airport location, ICAO name, runways and so on for the airports withing e.g. 20 nm of my aircraft position.
I have trouble with the ATIS frequency, however. I get only 2 decimals, not 3 which is needed for many airports. I tried Augsburg and Luxembourg for example (EDMA and ELLX). EDMA has ATIS 119.665, the navigation data functions give me 119.65.
Only if I transmit the full aaa.bbb frequency into the dataref for COM1, I hear the voice of the ATIS station.
I am using X-Plane here. There is a dataref sim/cockpit2/radios/actuators/com1_standby_frequency_hz_833 which would work OK. But I need the correct frequency.
I see, many aircrafts can adjust frequencies in 25 kHz steps only, not 8.33 kHz, which would be needed. However, if the aircraft has a RADNAV page on the flight computer, I can set the correct frequency. And likewise with the _hz_833_ datarefs I guess (I have not fully tested yet).
What can I do to get (8.33 kHz resolution) frequencies or somehow work arround that?
I am grateful for any help.
Thanks
Detlef
I have started on an instrument getting navigation data using the API functions nav_get() and nav_get_nearest(). My main question is: where do the data come from? I have a pretty recent AIRAC cycle, but do not get fully correct ATIS frequencies from the navigation data functions.
I managed to retrieve airport location, ICAO name, runways and so on for the airports withing e.g. 20 nm of my aircraft position.
I have trouble with the ATIS frequency, however. I get only 2 decimals, not 3 which is needed for many airports. I tried Augsburg and Luxembourg for example (EDMA and ELLX). EDMA has ATIS 119.665, the navigation data functions give me 119.65.
Only if I transmit the full aaa.bbb frequency into the dataref for COM1, I hear the voice of the ATIS station.
I am using X-Plane here. There is a dataref sim/cockpit2/radios/actuators/com1_standby_frequency_hz_833 which would work OK. But I need the correct frequency.
I see, many aircrafts can adjust frequencies in 25 kHz steps only, not 8.33 kHz, which would be needed. However, if the aircraft has a RADNAV page on the flight computer, I can set the correct frequency. And likewise with the _hz_833_ datarefs I guess (I have not fully tested yet).
What can I do to get (8.33 kHz resolution) frequencies or somehow work arround that?
I am grateful for any help.
Thanks
Detlef
Re: Navigation data functions for ATIS and other
833 kHz frequencies work fine on my PC.
The database we use is a bit old, about a year or more. We'll introduce an option to update later on.
The database we use is a bit old, about a year or more. We'll introduce an option to update later on.
- Keith Baxter
- Posts: 4685
- Joined: Wed Dec 20, 2017 11:00 am
- Location: Botswana
Re: Navigation data functions for ATIS and other
Hi,
You can use your own data.
Do you have a navigraph subscription??
Keith
You can use your own data.
Do you have a navigraph subscription??
Keith
AMD RYZEN 9 5950X CPU, Corsair H80I cooler, ASUS TUF GAMING B550-PLUS AMD Ryzen Mother Board, 32Gb ram Corsair Vengeance 3000Mh, MSI GTX960 4G graphics card
Re: Navigation data functions for ATIS and other
@Ralph,
for me the ATIS frequencies come out like this:
-- 2021-06-14 18:25:32 INFO SiRunner - Generic - Utility2: EDMA has ATIS 119.65 (should be 119.665)
-- 2021-06-14 18:25:32 INFO SiRunner - Generic - Utility2: ELLX has ATIS 134.75 (should be 134.755)
-- 2021-06-14 18:25:32 INFO SiRunner - Generic - Utility2: EGLC has ATIS 136.35 (is fine)
I made an instrument for debugging. It just writes to the log file and instrument console.
@Keith,
I take a monthly subscription from time to time. My AIRAC cycle is 2102 from February this year. But even one year old data should be fine. It must be something else.
Thank you
Detlef
for me the ATIS frequencies come out like this:
-- 2021-06-14 18:25:32 INFO SiRunner - Generic - Utility2: EDMA has ATIS 119.65 (should be 119.665)
-- 2021-06-14 18:25:32 INFO SiRunner - Generic - Utility2: ELLX has ATIS 134.75 (should be 134.755)
-- 2021-06-14 18:25:32 INFO SiRunner - Generic - Utility2: EGLC has ATIS 136.35 (is fine)
I made an instrument for debugging. It just writes to the log file and instrument console.
@Keith,
I take a monthly subscription from time to time. My AIRAC cycle is 2102 from February this year. But even one year old data should be fine. It must be something else.
Thank you
Detlef
- Keith Baxter
- Posts: 4685
- Joined: Wed Dec 20, 2017 11:00 am
- Location: Botswana
Re: Navigation data functions for ATIS and other
Detlef,Detlef wrote: ↑Mon Jun 14, 2021 4:43 pm @Ralph,
for me the ATIS frequencies come out like this:
-- 2021-06-14 18:25:32 INFO SiRunner - Generic - Utility2: EDMA has ATIS 119.65 (should be 119.665)
@Keith,
I take a monthly subscription from time to time. My AIRAC cycle is 2102 from February this year. But even one year old data should be fine. It must be something else.
Thank you
Detlef
You are correct. The data is missing the third decimal. @Ralph will have to look at rectifying that.
What I am trying to say is. There is a way to use the latest ARIC. This can be done and I can show you how...
This is the data that is available for Augsburg for example.
Code: Select all
{
"file_id": 1,
"ident": "EDMA",
"name": "Augsburg",
"city": null,
"state": null,
"country": "EUR",
"region": "ED",
"fuel_flags": 0,
"has_avgas": 0,
"has_jetfuel": 0,
"has_tower_object": 0,
"tower_frequency": 124970,
"atis_frequency": 119650,
"awos_frequency": null,
"asos_frequency": null,
"unicom_frequency": null,
"is_closed": 0,
"is_military": 0,
"is_addon": 0,
"num_boundary_fence": 0,
"num_com": 3,
"num_parking_gate": 0,
"num_parking_ga_ramp": 0,
"num_parking_cargo": 0,
"num_parking_mil_cargo": 0,
"num_parking_mil_combat": 0,
"num_approach": 3,
"num_runway_hard": 1,
"num_runway_soft": 0,
"num_runway_water": 0,
"num_runway_light": 0,
"num_runway_end_closed": 0,
"num_runway_end_vasi": 0,
"num_runway_end_als": 0,
"num_runway_end_ils": 1,
"num_apron": 0,
"num_taxi_path": 0,
"num_helipad": 0,
"num_jetway": 0,
"num_starts": 0,
"longest_runway_length": 5230,
"longest_runway_width": 98,
"longest_runway_heading": 71.379997253417969,
"longest_runway_surface": null,
"num_runways": 1,
"largest_parking_ramp": null,
"largest_parking_gate": null,
"rating": 1,
"is_3d": 0,
"scenery_local_path": null,
"bgl_filename": null,
"left_lonx": 10.923549652099609,
"top_laty": 48.427047729492188,
"right_lonx": 10.93993091583252,
"bottom_laty": 48.423385620117188,
"mag_var": 2.7447118759155273,
"tower_altitude": null,
"tower_lonx": null,
"tower_laty": null,
"transition_altitude": 5000,
"altitude": 1515,
"lonx": 10.931763648986816,
"laty": 48.425159454345703
},
AMD RYZEN 9 5950X CPU, Corsair H80I cooler, ASUS TUF GAMING B550-PLUS AMD Ryzen Mother Board, 32Gb ram Corsair Vengeance 3000Mh, MSI GTX960 4G graphics card
Re: Navigation data functions for ATIS and other
Ah, I thought you meant the data from X-Plane. The raw data we have has no 3 digits. You would have to update, but like I said, that's not yet possible.
Re: Navigation data functions for ATIS and other
Hello Keith,
thank you. I'd be interested to learn how I can use my AIRAC cycle data then. BTW, the data above still have the wrong ATIS frequency for Augsburg
Detlef
thank you. I'd be interested to learn how I can use my AIRAC cycle data then. BTW, the data above still have the wrong ATIS frequency for Augsburg
Detlef
- Keith Baxter
- Posts: 4685
- Joined: Wed Dec 20, 2017 11:00 am
- Location: Botswana
Re: Navigation data functions for ATIS and other
Detlef,
I see that LNM that is using ARIC 2102 has the frequency as 119.650. So not sure what to say.
Going to update to AIRAC 2105 and will revert.
Keith
EDIT: Even AIRAC 2105 has the freq as 119.650
AMD RYZEN 9 5950X CPU, Corsair H80I cooler, ASUS TUF GAMING B550-PLUS AMD Ryzen Mother Board, 32Gb ram Corsair Vengeance 3000Mh, MSI GTX960 4G graphics card
Re: Navigation data functions for ATIS and other
Hi Keith,
my LNM says this:
I am a little lost
Detlef
my LNM says this:
I am a little lost
Detlef
Re: Navigation data functions for ATIS and other
looking closely, I guess my X-Plane is on old data...
While LNM has the 2102 cycle
While LNM has the 2102 cycle