Problem with Point to Raster code

Discussion created by julie.malingowski on May 27, 2013
Latest reply on Jun 3, 2013 by Wayne_Whitley
Hi there,

I am working with a lightning dataset in ArcGIS 10.0, trying to create a raster (actually, 100s of them), and have the GUI tool working correctly, but cannot get the code to work correctly, despite the code being exactly the same from the example code. Here is the input on the GUI I am using: [ATTACH=CONFIG]24723[/ATTACH]

I have the following code, and it does not produce the same thing, but what I can see, it should! Any thoughts? I really appreciate the help. The code runs, but I am not getting the same results. Note: I changed the directories for the forum text, so just ignore those. The problem lies elsewhere.

import arcpy
from arcpy import env
env.workspace = "//gjt-s-filesvr/users_docs$/ArcGIS/Default.gdb"
arcpy.PointToRaster_conversion("X:/GIS/Default.gdb/earlyaug1995", "MULTIPLICI",
                                "H:/ArcGIS/Default.gdb/earlyaug1995m", "COUNT", "", 10000)

Thank you!