RasterToNumPyArray gives an error

Discussion created by gragra72 on Dec 15, 2011
Latest reply on Aug 5, 2019 by lgxdw
I'm having problems by using RasterToNumPyArray.

With the smal test data base it works, but if I try with a huge dataset (columns and rows: 67000, 58000, cellsize: 100 m) it gives me this error:

Traceback (most recent call last):
  File "C:\Python26\ArcGIS10.0\Lib\site-packages\pythonwin\pywin\framework\", line 309, in RunScript, __main__.__dict__, start_stepping=0)
  File "C:\Python26\ArcGIS10.0\Lib\site-packages\pythonwin\pywin\debugger\", line 60, in run
    _GetCurrentDebugger().run(cmd, globals,locals, start_stepping)
  File "C:\Python26\ArcGIS10.0\Lib\site-packages\pythonwin\pywin\debugger\", line 624, in run
    exec cmd in globals, locals
  File "D:\ES_Map\recreationnew\", line 31, in <module>
    in1 = arcpy.RasterToNumPyArray(arcpy.env.workspace + "\\eu_coastna") #arcpy.RasterToNumPyArray(input1)
  File "C:\Program Files (x86)\ArcGIS\Desktop10.0\arcpy\arcpy\", line 1113, in RasterToNumPyArray
    return _RasterToNumPyArray(*args, **kwargs)
RuntimeError: ERROR 999998: Unexpected Error.

could you help me please.
here is a simple example of my code