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

Update doctest fixtures for consistency with xarray v2024.3.0 #178

Closed thabbott closed 7 months ago

thabbott commented 7 months ago

Description

Current status of doctests in local testing:

This likely indicates that doctest values are correct when running tests with a recent version of xarray (v2024.3.0 or newer) on a dirty doctest cache created using an older version of xarray (v2024.2.0 or older).

For details about xarray v2024.3.0 changes, see https://github.com/contrailcirrus/pycontrails/pull/171#issuecomment-2040527033.

Proposed solution: update doctest fixture with values cached using the current xarray version.

Details

thabbott commented 7 months ago

I came back to this later in the day and can no longer reproduce this issue. Closing and will re-open if it comes up again.