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

global bounding box is not supported by some datasets #62

Closed
mike-gangl opened this issue Apr 12, 2022 · 1 comment
Closed

global bounding box is not supported by some datasets #62

mike-gangl opened this issue Apr 12, 2022 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@mike-gangl
Copy link
Contributor

if a bounding box is specified or not, we still send the 'bounding_box' parameter to CMR. This is not supported by some collections, for example:

podaac-data-subscriber -c AU_Ocean_NRT_R01 -sd 2022-03-01T00:00:00Z -ed 2022-04-30T23:59:59Z -e '.nc' -p LANCEAMSR2 -d data --verbose

with a CMR query of:

https://cmr.earthdata.nasa.gov/search/granules.umm_json?scroll=true&page_size=2000&sort_key=-start_date&provider=LANCEAMSR2&updated_since=2022-03-01T00%3A00%3A00Z&ShortName=AU_Ocean_NRT_R01&temporal=2022-03-01T00%3A00%3A00Z%2C2022-04-30T23%3A59%3A59Z&bounding_box=-180%2C-90%2C180%2C90

Yields 0 results.

if we take that same CMR query, and remove the bounding box parameter, we get results:

https://cmr.earthdata.nasa.gov/search/granules.umm_json?scroll=true&page_size=2000&sort_key=-start_date&provider=LANCEAMSR2&updated_since=2022-03-01T00%3A00%3A00Z&ShortName=AU_Ocean_NRT_R01&temporal=2022-03-01T00%3A00%3A00Z%2C2022-04-30T23%3A59%3A59Z

...

{
"hits": 370,
"took": 507,
"items": [
{
"meta": {
"concept-type": "granule",
"concept-id": "G2250539839-LANCEAMSR2",
"revision-id": 1,
"native-id": "AMSR_U2_L2_Ocean_R01_202204120051_D.he5",
"provider-id": "LANCEAMSR2",
"format": "application/echo10+xml",
"revision-date": "2022-04-12T03:23:40.993Z"

Even though this is not a PO.DAAC dataset, we should support this query. This is because the granule uses the OrbitCalculatedSpatialDomains, and not a geodectic or horizontal spatial domain.

@mike-gangl mike-gangl added the duplicate This issue or pull request already exists label Jun 22, 2022
@mike-gangl
Copy link
Contributor Author

this is (now) a duplicate of #87 addressed by #88

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

1 participant