Skip to content

Commit

Permalink
feat: promote legacy covid 19 collections (#150)
Browse files Browse the repository at this point in the history
* feat: add covid-19 slowdown proxy collection to production

* feat: add covid-19 recovery proxy collection to production

* feat: add covid-19 togo ag collection to production

* add renders extension to legacy covid collections

* Add DS_Store to gitignore

* Remove DS_Store

---------

Co-authored-by: ividito <[email protected]>
  • Loading branch information
anayeaye and ividito authored Dec 20, 2024
1 parent 7bd2c9e commit 22e7711
Show file tree
Hide file tree
Showing 10 changed files with 274 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -162,4 +162,7 @@ cython_debug/
reformat.py
Test.ipynb
create_collections.py
datasets
datasets

# Mac-only metadata files
*.DS_Store
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"id": "recovery-proxy-maps-covid-19",
"type": "Collection",
"title": "Recovery Proxy Maps",
"links": [],
"description": "Recovery Proxy Maps show areas with the greatest increase in car activity shaded in orange. Darker orange indicates areas of greater change.",
"extent": {
"spatial": {
"bbox": [
[
-122.95334866499998,
-7.335621996172708,
140.8197117750449,
51.424290027
]
]
},
"temporal": {
"interval": [
[
"2020-01-01T00:00:00Z",
"2020-12-31T23:59:59Z"
]
]
}
},
"license": "CC0-1.0",
"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"
}
},
"dashboard:is_periodic": false,
"dashboard:time_density": null,
"stac_version": "1.0.0",
"providers": [
{
"name": "NASA VEDA",
"url": "https://www.earthdata.nasa.gov/dashboard/",
"roles": [
"host"
]
}
],
"renders": {
"dashboard": {
"resampling": "bilinear",
"bidx": [
1, 2, 3
],
"assets": [
"cog_default"
],
"title": "VEDA Dashboard Render Parameters"
}
},
"assets": {
"thumbnail": {
"title": "Thumbnail",
"description": "Photo by [NASA](https://nasa.gov/) (New York recovery proxy maps show areas with the greatest increase in car activity shaded in orange. Darker orange indicates areas of greater change.)",
"href": "https://thumbnails.openveda.cloud/recovery-proxy-maps-covid-19.png",
"type": "image/png",
"roles": ["thumbnail"]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{
"id": "slowdown-proxy-covid-19-changing-landscapes",
"type": "Collection",
"links": [],
"title": "Slowdown Proxy Maps",
"extent": {
"spatial": {
"bbox": [
[-122.953348665, 33.7119472288983, 116.681986117848, 51.424290027]
]
},
"temporal": {
"interval": [
[
"2020-01-01T00:00:00+00:00",
"2020-12-31T23:59:59+00:00"
]
]
}
},
"license": "CC0-1.0",
"providers": [
{
"url": "https://www.earthdata.nasa.gov/dashboard/",
"name": "NASA VEDA",
"roles": [
"host"
]
}
],
"description": "Slowdown Proxy Maps show areas with the greatest reduction in car activity shaded in blue. Darker blues indicate areas of greater change.",
"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"
}
},
"stac_version": "1.0.0",
"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"
],
"dashboard:is_periodic": false,
"dashboard:time_density": null,
"renders": {
"dashboard": {
"resampling": "bilinear",
"bidx": [
1, 2, 3
],
"assets": [
"cog_default"
],
"title": "VEDA Dashboard Render Parameters"
}
},
"assets": {
"thumbnail": {
"title": "Thumbnail",
"description": "Photo by [NASA](https://nasa.gov/) (2020 slowdown proxy map of Los Angeles shows areas with the greatest reduction in car activity shaded in blue)",
"href": "https://thumbnails.openveda.cloud/slowdown-proxy-covid-19-changing-landscapes.png",
"type": "image/png",
"roles": ["thumbnail"]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"id": "togo-agriculture-covid-19",
"type": "Collection",
"title": "Togo Agriculture",
"links": [],
"description": "NASA Harvest developed a national-level, satellite-derived cropland map for Togo at 10-meter resolution within a 10-day timeframe using data from the European Space Agency’s Copernicus Sentinel 2 satellite, the NASA-USGS Landsat satellites, and with data from commercial partner Planet Inc. Dark purple colors indicate lower probability of cropland while lighter yellow colors indicate higher probability of cropland within each pixel.",
"extent": {
"spatial": {
"bbox": [
[
-0.14732,
6.104427298701888,
1.806708805200138,
11.13898
]
]
},
"temporal": {
"interval": [
[
"2020-01-01T00:00:00Z",
"2020-12-31T23:59:59Z"
]
]
}
},
"license": "CC0-1.0",
"stac_extensions": [
"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"
}
},
"dashboard:is_periodic": false,
"dashboard:time_density": null,
"stac_version": "1.0.0",
"providers": [
{
"name": "NASA VEDA",
"url": "https://www.earthdata.nasa.gov/dashboard/",
"roles": [
"host"
]
}
],
"assets": {
"thumbnail": {
"title": "Thumbnail",
"description": "Photo by [NASA](https://nasa.gov/) (NASA Harvest satellite-derived cropland map for Togo)",
"href": "https://thumbnails.openveda.cloud/togo-agriculture-covid-19.png",
"type": "image/png",
"roles": ["thumbnail"]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"collection": "recovery-proxy-maps-covid-19",
"discovery": "s3",
"prefix": "recovery-proxy-maps-covid-19/",
"bucket": "veda-data-store",
"filename_regex": "^(.*)RPM_2020(.*).tif$",
"start_datetime": "2020-01-01T00:00:00Z",
"end_datetime": "2020-12-31T23:59:59Z",
"cogify": false
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"collection": "slowdown-proxy-covid-19-changing-landscapes",
"discovery": "s3",
"prefix": "slowdown-proxy-covid-19-changing-landscapes/",
"bucket": "veda-data-store",
"filename_regex": "^(.*)SPM_2020(.*).tif$",
"start_datetime": "2020-01-01T00:00:00Z",
"end_datetime": "2020-12-31T23:59:59Z",
"cogify": false
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"collection": "togo-agriculture-covid-19",
"discovery": "s3",
"prefix": "togo-agriculture-covid-19/",
"bucket": "veda-data-store",
"filename_regex": "^(.*)togo_cropland_2020(.*).tif$",
"start_datetime": "2020-01-01T00:00:00Z",
"end_datetime": "2020-12-31T23:59:59Z",
"cogify": false
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[
{
"origin_bucket": "veda-data-store-staging",
"origin_prefix": "recovery-proxy-maps-covid-19/",
"target_bucket": "veda-data-store",
"collection": "recovery-proxy-maps-covid-19",
"filename_regex": "^(.*)RPM_2020(.*).tif$"
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[
{
"origin_bucket": "veda-data-store-staging",
"origin_prefix": "slowdown-proxy-covid-19-changing-landscapes/",
"target_bucket": "veda-data-store",
"collection": "slowdown-proxy-covid-19-changing-landscapes",
"filename_regex": "^(.*)SPM_2020(.*).tif$"
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[
{
"origin_bucket": "veda-data-store-staging",
"origin_prefix": "togo-agriculture-covid-19/",
"target_bucket": "veda-data-store",
"collection": "togo-agriculture-covid-19",
"filename_regex": "^(.*)togo_cropland_2020(.*).tif$"
}
]

0 comments on commit 22e7711

Please sign in to comment.