Closed alexdewar closed 8 months ago
Email from FAAM (Subject: Re: Aircraft network protocol etc, Date: Fri, 05 Jan 2024 14:08:56) containing documentation on DECADES API (decades.pdf), along with a link to download a docker environment for testing.
@jonemurray , can you provide a list of sensors you want readings for?
That's a good question, I don't know all the core data that are available through DECADES, definitely the outside air temperature, pressure, altitude. As Dan has downloaded the simulator maybe we could look at the data together and I can make some suggestions. It's useful for real-time checks, in-flight, these are level-0 data, after the flight these data are quality checked and level-1 version is released. So we may just want to display some of this real-time but not neccessarily store the data.
Thanks for your response @jonemurray
We can query the DECADES database with GET /decades/basic_data
, which returns the following:
This list seems like it contains the core parameter we'd want to make use of (bold indicates those you suggested above, as well as UTC time which we will also want).
We can also query the DECADES database with GET /decades/params
which returns > 150 parameters, which I won't list here, but we can perhaps look through together soon to decide if you also want any of these.
Hi @dc2917. Could you post a link to the doc/pdf here, please?
EDIT: actually I think I have it. On the shared drive.
So the whole decades API should be exposed as a single 'device', similar to the opus web scraper, rather than multiple 'pseudo-devices' for each variable. Should split this into two issues -- one for the backend (API querying) and one for the frontend (GUI, file writer, etcetera).
I've identified a serial to ethernet converter for UNIRAS, see link to the manual below. It's similar to the startech device FINESSE uses, but with the ethernet link. There is also a USB connector, which might be useful as the K107usb seneca device uses this. I'm not sure if the usb is configured for access this way.
I'd appreciate any thoughts you might have, before I purchase.
It looks like it would do the job, but some things worth noting:
Hi James,
Good points, as you’ll have seen I’ve passed these on to the supplier. Let’s see what comes back.
The usb port is a bonus, not absolutely required but very nice if we can make use of it.
Cheers, Jon.
From: James Paul Turner @.> Sent: Friday, March 1, 2024 11:13 AM To: ImperialCollegeLondon/FINESSE @.> Cc: Murray, Jonathan E @.>; Mention @.> Subject: Re: [ImperialCollegeLondon/FINESSE] Add support for interfacing with aircraft sensors over LAN (Issue #325)
This email from @.*** originates from outside Imperial. Do not click on links and attachments unless you recognise the sender. If you trust the sender, add them to your safe senders listhttps://spam.ic.ac.uk/SpamConsole/Senders.aspx to disable email stamping for this address.
It looks like it would do the job, but some things worth noting:
— Reply to this email directly, view it on GitHubhttps://github.com/ImperialCollegeLondon/FINESSE/issues/325#issuecomment-1972996716, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A32RD2NTCIZASR52W3UC6DTYWBPDRAVCNFSM6AAAAAA5O7Y7WGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZSHE4TMNZRGY. You are receiving this because you were mentioned.Message ID: @.***>
After speaking to FAAM, it transpires that they have a RESTful API for accessing aircraft sensors in real time (their system is called DECADES). Apparently there is a new MQTT-based system in the works (DECADES-2), but it won't be operational until the end of 2025, so it won't be useful to us for now.
They stressed that this data should not be used for data analysis as it is of relatively low quality: the temporal resolution is only ~1s and there are no corrections applied. They say they can provide higher quality data (in netCDF format, IIRC) post flight. The lower quality data should still be good enough for our purposes: we just need to show it in the GUI as a guide to the user about what's going on.
It's debatable whether this data should be included in the CSV files at all, though if it is we should probably flag up that it's of low quality (maybe include "don't use" in the header name or something).
FAAM have a website for this, but there doesn't seem to be much useful documentation for us: https://www.faam.ac.uk/data-centre/live-data/
I've marked this as "Needs info" because we're still waiting to hear from FAAM about the details of their API. They also indicated that they should be able to provide us with an emulator (either on the web or as a Python script), which is probably necessary for us to be able to implement this feature.