

add_argument ( '-index_grid', metavar = 'path', required = True, help = 'path to input overlapping index grid feature class' ) parser. ArgumentParser ( description = 'Create overlapping DTM tiles for mosaic' ) parser. GetMessages ( 2 ) ) if _name_ = '_main_' : parser = argparse. ExecuteError : # Geoprocessor through error arcpy. AddMessage ( 'Finished Multiprocessing DTM Tiles' ) except arcpy. AddError ( 'A process\thread failed!' ) arcpy. join ( ) # if an error has occurred report it if False in res : arcpy. Pool ( processes = cpu_num ) # fire off list to worker function # res is a list that is created with what ever the worker function returns res = pool. cpu_count ( ) - 2 # create the pool object pool = multiprocessing. AddMessage ( 'Sending to pool' ) # declare the number of cores to use, use 2 less than the max cpu_num = multiprocessing. append ( ) func = partial ( dtm_work, tiles_directory ) arcpy. format ( row, 'ELEVATION', 'Contour' ) cont_param. CheckOutExtension ( '3D' ) def dtm_work ( tiles_directory, cont ) : """ Multiprocess Topo to Rasster for multiple DTMs """ index_name = cont inContours = cont try : output_dtm = ''. overwriteOutput = True # check-out extensions arcpy. NB: I'd like to thank Duncan Hornby for his post: Create a script tool that uses multiprocessing, that helped me create the following script Hope the following helps anyone else trying to achieve the same for generating large DTM's Dar es Salaam: 1m DTM Tiles ''' Created on Multi-threaded Topo to Raster (3D) PeterW ''' # import site-packages and modules import multiprocessing import argparse import arcpy from functools import partial # set environment settings arcpy. I'm currently re-writing it now that I have a better understanding how the Multiprocessing module works. The Python module which I've attached is below, is my first draft of utilizing Python's Multiprocessing. The DTM tiles were completed in under 12 hrs for the entire study area. I then generated a Python module utilising Python's Multiprocessing module to process the tiles across 16 cores on our servers. I generated a overlapping index grid allowing for 20% overlap and sliced the contour datasets into 500 tiles. This was a problem as I had to get the resolution down to 1m to run my analysis. I initially created a 5m resolution DTM from the contour datasets for preliminary results which took almost 5 days to run. The first problem is that the source of our input data was contour shapefiles at a 1m resolution. Now you can try login as a “Power User” and it should work.I currently still using ArcGIS 10.3 and had to generate a 1m resolution DTM for the whole of Dar es Salaam for a Flood Risk Analysis task on one of our projects.
#Arcgis 10.3 visual fortran run time error full
Select Full Control.Ħ) Click Ok and you are done. You can login as an administrator and follow the following steps to allow “Power Users” make use of PTW32 application after installation:ġ) Select the properties of PTW32 folder – C:\PTW32Ģ) Select the Security tab and click on “Edit”.Ĥ) Click check names to pick the fully qualified name of the group (Please note that in the screenshot below I picked local machine “Power Users” group – you can actually pick a domain one if available)ĥ) Change the Permissions for Power Users i.e. Solution #2: Add Power Users Group to Owners of a folder with Full Control

#Arcgis 10.3 visual fortran run time error update
Solution #1: Update user to have admin rights on the computer:Īsk your company IT department to update the User to have full admin rights on the computer.


There three possible solutions outlined below: How can this issue be resolved?Īnswer: The issue is related to the user permissions on the computer and/or network drive. These errors are appearing when runing balance system studies on a project in the network, but when moved to the local drive, the error message does not appear. Question:What does error message “Visual Fortran run-time error…forrtl: severe (47): write to READONLY file, unit 31, file” or “forrtl: severe (28): CLOSE error, unit 11, file ‘Unknown’” mean?
