Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ jobs:
has_new_files_to_promote: ${{ steps.changed-files.outputs.all_changed_files_count != 0 }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0

# Initializes the PR comment
# Edits existing or creates new comment
Expand Down Expand Up @@ -72,11 +74,9 @@ jobs:
- name: Get newly added and changed files
id: changed-files
run: |
ACMR_FILES=$(git diff --name-only --diff-filter=ACMR $GITHUB_BASE_REF...$GITHUB_HEAD_REF)

mapfile -t "PUBLISH_FILES" < <(echo "$ACMR_FILES" | grep \
-e "^ingestion-data/staging/dataset-config/.*\.json$" \
-e "^ingestion-data/staging/collections/.*\.json$"
mapfile -t "PUBLISH_FILES" < <(git diff --name-only --diff-filter=ACMR origin/$GITHUB_BASE_REF...HEAD -- \
'ingestion-data/staging/dataset-config/**.json' \
'ingestion-data/staging/collections/**.json'
)

echo "all_changed_files=${PUBLISH_FILES[*]}" >> $GITHUB_OUTPUT
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
{
"collection": "delta-disasters-planet-flood",
"title": "PlanetScope Satellite Imagery (2019 Yazoo Backwater Flood)",
"description": "False Color Composite (FCC) commercial satellite imagery from Planet Labs of the Mississippi Delta area from the peak of the 2019 backwater flooding. This data was made available through the NASA Commercial Satellite Data Acquisition (CSDA) Program.",
"license": "CC0-1.0",
"stac_version": "1.0.0",
"dashboard:time_density": "day",
"links": [],
"spatial_extent": {
"xmin": -91.13,
"ymin": 33.05,
"xmax": -90.55,
"ymax": 32.72
},
"temporal_extent": {
"startdate": "2019-05-23T00:00:00Z",
"enddate": "2019-05-23T23:59:59Z"
},
"discovery_items": [
{
"discovery": "s3",
"prefix": "delta-disasters/",
"bucket": "veda-data-store-staging",
"filename_regex": "(.*)MS_Delta_Flood(.*).tif$",
"use_multithreading": false,
"upload": false,
"cogify": false,
"dry_run": false
}
],
"sample_files": [
"s3://veda-data-store-staging/delta-disasters/MS_Delta_Flood1_2019-05-23.tif",
"s3://veda-data-store-staging/delta-disasters/MS_Delta_Flood2_2019-05-23.tif",
"s3://veda-data-store-staging/delta-disasters/MS_Delta_Flood3_2019-05-23.tif",
"s3://veda-data-store-staging/delta-disasters/MS_Delta_Flood4_2019-05-23.tif",
"s3://veda-data-store-staging/delta-disasters/MS_Delta_Flood5_2019-05-23.tif"
],
"data_type": "cog",
"stac_extensions": [
"https://stac-extensions.github.io/render/v1.0.0/schema.json",
"https://stac-extensions.github.io/item-assets/v1.0.0/schema.json"
],
"item_assets": {
"cog_default": {
"type": "image/tiff; application=geotiff; profile=cloud-optimized",
"roles": [
"data",
"layer"
],
"title": "Default COG Layer",
"description": "Cloud optimized default layer to display on map"
}
},
"renders": {
"dashboard": {
"bidx": [
4,
2,
1
],
"rescale": [
[
100,
4500
]
],
"resampling": "nearest",
"nodata": "0",
"assets": [
"cog_default"
]
}
},
"providers": [
{
"name": "NASA VEDA",
"roles": [
"host"
],
"url": "https://www.earthdata.nasa.gov/dashboard/"
}
],
"assets": {
"thumbnail": {
"title": "Thumbnail",
"description": "HLS-derived NDWI from May 26, 2019 with the 2023 Rolling Fork tornado track overlaid.",
"href": "https://veda-thumbnails.s3.us-west-2.amazonaws.com/delta-disasters-background.jpg",
Comment thread
aliziel marked this conversation as resolved.
Outdated
"type": "image/png",
"roles": [
"thumbnail"
]
}
},
"is_periodic": false,
Comment thread
aliziel marked this conversation as resolved.
Outdated
"time_density": "day",
"datetime_range": "day",
"transfer": true
}
Loading