Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Add VIIRS nightlights dataset to the API #126

Closed
2 tasks
abarciauskas-bgse opened this issue May 1, 2022 · 2 comments
Closed
2 tasks

Add VIIRS nightlights dataset to the API #126

abarciauskas-bgse opened this issue May 1, 2022 · 2 comments
Assignees
Labels

Comments

@abarciauskas-bgse
Copy link
Collaborator

Identify the dataset and what the processing needs are

  1. Identify dataset and where it will be accessed from. Check it's a good source with science team. Ask about specific variables and required spatial and temporal extent. Note most datasets will require back processing (e.g. generating cloud-optimized data for historical data).

From https://github.com/NASA-IMPACT/covid-api/blob/develop/covid_api/db/static/datasets/nightlights-viirs.json#L11 it looks like the VIIRS nightlights data is in s3://covid-eo-data/bm_500m_daily/VNP46A2_V011_*_cog.tif

  • Check if there are new files
  • Determine if new files require conversion to COG

Design the metadata and publish to the Dev API

  1. Review conventions for generating STAC collection and item metadata:

  2. After reviewing the STAC documentation for collections and items and reviewing existing scripts for generating collection metadata (generally with SQL) and item metadata, generate or reuse scripts for your collection and a few items to publish to the testing API. There is some documentation and examples for how to generate a pipeline or otherwise document your dataset workflow in https://github.com/NASA-IMPACT/cloud-optimized-data-pipelines. We would like to maintain the scripts folks are using to publish datasets in that repo so we can easily re-run those datasets ingest and publish workflows if necessary.

  3. If necessary, request access and credentials to the dev database and ingest and publish to the Dev API. Submit a PR with the manual or CDK scripts used to run the workflow to publish to the Dev API and include links to the published datasets in the Dev API

Publish to the Staging API

Once the PR is approved, we can merge and publish those datasets to the Staging API

@abarciauskas-bgse abarciauskas-bgse changed the title Add VIIRS nightlights dataset to the API (high-level steps) Add VIIRS nightlights dataset to the API May 9, 2022
@xhagrg xhagrg self-assigned this May 23, 2022
@xhagrg
Copy link
Contributor

xhagrg commented Jun 6, 2022

Is this separate from the other nightlight data we have?

@aboydnw aboydnw assigned slesaad and unassigned xhagrg Jun 21, 2022
@slesaad
Copy link
Member

slesaad commented Jun 21, 2022

The data has been ingested and following cities/id are available at https://staging-stac.delta-backend.xyz/collections/nightlights-500m-daily/items:

Beijing: VNP46A2_V011_be_<date>_cog
Caracas: VNP46A2_V011_ca_<date>_cog
LosAngeles: VNP46A2_V011_la_<date>_cog
NewYork: VNP46A2_V011_ny_<date>_cog
SanFrancisco: VNP46A2_V011_sf_<date>_cog
EUPorts: VNP46A2_V011_EUPorts_<date>_cog
Tokyo: VNP46A2_V011_tk_<date>_cog

@slesaad slesaad closed this as completed Jul 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants