Skip to content

About

CSV templates and checkers for moving your fleet, parts, crew and flight logs into RotorLab.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

RotorLab import templates: bring your fleet, parts and crew into RotorLab with files that pass the importer's own rules before you upload.

RotorLab import templates

Move your fleet register, parts and crew into RotorLab in an afternoon, with every file checked against the importer's own rules before you upload it.

  • Templates that match the importer exactly. Every column, limit and format is the one RotorLab enforces today, with two fictional example rows each.
  • A checker that speaks the importer's language. Line-numbered messages, worded the way RotorLab's own preview words them.
  • Your spreadsheet, mapped, not retyped. Point a mapping file at your export's column names and convert.
  • Nothing changes behind your back. The tools refuse with a message and never fix a value silently, the same rule RotorLab follows.
  • Flight history as the logs themselves. ArduPilot, PX4, DJI, Parrot, Betaflight and more go in by bulk upload, no CSV needed.

Version 1.0.0 License: Apache 2.0 Python 3.8+ Dependencies: none

Start the five-minute path · Column reference · Plans and pricing · Talk to sales · RotorLab docs

It is for the person setting up an organization in RotorLab: a fleet manager, a chief pilot, an operations or maintenance lead, or whoever keeps the spreadsheet today.

RotorLab records, reminds and reports what your records show. It never authorizes a flight, and a clean import is not an approval of anything.

How it fits together

flowchart LR
    A["Your spreadsheet<br/>or old system's export"] -->|"convert_columns.py<br/>+ your mapping file"| B["RotorLab template<br/>columns"]
    T["templates/*.csv<br/>filled in by hand"] --> B
    B -->|"check_csv.py"| C{"Any ERROR?"}
    C -->|"yes: fix the value"| B
    C -->|"no"| D["Upload in RotorLab<br/>Preview, then Import"]
    L["Native flight logs<br/>.bin .ulg .tlog .txt .json .bbl .csv"] -->|"File Flights,<br/>Import history"| E["Flights filed as history"]
    D --> F["Aircraft, parts and crew<br/>on the register"]
Loading

What is in it

Template What it brings in Where it goes in RotorLab
templates/aircraft.csv Your aircraft register Aircraft, the More ways menu beside Register an aircraft, Import from a spreadsheet (the sheet titled Import from CSV), What: Aircraft
templates/components.csv Parts with the hours and flights already run, and their life limits Same sheet, What: Components (parts with hours)
templates/people.csv Crew invitations by email Same sheet, What: People (crew invites)
templates/members.csv A roster with a role and a group for each person Organization, People, Invite many (opens Invite many at once under Invite a member)

The spreadsheet importers are part of the Fleet Manager add-on. Check your plan on the pricing page or ask us. This covers the Aircraft, Components and People imports; inviting a member list does not need it.

Each template has a header row and two clearly fictional example rows. Each .md file beside it says, column by column, what is required, the format, and what the importer refuses.

Tool What it does
tools/check_csv.py Checks a file against the importer's rules and prints line-numbered messages. It never changes your file.
tools/convert_columns.py Renames and reorders the columns of your own spreadsheet export into a template's columns, from a mapping file you edit. Values are copied exactly as they are.

Both need Python 3.8 or later and nothing else.

The five-minute path

You need Python 3.8 or later, a spreadsheet program, and an organization admin sign-in.

  1. Download this repository (the green Code button, then Download ZIP) and unzip it.

  2. Fill in templates/aircraft.csv. Replace the two example rows with your own aircraft. Only name is required. Save as CSV UTF-8. templates/aircraft.md explains each column.

  3. Check it before you upload:

    python tools/check_csv.py --kind aircraft templates/aircraft.csv
    

    On the template as shipped it prints:

    templates/aircraft.csv: OK, no errors
    

    Fix every line marked ERROR. A NOTE is a row RotorLab will skip, or something worth a second look. The checker never changes your file. The same command works in Git Bash, macOS and Linux terminals and Windows PowerShell; on Windows, py works where python is not on the path.

  4. Preview it in RotorLab. Open Aircraft, open More ways beside Register an aircraft, and choose Import from a spreadsheet. Under What choose Aircraft, choose your file, and press Preview. Each row says what will happen to it. Nothing is written until you press Import.

  5. Import, then repeat for components (after their aircraft are on the register) and crew. Importing the same file twice is safe: existing records are skipped, never overwritten.

  6. Bring your flight logs as the original files, not a spreadsheet: see "Flight logs" below. Hours, flights and battery cycles then come from the logs as recorded.

Stuck, or moving a larger operation? Talk to us. Step-by-step help is in the RotorLab docs.

What it looks like in RotorLab

Screenshots from RotorLab with fictional demo data, in your GitHub theme.

1. Aircraft, More ways, Import from a spreadsheet.

The top of the RotorLab Aircraft page for the demo organization Demo Air Ops, with the More ways menu open beside Register an aircraft, showing Import from a spreadsheet and Import registration certificates.

2. The Import from CSV sheet, after Preview. Each row says what importing will do. Nothing is written yet.

The Import from CSV sheet with What set to Aircraft and the aircraft template pasted in. The preview lists line 2, Example Survey 1, and line 3, Example Mapper 2, both will create, and says 2 to create, 0 to skip, 0 refused, nothing written yet.

3. After Import. The same rows, now created.

The Import from CSV sheet after Import: line 2, Example Survey 1, and line 3, Example Mapper 2, both created, with the summary 2 created, 0 skipped, 0 refused.

4. Organization, People, Invite many. The member list template pasted into Invite many at once, after Preview.

Invite many at once, open under Invite a member. The members template is pasted in, and the preview lists pilot.three@example.org, Example Pilot Three, role Pilot, and tech.four@example.org, Example Technician Four, role Maintenance, both will be invited, 2 to invite.

Already have a spreadsheet?

Map its columns instead of retyping. Copy a file from tools/mappings/, put your own column names in source_column, and run the converter. This walkthrough uses the fictional export and mapping in docs/examples/, so you can run it as shown:

$ python tools/convert_columns.py --kind aircraft --mapping docs/examples/aircraft-mapping.csv --out aircraft-for-rotorlab.csv docs/examples/spreadsheet-export.csv
Wrote aircraft-for-rotorlab.csv. Checking it:
aircraft-for-rotorlab.csv line 3: ERROR: unknown status 'Parked' (use active, maintenance or retired)
aircraft-for-rotorlab.csv: 1 error: fix them in your export or in this file, then check again

The converter only renames and reorders columns. It never changes a value: a status of Parked stays Parked, and the check it runs on its output tells you RotorLab would refuse it. Fix the value in your export and convert again. The export's Purchase Date column is not in the mapping, so it is left out.

Here is the checker on a file with three mistakes in one row (docs/examples/aircraft-with-mistakes.csv):

$ python tools/check_csv.py --kind aircraft docs/examples/aircraft-with-mistakes.csv
docs/examples/aircraft-with-mistakes.csv line 2: ERROR: unknown status 'parked' (use active, maintenance or retired)
docs/examples/aircraft-with-mistakes.csv line 2: ERROR: unknown airframe_type 'quad_x' (see templates/aircraft.md for the list)
docs/examples/aircraft-with-mistakes.csv line 2: ERROR: Registration may hold letters, digits, spaces, hyphens, periods and slashes only, like FA3A1B2C3D, N123AB, C-FABC or G-ABCD (# is not allowed in "DEMO#05")
docs/examples/aircraft-with-mistakes.csv: 3 errors

And components, checked against the aircraft file they name:

$ python tools/check_csv.py --kind components templates/components.csv --aircraft-file templates/aircraft.csv
templates/components.csv: OK, no errors

The exit status is 0 with no errors and 1 with any, so the checker fits in a script.

Flight logs: no CSV needed

Historic flying goes in as the logs themselves, not as a spreadsheet. RotorLab reads the native files, so hours, flights and battery cycles come from the logs as recorded.

In RotorLab, open File Flights and choose Import history, then Import flight history. Choose a zip of logs, a folder, or many files: up to 5,000 logs in one import, a zip up to 512 MB. The logs are read in the background, you assign aircraft and pilots in bulk (rules can do it for you, and a folder per pilot can name the pilot), and then you file them. Imported flights are filed as history, without a notice or email for each one.

RotorLab reads:

  • ArduPilot dataflash logs (.bin, and their .log text export)
  • MAVLink telemetry logs (.tlog)
  • PX4 ULog (.ulg)
  • DJI flight records (.txt)
  • Parrot FreeFlight and GUTMA flight logs (.json)
  • Betaflight and INAV Blackbox logs (.bbl)
  • Flight-log CSV exports from Litchi, Airdata, Skydio Cloud, DJI GO and DatCon/CsvView

Current DJI flight records are encrypted by DJI. RotorLab reads them only after an organization admin turns on DJI log reading (Organization, Data and privacy, Outside services), because reading one sends its key identifiers to DJI. Until then the flight is still filed, with its record kept, and the record is read once DJI log reading is on. Turn it on before you upload a DJI history.

The full list and what each format carries is on the supported log formats page. A file in any other format is counted as one that could not be read, and the rest of the import goes on.

Not covered here

  • A flight logbook spreadsheet. RotorLab has no importer for a table of past flights (date, duration, pilot) without the logs, so there is no template for one. Bring the logs themselves, as above.
  • Converters for another product's export. The converter here works from a mapping you write. It does not claim to understand any other product's export format.

Guides

Guide What it covers
Column reference Every column of every template on one page, with links to the details
Troubleshooting Each message the checker and the importer print, what it means and the fix
FAQ Order of imports, re-importing, plans, privacy, what is not covered
Security model What the scripts read and write, and how to report a problem

Limits at a glance

Limit Value
Aircraft, Components and People file size 2 MB
People in one member list 500
Flight logs in one history import 5,000
One zip of flight logs 512 MB
Python for the tools 3.8 or later, standard library only

Tested on

Release 1.0.0 was checked on 2026-11-15 on Windows 11 with Python 3.14, and its scripts and tests are parsed against the Python 3.8 grammar. Every example row in templates/ was imported through RotorLab's own import endpoints on a local RotorLab built from current source, and read back from the register; the screenshots above were taken on that same build. Every command in this README was run as shown, with the output printed beside it, and the tests check that the walkthrough output above still matches. The offline tests also print the tools' own lines for the files they try; the summary ends:

$ python -m unittest discover -s tests
.................................................
----------------------------------------------------------------------
Ran 49 tests in 0.1s

OK

Help


RotorLab · Pricing · Talk to sales · Docs · Support · Security
RotorLab, Inc., Dubuque, Iowa · Licensed under the Apache License 2.0 · RotorLab is a trademark of RotorLab, Inc. (see NOTICE)
The templates and scripts are free to use and change. RotorLab itself is a separate, closed-source service.

About

CSV templates and checkers for moving your fleet, parts, crew and flight logs into RotorLab.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages