projecthorus / sondehub-infra

GNU General Public License v3.0
26 stars 4 forks source link

Put mandatory fields up front in CSV output #110

Closed darksidelemm closed 1 year ago

darksidelemm commented 1 year ago

Currently the CSV field names are produced in a random order (except for datetime which is up front). We should probably put the mandatory fields (callsign, lat, lon, alt) at the start of the field list so at least they are somewhat consistent. Everything else can come after that.

Code where datetime is moved to the front is here: https://github.com/projecthorus/sondehub-infra/blob/main/lambda/query_ham/__init__.py#L375 Should be a case of doing the same for callsign, lat, lon, alt.

TheSkorm commented 1 year ago

I think this is done?