Skip to content

v0.54.7

Latest
Compare
Choose a tag to compare
@zebengberg zebengberg released this 19 Feb 05:19
· 12 commits to main since this release

Features

  • Add helper classmethods to Model, Cocip, and CocipGrid for generating lists of required variables from specific data sources.
  • Add a ValidateTrajectoryHandler to the spire module to validate spire ADS-B data. This work is experimental and will be improved in future releases.
  • Update Unterstrasser (2016)'s parameterised model of the contrail ice crystal survival fraction to the latest version (Lottermoser & Unterstrasser, 2025). This update:
    • improves the goodness of fit between the parameterised model and LES, and
    • expands the parameter space for application to very low and very high nvPM inputs, different fuel types (where the EI H2Os are different), and higher ambient temperatures (up to 235 K) to accommodate for contrails formed by liquid hydrogen aircraft.

Breaking changes

  • The MetDataset.standardize_variables method now returns a new MetDataset rather than modifying the existing dataset in place. To retain the previous behavior, use MetDataset.standardize_variables(..., inplace=True).

Fixes

  • Change naming convention for eastward and northward wind fields in AircraftPerformance models for consistency with the Cocip and DryAdvection models. Fields on the source are now named u_wind and v_wind instead of eastward_wind and northward_wind. Under some paths of computation, this avoids a redundant interpolation.
  • Fix the AircraftPerformance.ensure_true_airspeed_on_source method in the case when the met attr is None and the fill_with_groundspeed parameter is enabled.

Internals

  • Make pycontrails compatible with pandas 2.0 and pandas 2.1.
  • Avoid auto-promotion of float32 to float64 within the Emissions model run-time.
  • Add convenience VectorDataset.get_constant method.