Closed caoxuancanh closed 10 months ago
@caoxuancanh Which country/area are you trying to query the data for?
The bounding box is expressed as xmin, ymin, xmax, ymax
, and the valid y (latitude) range is between -90 to 90. So the bounding box in your input vn_bbox = [13.09105, 94.42969, 14.1099, 96.11719]
is not valid, since 94.42969
and 96.11719
is above the north pole.
@ShengpeiWang ShengpeiWang I am looking for an area in Vietnam, following this https://search.earthdata.nasa.gov/search/granules?portal=idn&p=C2565788901-LPCLOUD&pg[0][v]=f&pg[0][gsk]=-start_date&q=MOD13A1&sb[0]=105.27539%2C20.33467%2C105.99609%2C20.94969&qt=2022-03-03T00%3A00%3A00.000Z%2C2022-05-03T23%3A59%3A59.999Z&fi=MODIS&tl=1700532926.369!3!!&lat=16.611328125&long=98.7626953125&zoom=5 They support xmin, ymin, xmax, ymax beyond -90 to 90
https://cmr.earthdata.nasa.gov:443/search/granules.json?echo_collection_id=C2565788901-LPCLOUD&page_num=1&page_size=20&temporal=2022-03-03T00:00:00.000Z,2022-05-03T23:59:59.999Z&bounding_box[]=105.27539,20.33467,105.99609,20.94969&sort_key=-start_date
or
https://cmr.earthdata.nasa.gov/search/granules.json?echo_collection_id=C1748066515-LPCLOUD&temporal=2022-03-03T00:00:00Z,2022-05-03T00:00:00Z&bounding_box[]=105.27539,20.33467,105.99609,20.94969
Means we have to find out the echo_collection_id for "an granules group"
for example:
echo_collection_id=C1748066515-LPCLOUD for MOD13Q1
echo_collection_id=C2565788901-LPCLOUD for MOD13A1
Ah, Ok many thank, I ve got it. I was wrong Just reverse lat lon, due to the web input they have reverted those thing already vn_bbox = [ 94.42969,13.09105, 96.11719, 14.1099]
Do you have any Idea or tool (source code) that provide the way to
If we set the bounding_box like this (in the Asia area)
An error occurs:
Even when using (using LPCLOUD..., with or without .json...):
According to the topic:
https://forum.earthdata.nasa.gov/viewtopic.php?t=3615
I tried the API with POSTMAN (using the param of bounding_box) and received the following response:
How can I resolve this issue?
I believe we cannot use the calculation directly of v and h from the backend by passing the param bounding_box; we need to calculate them ourselves. Afterward, we can obtain the file from the list of the responses:
ht
tps://cmr.earthdata.nasa.gov/search/granules.json?short_name=MOD13Q1