Skip to main content
deleted 58 characters in body; edited title; edited tags
Source Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

Is it possible to run Running ArcToolbox without ArcMap?

So my questions are:

  1. Is it possible to run the involved ArcToolbox functions like CopyRaster_management outside of ArcMap from command line python?

  2. If not, how to avoid the crash problem?

Thanks.Is it possible to run the involved ArcToolbox functions like CopyRaster_management outside of ArcMap from command line python and, if not, how do I avoid the crash problem?

-- Update --

 

Thanks everyone. Here's the outcome using python from the command line. The script works well except for needing a few imports like arcpy and sys. There was still a crash, but the number of processed images increased 10 fold to about 7000. This time, memory seems to be at issue, with 1.8G consumed before the crash. I am trying the 64 bit background processing as suggested.

Is it possible to run ArcToolbox without ArcMap?

So my questions are:

  1. Is it possible to run the involved ArcToolbox functions like CopyRaster_management outside of ArcMap from command line python?

  2. If not, how to avoid the crash problem?

Thanks.

-- Update --

Thanks everyone. Here's the outcome using python from the command line. The script works well except for needing a few imports like arcpy and sys. There was still a crash, but the number of processed images increased 10 fold to about 7000. This time, memory seems to be at issue, with 1.8G consumed before the crash. I am trying the 64 bit background processing as suggested.

Running ArcToolbox without ArcMap?

Is it possible to run the involved ArcToolbox functions like CopyRaster_management outside of ArcMap from command line python and, if not, how do I avoid the crash problem?

 

Here's the outcome using python from the command line. The script works well except for needing a few imports like arcpy and sys. There was still a crash, but the number of processed images increased 10 fold to about 7000. This time, memory seems to be at issue, with 1.8G consumed before the crash. I am trying the 64 bit background processing as suggested.

replaced http://gis.stackexchange.com/ with https://gis.stackexchange.com/
Source Link

I am following the accepted answeraccepted answer for the question: Batch converting netCDF to Raster using ArcPy?Batch converting netCDF to Raster using ArcPy?, obviously, to convert netcdfs. The code taken from the above answer (pasted below) works fine on a single NetCDF. However, if I run the same function on many .nc files by making inNetCDF variable a parameter, ArcMap breaks down. It crashes with ArcGIS 10.1 and hangs with ArcGIS 10.2.2 (on two different machines) after generating about 500 or 600 images.

--codecode--

I am following the accepted answer for the question: Batch converting netCDF to Raster using ArcPy?, obviously, to convert netcdfs. The code taken from the above answer (pasted below) works fine on a single NetCDF. However, if I run the same function on many .nc files by making inNetCDF variable a parameter, ArcMap breaks down. It crashes with ArcGIS 10.1 and hangs with ArcGIS 10.2.2 (on two different machines) after generating about 500 or 600 images.

--code--

I am following the accepted answer for the question: Batch converting netCDF to Raster using ArcPy?, obviously, to convert netcdfs. The code taken from the above answer (pasted below) works fine on a single NetCDF. However, if I run the same function on many .nc files by making inNetCDF variable a parameter, ArcMap breaks down. It crashes with ArcGIS 10.1 and hangs with ArcGIS 10.2.2 (on two different machines) after generating about 500 or 600 images.

--code--

Tweeted twitter.com/#!/StackGIS/status/579353481875714048
added 395 characters in body
Source Link
tinlyx
  • 11.2k
  • 18
  • 76
  • 127

-- Update --

Thanks everyone. Here's the outcome using python from the command line. The script works well except for needing a few imports like arcpy and sys. There was still a crash, but the number of processed images increased 10 fold to about 7000. This time, memory seems to be at issue, with 1.8G consumed before the crash. I am trying the 64 bit background processing as suggested.

-- Update --

Thanks everyone. Here's the outcome using python from the command line. The script works well except for needing a few imports like arcpy and sys. There was still a crash, but the number of processed images increased 10 fold to about 7000. This time, memory seems to be at issue, with 1.8G consumed before the crash. I am trying the 64 bit background processing as suggested.

deleted 46 characters in body
Source Link
tinlyx
  • 11.2k
  • 18
  • 76
  • 127
Loading
Source Link
tinlyx
  • 11.2k
  • 18
  • 76
  • 127
Loading