downloading Appeears outputs to local system programmatically

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
akasom
Posts: 14
Joined: Fri Nov 22, 2024 7:44 am America/New_York
Answers: 0

downloading Appeears outputs to local system programmatically

by akasom » Thu Jan 02, 2025 8:23 am America/New_York

Is it possible to download Appears products (bundles) to our local system?

Because we only access S3 urls from Appeears API and it seems those links are only useful for EC2 instances running on the same region as Appeears.

Regards

Filters:

LP - erik.bolch
Subject Matter Expert
Subject Matter Expert
Posts: 3
Joined: Mon Jun 13, 2022 10:26 am America/New_York
Answers: 2
Been thanked: 2 times

Re: downloading Appeears outputs to local system programmatically

by LP - erik.bolch » Mon Jan 06, 2025 3:27 pm America/New_York

Hi @akasom ,

There are some examples in the Bundle section of the AppEEARS API help page, as well as section 4 of this Jupyter notebook, and R markdown document for how to download the files in each task bundle. Depending on your workflow, if you're working with cloud-optimized geotiffs or netcdf4 files, you could also work with the data in memory without storing it locally until after processing. To do this, you just need to pass the bearer token when connecting to the URL. There are a few python examples in this notebook that haven't made it into a tutorial yet. Hope this helps!

Best,
Erik

Post Reply