Skip to content

help with search_data() method #470

Answered by mfisher87
bruno-grouiez asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for your question @bruno-grouiez !

The actual selection of granules is done by CMR. It will return any granule which spatially intersects with the passed in bbox, circle, polygon, etc.

In CMR, each granule in this collection is considered to cover the whole earth:

curl "https://cmr.earthdata.nasa.gov/search/granules.json?collection_concept_id=C2716248872-GES_DISC" | jq .
<..snip..>
        "boxes": [
          "-90 -180 90 180"
        ],
<..snip..>

A granule covering the whole earth will intersect with any coordinates you provide, so this will always be selected.

If this helps answer your question, please select "mark as answer"!

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@bruno-grouiez
Comment options

@mfisher87
Comment options

@bruno-grouiez
Comment options

Answer selected by bruno-grouiez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants