|
From: Josh R. <jro...@ku...> - 2003-09-26 23:53:58
|
I think I have a protocol for getting data from GRASS into a format that
GRASP can handle. I'd like to see if people agree that it is correct.
I want to predict the range of a species from museum data (presense
only).
I have a series of environmental raster maps, all with identical
metadata.
I want to take a site list of known presenses, and use s.sample to get
the environmental data at each site. A little work with sed and awk
should put the output of those into the right format for the Xs. A
similar trick should get Xpreds for every site covered by the
environmental data.
The Ys will be the known presenses plus randomly generated
pseudo-absenses. I'll just generate a sites list that includes
everything but the known presenses, and use s.random to get a reasonable
number of pseudo-absenses.
My questions are: Is this correct and reasonable, and is there an easier
way? I know there are hooks between GRASS and GRASP, but I don't know
if they can help with data entry.
--
Joshua Rosenau 1345 Jayhawk Boulevard/Dyche Hall
(785) 864-4159 Lawrence, KS 66045-7561
I used to think that the brain was the most wonderful organ in my body.
Then I realized who was telling me this. -- Emo Phillips
|