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
downloading Appeears outputs to local system programmatically
-
- Subject Matter Expert
- Posts: 3
- Joined: Mon Jun 13, 2022 10:26 am America/New_York
- Been thanked: 2 times
Re: downloading Appeears outputs to local system programmatically
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
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