Select to view content in your preferred language

Will a python script help me automate data generation?

859
3
08-22-2013 12:11 PM
JesusBlanco
New Contributor
Hello,

Thanks for taking the time to read my post. I have absolutely no knowledge about Python, and I did not find an answer to my question using the search function.

My question concerns generating data from two rasters. Both rasters are classified into three "age" classes, one is a digital elevation model, the other contains height information on the forest that sits above the ground.

I have been generating random points that serve the purpose of extracting data from both rasters based on that random point's location.

I need to do this 300 times total.

Will a script help agenerate this data?
Tags (2)
0 Kudos
3 Replies
ChrisSnyder
Honored Contributor
Yes.

But why not just calculate 300 random pnts (at once), and extract the data? No need to do one pnt at a time 300 times, right?
0 Kudos
JesusBlanco
New Contributor
Yes.

But why not just calculate 300 random pnts (at once), and extract the data? No need to do one pnt at a time 300 times, right?


I agree, there is no need to do one point at a time. 🙂

I should have painted a better picture of what my task is.

I have 3 groups, each has a different number of random samples to be generated.

Old - 3600 points
Medium - 540 points
Young - 380 points.

Each age class needs 100 replicates.
0 Kudos
DanPatterson_Retired
MVP Emeritus
you could have a look at the options in http://www.arcgis.com/home/item.html?id=0174571b3d6b4accb972e66a2cd31ff0 to see how point patterns of various configurations and options can be generated
0 Kudos