lake data

From: MICHAEL NOTARO <mnotaro_at_nyahnyahspammersnyahnyah>
Date: Mon, 09 Jul 2007 22:50:20 -0500

I am running a regional model with an approximate grid of 100x110
(latxlon). The coordinates are lat2d(100,110) and lon2d(100,110).

I need to specify which points are lakes and how deep.

I have a dataset with lake depths at different points. So, it contains,
say, depth(10000), lat(10000), and lon(10000). To add to the complication,
lat2d and lon2d do not match lat and lon so I need to find where the points
are closest to each other.

I need to create a variable z(100,110), which is either 0 if no lake or
some value from depth() if there is a lake (at the closest point).

What is the quickest way to match these different grids (points versus
grid) and create z? I have tried triple do loops, gc_latlon, and
triple2grid2d but not very successfully.

Hope this makes sense (:

Thanks, Mike
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Jul 09 2007 - 21:50:20 MDT

This archive was generated by hypermail 2.2.0 : Wed Jul 18 2007 - 17:38:12 MDT