Closed Ariana-B closed 6 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
ea49d65
) 84.38% compared to head (36f5278
) 84.39%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
stac.to_pystac_item
assumes that the dataset will include thedatetime
property. However some datasets, likes2_barest_earth
, include onlystart_datetime
andend_datetime
, causing an error when preparing the dataset for conversion to a pystac Item. Note that the Itemdatetime
parameter can beNone
ifstart_datetime
andend_datetime
are provided in the properties, which they would be in the case of such datasets, so nodatetime
calculation/approximation is necessary here.