Home > hfrc > matlab > @HFRC > best_fill.m

best_fill

PURPOSE ^

BEST_FILL - This function fills in missing data from HFRC objects using

SYNOPSIS ^

function h4 = best_fill( h, varargin )

DESCRIPTION ^

 BEST_FILL - This function fills in missing data from HFRC objects using
 a combination of spatial and temporal interpolation.

 Usage: result = best_fill( hfrc_obj, interp_all, pc, ... )

 interp_all and pc are as described in the help for interpT_fill and
 griddata_fill.  ... represent extra arguments to these two functions.
 In particular, a method for interpolation can be included.  If this is
 done, the method must work for both griddata and interp1.

 If a single variable is returned (i.e. interp_all is a string), then the
 simple average of the two results is returned.  If an HFRC object is
 returned, then the average takes into account if one or the other
 interpolation produced bad data and uses the other.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

     $Id: best_fill.m,v 1.1 2003-04-25 20:09:18 dmk Exp $    

 Copyright (C) 2001 David M. Kaplan
 Licence: GPL

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Mon 18-Dec-2006 07:26:46 by m2html © 2003