nasa / harmony-py

Python client library for working with NASA’s Earth observing system data using Harmony. https://harmony.earthdata.nasa.gov
Other
50 stars 20 forks source link

HARMONY-1414: Added support to harmony requests that completes successfully without creating a job. #69

Closed ygliuvt closed 1 year ago

ygliuvt commented 1 year ago

Jira Issue ID

HARMONY-1414

Description

Added support to harmony requests that completes successfully without creating a job.

Local Test Steps

Run last demo of tutorial notebook and verify the result returned from harmony client submission call is the download links in the harmony request response.

PR Acceptance Checklist

ygliuvt commented 1 year ago

I want to make sure a user can use the response similar to if a job were returned. In order to do that, I think we should update the response to include the full JSON rather than just the links. We should also update the download functions (including download_all) to take that JSON response and download the links. Ideally we can also make the wait_for_processing (or similarly named) function also work with that workflow.

These are valid points and also completely changed the scope of the ticket. I will see how the download function works for directly download, update the ticket and implementation. Thanks.