contrailcirrus / pycontrails

Python library for modeling contrails and other aviation climate impacts
https://py.contrails.org/
Apache License 2.0
59 stars 18 forks source link

add validation handler and deps #269

Open nickmasson opened 1 week ago

nickmasson commented 1 week ago

Changes

Features

Adds a ValidateTrajectoryHandler to pycontrails.datalib.spire.

The handler takes a pandas dataframe, where each row represents a single flight instance trajectory waypoint.

Certain columns are required (ValidateTrajectoryHandler.SCHEMA) beyond what is required in e.g. a Flight instance (pycontrails.core.flight), as those additional columns are used in the validation ruleset that evaluates the trajectory.

TODO

Tests