-
Notifications
You must be signed in to change notification settings - Fork 3
Automatic Download of Data from AVRIS NG
This wiki entry provides a guide for automatically downloading data from the AVRIS-NG portal, which includes flight line images that can can be analyzed by pycoal to identify impacts of coal mining. Upon selecting the flight-line directory from which the user wants to download the data and images from, all sub-directories and respective files will be downloaded locally to the user's computer.
Currently this python script is for Python version 2.7; this must be installed.
The user also needs to edit the script to identify which location the data should be downloaded to on the user's computer. The value of the ddir
variable, currently ddir='/Users'
, should be changed to the local path the user wants the files downloaded to.
To run the script, navigate to the folder the script is in: crawler/src/main/resources/bin
$ cd /coal-sds/crawler/src/main/resources/bin
Run the script with the name of the flight line you wish to download data for:
$ python ./RetrieveAVRISNGData.py name-of-flight-line
The script will find the respective folder on the AVIRIS FTP site and download the respective imagery files within it to your local computer.