Page 1 of 1

downloading Appeears outputs to local system programmatically

Posted: Thu Jan 02, 2025 8:23 am America/New_York
by akasom
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

Re: downloading Appeears outputs to local system programmatically

Posted: Mon Jan 06, 2025 3:27 pm America/New_York
by LP - erik.bolch
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