MINDIST - Finds HFRC grid points closest to a series of given points and the distance to those grid points. Usage: [dist,I] = mindist( hfrc_obj, pts ) I are the indices of the closest grid points. hfrc_obj.totalGrid(I,:) will give the coordinates of the closest points. This function will assume the pts are in the same units as the grid of the HFRC object. If the HFRC object is in lon,lat, the appropriate transformation will be made to kms. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% $Id: mindist.m,v 1.1 2004-09-08 03:31:13 dmk Exp $ Copyright (C) 2004 David M. Kaplan Licence: GPL (Gnu Public License) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

- end END - basic end method for HFRC objects.
- mindist MINDIST - Finds HFRC grid points closest to a series of given points
- size SIZE - returns [ (num times), (num gridpts) ].
- lonlat2mindist LONLAT2MINDIST - computes minimum distances in kms between points.
- mindist MINDIST - computes minimum distances between points.

- ginput GINPUT - find indices of points of interest.
- m_ginput M_GINPUT - find indices of points of interest.
- mindist MINDIST - Finds HFRC grid points closest to a series of given points

Generated on Mon 18-Dec-2006 07:26:46 by