contrailcirrus / pycontrails

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

Prevent rad attributes from being lost during _process_rad #156

Closed thabbott closed 8 months ago

thabbott commented 8 months ago

Fixes a bug (introduced by my changes in https://github.com/contrailcirrus/pycontrails/pull/155) that causes radiation data attributes to be lost during preprocessing, and adds a unit test to check for this bug.

Fixes

Fix bug where Cocip._process_rad lost radiation dataset attributes

Tests

Reviewer

@zebengberg