help with search_data() method #470
-
Hi there, results = earthaccess.search_data(
concept_id = "C2716248872-GES_DISC",
circle=(4.03,49.25,20000),
temporal=("2022-04-22T09", "2022-04-22T15")
) Whatever the GPS coordinates or search radius, you'll see that it always returns the granule for the day in question. I thought I'd get 0 granule when the GPS coordinates weren't in a measurement or track zone. I have two questions: Finally, does everyone understand why this happens? Is it a bug or is it normal not to have any dependence on the GPS coordinates for a whole day of searching? Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
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"! |
Beta Was this translation helpful? Give feedback.
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:
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"!