From: MICHAEL NOTARO <mnotaro_at_nyahnyahspammersnyahnyah>
Date: Sat, 18 Jul 2009 21:46:28 -0500

I have a shapefile with a bunch of individual polygons and the associated
lat/lons for many points defining each polygon. I have already been able
to reach those values into NCL. They define the area of N. America
covered by a specific tree specie.

Now I want to generate a 0.25x0.25 degree grid with 1's if the tree is found
there and 0's if the tree is not. So, basically I need to know if each 0.25 degree
grid cell is within these polygons, meaning the tree is found there.

Could anyone recommend a method to do this? I have some ideas but none that
seem very satisfactory or won't take forever to run (actually I need to do this
for 170 tree species). The main challenge is knowing if a grid cell is within a polygon
of points and then repeating this for each grid cell and all polygons.

Thanks, Michael
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Sat Jul 18 2009 - 20:46:28 MDT

This archive was generated by hypermail 2.2.0 : Thu Jul 23 2009 - 08:02:42 MDT