Reduce CocipParams.met_level_buffer from (200, 200) to (40, 40). This change is motivated by the observation that the previous buffer was unnecessarily large and caused additional memory overhead. The new buffer is more in line with the typical vertical advection path of a contrail.
Fixes
Raise ValueError when list[Flight] source is provided to Cocip and the copy_source parameter is set to False. Previously the source was copied in this case regardless of the copy_source parameter.
The datalib.parse_pressure_levels now sorts the pressure levels in ascending order and raises a ValueError if the input pressure levels are duplicated or have mixed signs.
Add new MetDataSource.is_single_level property.
Add ecmwf.Divergence (a subclass of MetVariable) for accessing ERA5 divergence data.
Features
ARCOERA5
interface for accessing ARCO ERA5 model level data. This interface requires the metview python package.Breaking changes
CocipParams.met_level_buffer
from(200, 200)
to(40, 40)
. This change is motivated by the observation that the previous buffer was unnecessarily large and caused additional memory overhead. The new buffer is more in line with the typical vertical advection path of a contrail.Fixes
list[Flight]
source is provided toCocip
and thecopy_source
parameter is set toFalse
. Previously the source was copied in this case regardless of thecopy_source
parameter.Internals
datalib.parse_pressure_levels
now sorts the pressure levels in ascending order and raises a ValueError if the input pressure levels are duplicated or have mixed signs.MetDataSource.is_single_level
property.ecmwf.Divergence
(a subclass ofMetVariable
) for accessing ERA5 divergence data.ARCOERA5
interface.Tests
make test
)Reviewer
@thabbott @mlshapiro