Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
software:arcgis:farber [2017-10-23 16:18] – created sraskar | software:arcgis:farber [2021-04-27 16:21] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Using ArcGIS on Farber ====== | ====== Using ArcGIS on Farber ====== | ||
+ | |||
+ | ===== Batch job ===== | ||
+ | |||
+ | In order to use the [[: | ||
+ | A python script is used to execute the GIS tasks like the '' | ||
+ | |||
+ | <code - arc-test.py> | ||
+ | # This example code produces a 100 Meter buffer of a point located in the center of Newark, DE | ||
+ | import arcpy | ||
+ | arcpy.Buffer_analysis(" | ||
+ | </ | ||
+ | |||
+ | You will also need a queue submission file to run your GIS tasks which will be based on the '' | ||
+ | |||
+ | <code - arc-submit.qs> | ||
+ | # Setup the environment; | ||
+ | # line: | ||
+ | |||
+ | # Now append all of your shell commands necessary to run your program | ||
+ | # after this line: | ||
+ | |||
+ | $WORKDIR/ | ||
+ | </ | ||
+ | |||
+ | |||
+ | Create a directory ''<// | ||
+ | |||
+ | <code bash> | ||
+ | [traine@farber ArcGIS]$ workgroup -g it_css | ||
+ | [(it_css: | ||
+ | </ | ||
+ | |||
+ | ===== Interactive job ===== | ||
+ | |||
+ | All interactive jobs should be run on a compute node by setting your '' | ||
+ | |||
+ | Although there is no GUI with the ArcGIS shell, if it detects that your SSH connection is configured to enable X11-forwarding you will get an [[: | ||
+ | ==== Running X-Windows and DISPLAY set properly ==== | ||
+ | |||
+ | The example below shows an ArcGIS interactive job with an X-Windows server running. | ||
+ | <code bash> | ||
+ | [traine@farber ArcGIS]$ workgroup -g it_css | ||
+ | [(it_css: | ||
+ | Your job 357451 (" | ||
+ | waiting for interactive job to be scheduled ... | ||
+ | Your interactive job 357451 has been successfully scheduled. | ||
+ | Establishing / | ||
+ | [traine@n016 ArcGIS]$ $WORKDIR/ | ||
+ | Adding package `x11/ | ||
+ | Python 2.7.2 (default, Jun 12 2011, 14:24:46) [MSC v.1500 64 bit (AMD64)] on win32 | ||
+ | Type " | ||
+ | >>> | ||
+ | >>> | ||
+ | [traine@n016 ArcGIS]$ | ||
+ | </ | ||
+ | |||
===== ArcGIS shell installation example ===== | ===== ArcGIS shell installation example ===== |