PyNGL vector_map with irregular grid

From: Thomas J. Shay <tshay_at_nyahnyahspammersnyahnyah>
Date: Thu, 6 Dec 2007 17:12:23 -0500

I am using the PyNGL interface for this problem.

I'm trying to figure out how to make a vector/map plot
(Ngl.vector_map) with the output of a finite element model. The lon,
lat, u, and v are 1-d arrays, with each element corresponding to a
node in the mesh. According to the documentation of Ngl.vector_map,
the u and v (and presumably lon and lat) need to be 2-d arrays. My
mesh has irregular triangle elements and the boundary is also
irregular (has a real coastline, etc.), so it's not clear how to turn
u, v, etc. into 2-d arrays.

Can anyone point me in the right direction?

Thanks,

Tom

-- 
Thomas J. Shay
UNC Chapel Hill
tshay_at_email.unc.edu
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Dec 06 2007 - 15:12:23 MST

This archive was generated by hypermail 2.2.0 : Tue Dec 11 2007 - 14:19:21 MST