Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add nldas prod config #168

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Add nldas prod config #168

wants to merge 4 commits into from

Conversation

slesaad
Copy link
Member

@slesaad slesaad commented Sep 6, 2024

Description

collection, discovery and transfer configs for nldas2 and nldas3 datasets for production.

added thumbnail to s3 manually

Published at:
https://openveda.cloud/api/stac/collections/nldas2/
https://openveda.cloud/api/stac/collections/nldas3/

"stac_version": "1.0.0",
"renders": {
"dashboard": {
"colormap": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in the veda-config dashboard preview, the collections are rendered with magma

    sourceParams:
      colormap_name: magma
      rescale:
        - 0
        - 200
      nodata: 0

https://github.com/NASA-IMPACT/veda-config/pull/441/files#diff-3fd4b26d4ca66c030eec51a4fc0506e4e1f6fe620649d619bcb2ee43df3e62a7R30

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@anayeaye does this look good?

{
    "id": "nldas2",
    "type": "Collection",
    "title": "NLDAS-2 Precipitation Forcing Dataset",
    "links": [],
    "description": "NLDAS-2 provides a fine-scale (1 km) meteorological forcing (precipitation) in both retrospective and near real-time over North and Central America, including Alaska, Hawaii, and Puerto Rico, by leveraging high-quality gauge, satellite, and model datasets through advanced data assimilation methods. Read more: https://ldas.gsfc.nasa.gov/nldas/v2",
    "extent": {
        "spatial": {
            "bbox": [
                [
                    -41.2,
                    -82.6,
                    9.8,
                    -59
                ]
            ]
        },
        "temporal": {
            "interval": [
                [
                    "2001-01-01T00:00:00Z",
                    "2023-06-01T00:00:00Z"
                ]
            ]
        }
    },
    "license": "MIT",
    "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"
    ],
    "assets": {
        "thumbnail": {
            "href": "https://thumbnails.openveda.cloud/nldas-cover.png",
            "type": "image/jpeg",
            "roles": [ "thumbnail" ],
            "title": "Thumbnail",
            "description": "Photo by [LDAS-NASA](https://eoimages.gsfc.nasa.gov/images/imagerecords/151000/151897/mississippi_oli_2023259_lrg.jpg) (Landsat 8 — OLI image of the Mississippi River below Memphis, Tennessee on September 16, 2023 at near record low water levels, limiting barge shipments, threatening drinking water supplies, agriculture, and ecosystems.)"
        }
    },
    "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": "month",
    "stac_version": "1.0.0",
    "renders": {
        "dashboard": {
            "assets": [
                "cog_default"
            ],
            "colormap_name": "magma",
            "rescale": [
                [
                    0,
                    200
                ]
            ]
        }
    },
    "providers": [
        {
            "name": "NLDAS",
            "url": "https://ldas.gsfc.nasa.gov/nldas",
            "roles": [
                "producer",
                "processor",
                "licensor"
            ]
        },
        {
            "name": "NASA VEDA",
            "url": "https://www.earthdata.nasa.gov/dashboard/",
            "roles": [
                "host"
            ]
        }
    ]
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@slesaad I'm comparing to a collection in prod and maybe also bidx is needed? Plus a we're using a pretty default title it looks like. But think bidx is not needed and the title is certainly optional

curl -X 'GET' \
  'https://openveda.cloud/api/stac/collections/nightlights-hd-1band' \
  -H 'accept: application/json' | jq .renders

{
  "dashboard": {
    "bidx": [
      1
    ],
    "title": "VEDA Dashboard Render Parameters",
    "assets": [
      "cog_default"
    ],
    "rescale": [
      [
        0,
        255
      ]
    ],
    "colormap_name": "inferno"
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants