3
You can't have a file or folder name with ":" characters - it's a reserved character.
And in your 2nd snippet, you're trying to create r"C:\Users\SOHCO\Desktop\New folderAnalysis_etc.mxd", i.e you're missing the last \.
Try the following instead:
# Import arcpy, os and datetime modules
import arcpy
import os
import datetime
#Setting ...
2
The issue could be with a field names disc.m
The best way is to export the data to a feature class in a file geodatabase.
Observe that the field name is converted to disc_m which is acceptable and the table opens without any issue.
1
Use the Snap Raster functionality in environmental settings in ArcGIS.
https://desktop.arcgis.com/en/arcmap/10.3/tools/environments/snap-raster.htm
You can create a new, snapped raster using Copy Raster https://desktop.arcgis.com/en/arcmap/10.3/tools/data-management-toolbox/copy-raster.htm and setting the snap raster in the environment.
Then proceed with ...
Only top voted, non community-wiki answers of a minimum length are eligible
Related Tags
arcgis-10.4 × 606arcgis-desktop × 401
arcpy × 129
arcmap × 90
raster × 34
modelbuilder × 29
arcgis-server × 27
spatial-analyst × 24
coordinate-system × 21
polygon × 17
arcobjects × 15
field-calculator × 15
installation × 15
labeling × 14
enterprise-geodatabase × 14
python-parser × 14
python-toolbox × 14
c# × 12
network-analyst × 12
fields-attributes × 11
file-geodatabase × 11
python-addin × 11
symbology × 10
attribute-table × 10
line × 10