Elevation data for final project error 400 #654
Replies: 4 comments 5 replies
-
There is something it doesn't like in how it's submitting the request to the MODIS server that's making it throw a 400 error. It might be that it isn't seeing the geometry right for the study site or something funky for the date. |
Beta Was this translation helpful? Give feedback.
-
I’m not sure if either will fix the issue but a couple of things you might want to try: 1 - I have my layer name as “SRTMGL1_DEM” instead of “SRTMGL1_DEM Elevation”. 2 - If you look at the AppEEARS API Documentation (https://appeears.earthdatacloud.nasa.gov/api/#task-object), it looks like it might want specific date formats based on whether you’re using a recurring or non-recurring date range. Since you have recurring set to False, perhaps try changing the start and end dates to MM-DD-YYYY, and dropping year_range? |
Beta Was this translation helpful? Give feedback.
-
@taylor-obrien You can list the layer with this snippet of Python code:
Response (Layer Info):
My sample download code:
|
Beta Was this translation helpful? Give feedback.
-
I am running into the same error from my code. Is it possible that this download won't work in a function? I tried it outside of the function as well and couldn't get rid of the error so it seems unlikely but hopefully some more eyes will see something I'm missing! '''
''' |
Beta Was this translation helpful? Give feedback.
-
I am trying to download the elevation data from Appears for the final project, my code looks like this.
However, I keep getting this error, what am I doing wrong here?
Beta Was this translation helpful? Give feedback.
All reactions