POST
|
Did you notice a difference when you deleted your variables and that is why you commented out the del line? Have you tried outputting your clipped files to another folder that does not have any "()" or "-"? Is there any reason you do not use out_feature_class = env.workspace +f[:f.find('.')]+"_china"+".shp" instead of typing the full path out again?
... View more
01-20-2016
11:14 AM
|
0
|
0
|
293
|
POST
|
You are going to want a 'finally' block after your 'except' block to capture the errors: finally:
if errors > 0:
arcpy.Spline_3d(inFC, campo, outRaster,cellSize, "TENSION", "","")
... View more
01-20-2016
06:53 AM
|
0
|
0
|
394
|
POST
|
Are you working over a network? Take a look at this Thread Mark Boucher seems to be familiar with ArcHydro. You could contact him if that thread does not help.
... View more
01-20-2016
05:01 AM
|
1
|
0
|
173
|
POST
|
I'm still rather confused as to what you are trying to accomplish here, but I'll attempt a possible solution. Could you use 1) Create Random Points to generate a multipoint feature class constrained by your polygons 2) Spatial Join to get your population_field from your polygon 3) run Point Density on your population field Or if you want to generate equally spaced points in your polygons by running 1) Polygon to Raster 2) Raster to Point 3) Spatial Join with your polygon and generated points to get your population_field 4) Dissolve your points on the population_field 5) run Point Density
... View more
01-20-2016
04:32 AM
|
0
|
0
|
251
|
POST
|
Did you already look into the Xacto tool? It is for borehole data, but you should be able to adapt it to your needs.
... View more
01-19-2016
11:23 AM
|
1
|
0
|
824
|
POST
|
Did you already look at the obvious issue of 'S:\\Species\\METADATA.pdf' not actually existing? Where is the metadata file located? Also it looks like you are trying to copy your pdfs to the wrong place? os.path.join(path,f) would attempt to copy the pdfs to 'S:\Species\MARINEFISH\ [PDFName]'
... View more
01-19-2016
06:01 AM
|
1
|
0
|
432
|
POST
|
I cannot find a free version of the paper you cited, but the abstract seems to claim that they were able to calculate standard errors of prediction by comparing the modeled solar radiation with the observed solar radiation data. Is this correct? With any modeling technique you really should have a way to calculate the errors associated with the type of study you are doing. Have you looked through the GIS help pages for Solar Radiation ? There is a big list of articles in the reference section that may be very useful for you.
... View more
01-12-2016
03:54 AM
|
1
|
1
|
426
|
POST
|
Any particular reason why you did not choose to go with the data-access module? You might also consider using 'with' statements to open your data access cursors. Have you printed each of the 'iList' items within your function that you are attempting to parse from the list to see what they look like?
... View more
01-07-2016
12:00 PM
|
2
|
0
|
784
|
POST
|
Setting the definition query for layers other than your index layer would only be affected if they have an attribute field that is linked to your data drive pages 'page name field' index feature class.
... View more
01-07-2016
11:17 AM
|
0
|
0
|
753
|
POST
|
Did you already look at the scipy site references? And are you referring to Scikit-Learn?
... View more
01-07-2016
04:44 AM
|
1
|
1
|
871
|
POST
|
Perhaps you are looking for something like this? arcgis 10.1 - A tool or way to Extend line by specified distance? - Geographic Information Systems Stack Exchange I've put the script into a working script tool attached to this thread for you to try.
... View more
01-07-2016
04:11 AM
|
4
|
6
|
8010
|
POST
|
You could try a few things to see if they work for you. The Cell Size parameter type with multivalue might work, but it is quite finicky. You could also try to use tool validation and set up a value table parameter like this: paste this code into the Validation and see if this works for you. import arcpy
class ToolValidator(object):
"""Class for validating a tool's parameter values and controlling
the behavior of the tool's dialog."""
def __init__(self):
"""Setup arcpy and the list of tool parameters."""
self.params = arcpy.GetParameterInfo()
def initializeParameters(self):
"""Refine the properties of a tool's parameters. This method is
called when the tool is opened."""
param = self.params[0]
param.datatype = "Value Table"
param.columns = [["Double","X"],["Double","Y"]]
return
def updateParameters(self):
"""Modify the values and properties of parameters before internal
validation is performed. This method is called whenever a parameter
has been changed."""
return
def updateMessages(self):
"""Modify the messages created by internal validation for each tool
parameter. This method is called after internal validation."""
return
... View more
01-06-2016
05:27 AM
|
1
|
0
|
1585
|
POST
|
This looks like it might be possible with .NET from looking at this thread, but it does not appear that Arcpy has this capability. Is there something else you can work with other than the Layer ID?
... View more
01-05-2016
07:52 AM
|
0
|
0
|
1347
|
POST
|
Perhaps there is another way to do what you are trying to do without the Layer ID? What are you trying to accomplish with this ID?
... View more
01-05-2016
06:24 AM
|
0
|
11
|
1347
|
Title | Kudos | Posted |
---|---|---|
1 | 12-09-2015 11:41 AM | |
1 | 10-05-2015 09:10 AM | |
1 | 01-06-2016 05:27 AM | |
1 | 01-19-2016 06:01 AM | |
1 | 12-09-2015 05:59 AM |
Online Status |
Offline
|
Date Last Visited |
yesterday
|