diff --git a/datasets/deltaresfloods/README.md b/datasets/deltaresfloods/README.md index 8423bf91..1aac5168 100644 --- a/datasets/deltaresfloods/README.md +++ b/datasets/deltaresfloods/README.md @@ -1,3 +1,19 @@ # deltaresfloods PC Tasks -PCTasks code for ingesting deltaresfloods data into the Planetary Computer. \ No newline at end of file +PCTasks code for ingesting deltaresfloods data into the Planetary Computer. +These STAC items JSONs are stored as blobs in the `deltaresfloodssa` storage account under the `floods-stac` container. +You can mount them locally and make modifications before re-ingesting them into the STAC database. + +## Item Updates +After fixing items in the `deltaresfloodssa/floods-stac` container, you may run to reingest them: + +```bash +pctasks dataset process-items xarray-access-fix \ + -a since "2024-11-17T00:00:00Z" \ + --dataset datasets/deltaresfloods/dataset.yaml \ + --is-update-workflow --upsert --submit +``` + +Set since to a date strictly before you modified the STAC items in storage. +For example, if you modified items on December 4, set the since to be any date before December 4. +`since` must be a full ISO8061 datetime. \ No newline at end of file diff --git a/datasets/deltaresfloods/dataset.yaml b/datasets/deltaresfloods/dataset.yaml index 5742f574..5e65bdc6 100644 --- a/datasets/deltaresfloods/dataset.yaml +++ b/datasets/deltaresfloods/dataset.yaml @@ -1,5 +1,5 @@ id: deltaresfloods -image: pccomponentstest.azurecr.io/pctasks-basic:2022.6.16.2 +image: pccomponents.azurecr.io/pctasks-task-base:latest target_environment: staging collections: @@ -16,4 +16,4 @@ collections: extensions: - ".json" chunk_storage: - uri: blob://deltaresfloodssa/floods-etl-data/chunks \ No newline at end of file + uri: blob://deltaresfloodssa/floods-etl-data/chunks