GRIDDATAN - Grid and interpolate data. This function is basically a wrapper for the normal griddatan. Usage: hfrc_obj = griddatan( hfrc_obj, grid_all, matlab_time, totalGrid, method ) where grid_all is a boolean that states whether or not to apply griddatan to all relevant variables - if false, griddatan is only applied to U and V, and variables like U_error are simply set to all zeros (sparse(m,n) where (m,n) are the dimensions of the new hfrc object created). grid_all can also be a string, in which case the function returns just the variable of interest and not an HFRC object. matlab_time and totalGrid are the new time and spatial coordinates of the HFRC object to be generated. method is described in griddatan. The actual interpolation is all done in kms to avoid any problems with uneven dimensions. In the end, if the original object was sparse, all NaN's in the result will be replaced by 0's and the result will be sparsed. If the original was full, nothing will be done. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% $Id: griddatan.m,v 1.3 2002-12-18 02:04:07 dmk Exp $ Copyright (C) 2001 David M. Kaplan Licence: GPL %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

- end END - basic end method for HFRC objects.
- gooddata GOODDATA - returns a matrix of good data in object.
- griddata GRIDDATA - Grid and interpolate spatial data.
- griddatan GRIDDATAN - Grid and interpolate data.
- isnan ISNAN - returns position of any NaN data in either U or V.
- length LENGTH - returns number of times in HFRC object.
- lonlat2km LONLAT2KM - Converts dimensions of totalGrid to kms from lon,lat
- matvars MATVARS
- mean MEAN - mean of a field in an HFRC object
- size SIZE - returns [ (num times), (num gridpts) ].
- sparseHFRC SPARSEHFRC - turns full matrices to sparses.

- griddatan GRIDDATAN - Grid and interpolate data.

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