asf_datarecipe_python_download_script_v1
asf_datarecipe_python_download_script_v1
1
Purpose:
Users often like to download the metadata for multiple products from a search then sort and
eliminate some of the products before downloading. This script allows you to download only the
data you decide to keep.
If you want to download all items in your queue, use the <Download Python Script(.py)> button in
the lower left of the download queue window. Using this option automatically loads the script
with all items in the queue. Instructions for using this bulk download option can be viewed HERE.
1
2. Sort the products (optional)
You can open the .csv (spreadsheet) or .metalink (text editor) file and sort the data, deleting product
rows that you don’t want to download. However, do not delete any columns – all columns must be
retained for the script to work.
https://bulk-download.asf.alaska.edu/
• Type cmd in the “Search programs and files” box and <Enter>
2
For Mac OS X
• Click on the Finder icon in the toolbar
• Highlight “Applications” in the Favorites list
• Type Terminal in the Search box
• Double-click to open
c. If you are not already logged in, you will be prompted to login with your Earthdata Login
credentials.
Appendix
Instructions for Installing Python
3
2. Open the downloaded file (*.pkg)
4. Click <Continue>
4
5. Click <Continue>
7. Click <Continue>
8. Click <Install>
5
Installing Python for Windows
1. Go to https://www.python.org/downloads/release/python-352/
6
3. Open the downloaded file
4. In the Install Python 2.5.2 window, make sure the “Install launcher for all users” and
“Add Python 3.5 to PATH” boxes are checked. Click on “Install Now”
7
7. Installation is complete