Skip to content

0.19

Compare
Choose a tag to compare
@jeremyh jeremyh released this 21 Apr 23:43
· 180 commits to eodatasets3 since this release

Easier product creation

eo3-validate is now more useful for writing product config.

Give it a product and dataset(s) document, and it will check they match each-other, in addition to the validation checks already performed.

Eg.

❯ eo3-validate ard_s2.odc-product.yaml ga_s2am_ard_3-2-0_53JQJ_2020-10-31_final.odc-metadata.yaml

E duplicate_measurement_name Name 'nbart_band07' is used more than once in a measurement name or alias.
    (Hint: Seen in nbart_red_edge_3)

W extra_measurements Dataset has measurements not present in product definition for 'ga_s2am_ard_3': nbar_nir_1
    (Hint: This may be valid, as it's allowed by ODC. Set `expect_extra_measurements` to mute this.)

failure: 1 error, 1 warning

(#140)

Assembler improvements

Note lineage without source metadata

Added a method to add lineage directly as IDs, rather than reading the whole source document:

p.note_source_datasets(
    # Classifier
    'level1',
    # Any number of ids
    'ca705033-0fc4-4f38-a47e-f425dfb4d0c7',
    '3781e90f-b677-40af-9439-b40f6e4dfadd',
)

The downside of using raw IDs is that Assembler cannot help you inherit metadata properties.
(#140)

GQA and fmask fields are now inheritable by default

(#144)

Packagers

  • Fixes to USGS L1 C2 preparation (#145)
  • Many improvements and fixes to S2 Level 1 metadata preparation (#146)
  • Further improvements to S2 ARD preparation, including linking to provenance from S2 Level1 (#146)

Docker improvements

Many improvements to the Docker config for eodatasets. Better caching, faster development, stable builds. (#143)