-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix cmr search after key error (#28)
* fix cmr-search-after key error * add tests * Update CHANGELOG.md --------- Co-authored-by: Frank Greguska <[email protected]>
- Loading branch information
1 parent
a826830
commit 755a91e
Showing
4 changed files
with
86 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
interactions: | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- '*/*' | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
User-Agent: | ||
- python-requests/2.31.0 | ||
method: GET | ||
uri: https://cmr.earthdata.nasa.gov/search/granules.json?short_name=MOD09GA&version=061&temporal%5B%5D=1990-01-01T00:00:00Z,1990-01-02T00:00:00Z&page_size=2000 | ||
response: | ||
body: | ||
string: '{"feed":{"updated":"2024-03-19T01:45:43.818Z","id":"https://cmr.earthdata.nasa.gov:443/search/granules.json?short_name=MOD09GA&version=061&temporal%5B%5D=1990-01-01T00:00:00Z,1990-01-02T00:00:00Z&page_size=2000","title":"ECHO | ||
granule metadata","entry":[]}}' | ||
headers: | ||
Access-Control-Allow-Origin: | ||
- '*' | ||
Access-Control-Expose-Headers: | ||
- CMR-Hits, CMR-Request-Id, X-Request-Id, CMR-Scroll-Id, CMR-Search-After, CMR-Timed-Out, | ||
CMR-Shapefile-Original-Point-Count, CMR-Shapefile-Simplified-Point-Count | ||
CMR-Hits: | ||
- '0' | ||
CMR-Request-Id: | ||
- 211cef0c-67e7-4233-86c4-716bb79ae77d | ||
CMR-Took: | ||
- '17' | ||
Connection: | ||
- keep-alive | ||
Content-Type: | ||
- application/json;charset=utf-8 | ||
Date: | ||
- Tue, 19 Mar 2024 01:45:43 GMT | ||
Server: | ||
- ServerTokens ProductOnly | ||
Strict-Transport-Security: | ||
- max-age=31536000; includeSubDomains; preload | ||
Transfer-Encoding: | ||
- chunked | ||
Vary: | ||
- Accept-Encoding, User-Agent | ||
Via: | ||
- 1.1 c8c9787916110356915bbdbddd0a32d6.cloudfront.net (CloudFront) | ||
X-Amz-Cf-Id: | ||
- B1Ro_QV_1jxT6j_JD9v_vH0uJaxzpwS1-wYiLga59S08cpmZuuNNXQ== | ||
X-Amz-Cf-Pop: | ||
- IAD89-C2 | ||
X-Cache: | ||
- Miss from cloudfront | ||
X-Content-Type-Options: | ||
- nosniff | ||
X-Frame-Options: | ||
- SAMEORIGIN | ||
X-Request-Id: | ||
- B1Ro_QV_1jxT6j_JD9v_vH0uJaxzpwS1-wYiLga59S08cpmZuuNNXQ== | ||
X-XSS-Protection: | ||
- 1; mode=block | ||
content-length: | ||
- '256' | ||
status: | ||
code: 200 | ||
message: OK | ||
version: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters