LPdaac opendap server 400 errors for MOD13Q1.061 data
Posted: Sun Dec 10, 2023 10:26 pm America/New_York
I'm trying to download MOD13Q1.061 data for several tiles from the LPDAAC opendap server. I'm getting a lot of 400 errors trying to adapt the opendap quick start guide (https://opendap.github.io/documentation/QuickStart.html) to my situation.
I can access the html forms at the data URLs (for example, tile h29v13): https://opendap.cr.usgs.gov/opendap/hyrax/MOD13Q1.061/h29v13.ncml
I can then access the DDS for those data by appending ".dds" to the URL. So far, so good: https://opendap.cr.usgs.gov/opendap/hyrax/MOD13Q1.061/h29v13.ncml.dds
Everything else I've tried gives me a 400 error. For example, trying to access a subset of time values by appending ".ascii" to the URL and applying a constraint: https://opendap.cr.usgs.gov/opendap/hyrax/MOD13Q1.061/h29v13.ncml.ascii?time[2:1:10]
Trying to apply a constraint by obtaining a data URL with constraints from the webform similarly produces 400 errors unless I use the GUI buttons to obtain the data. I need a few tens of files, so I'd like to figure out how to form the requests in a program.
Any help much appreciated.
I can access the html forms at the data URLs (for example, tile h29v13): https://opendap.cr.usgs.gov/opendap/hyrax/MOD13Q1.061/h29v13.ncml
I can then access the DDS for those data by appending ".dds" to the URL. So far, so good: https://opendap.cr.usgs.gov/opendap/hyrax/MOD13Q1.061/h29v13.ncml.dds
Everything else I've tried gives me a 400 error. For example, trying to access a subset of time values by appending ".ascii" to the URL and applying a constraint: https://opendap.cr.usgs.gov/opendap/hyrax/MOD13Q1.061/h29v13.ncml.ascii?time[2:1:10]
Trying to apply a constraint by obtaining a data URL with constraints from the webform similarly produces 400 errors unless I use the GUI buttons to obtain the data. I need a few tens of files, so I'd like to figure out how to form the requests in a program.
Any help much appreciated.