Hi All, I am running into the same issue, using ArcGIS 10.2.2 and the netCDF4 module. I can confirm that this has nothing to do with the script, which runs fine outside or Arcgis. It also runs fine the first time, before crashing invariably: File "netCDF4.pyx", line 2986, in netCDF4.Variable.__getitem__ (netCDF4.c:36632) File "C:\Python27\ArcGIS10.2\ArcGIS10.2\lib\site-packages\netCDF4_utils.py", line 137, in _StartCountStride if np.iterable(elem): AttributeError: 'NoneType' object has no attribute 'iterable' Would a completely statically linked version of netCDF4 fix this problem on 10.2.2 as well? FYI, for whoever might run into a similar issue, I manage to partially resolve the issue by not running the script "in process". I also had to isolate the netcdf part of the code in its own script, (run outside the main process). this is very messy because it basically opens a command prompt and starts the script like this: path_to_script.py "arg1" "arg2" "arg3" .... If users have conflicting python instances, or if py files are not associated with the correct interpreter (for example if associated with a text aditor as many people do) it will fail. Any help or idea appreciated...
... View more