...
- Install ArcGIS
- Available on the WebStore for free
- Instructions with ArcGIS work for the install
- ArcGIS also includes the Python that it expects to use
- Get the path to ArcGIS as it will be used in the next step (hereafter referred to as <ArcGIS PATH>)
- Add Python and pip to the Path
- These work for Windows 10, future versions of Windows may change how the path is altered
- On the control panel search for Edit the System Environment Variables, click the Environment Variables button
- The lower half of the new window has the system variables, choose Path and then the Edit button
- Click the New button, to add a new section to the path
- Add <ArcGIS PATH> to the top of the list of path, and <ArcGIS PATH>/Scripts right beneath it (this will use the Python installed with ArcGIS before anything else)
- Update pip
- `python -m pip install -U pip`
- Install pika and requests
- The version is important as newer versions introduced errors
- `pip install pika==0.11.2`
- `pip install requests==2.18.4`
- Install Git Bash to run git from the command line
- Download and install from gitfromwindows.org
- Install pyclowder version 1
- The extractors have not been updated to the latest pyclowder yet
- Set up a Repositories directory in home directory, and change into it
- From Git Bash run `git clone https://opensource.ncsa.illinois.edu/bitbucket/scm/cats/zzpyclowder1.git`
- Change into the zzpyclowder1 directory
- `python setup.py install`
- Install the extractor
- Use the version from Clowder, rather than Browndog
- From Git Bash run `git clone https://opensource.ncsa.illinois.edu/bitbucket/scm/cats/extractors-bd-cz.git`
- This puts the scripts into place to be run
- The config.py for each extractor will need to be updated to point to the proper RabbitMQ URL and Clowder registration endpoints
- For browndog.ncsa.illinois.edu use:
- RabbitMQ URL: amqp://<USER>:<PASSWORD>@rabbitmq.ncsa.illinois.edu:5672/clowder[-dev]
- Clowder Registration: https://browndog.ncsa.illinois.edu/clowder[-dev]/api/extractors?key=<KEY>
- If running everything locally then start RabbitMQ and Clowder locally, and the default values in config.py will likely work
- For browndog.ncsa.illinois.edu use:
- Test that the extractor works
- Run it from the cmd prompt and watch the outputs to be sure it is working properly.
- Also advised to upload some files to Clowder and observe that the extractor is receiving, processing and uploading the results back correctly.
...