# idsfft

This function is used to call the NCAR 3.2 Fortran function IDSFFT.

## Synopsis

function idsfft(
dim0[*]:float,
dim1[*]:float,
values[*]:float,
dimensions[2]:integer
)

## Arguments

*dim0*
- A single-dimension array of four or more coordinates
that represent dimension 0 of output.
*dim1*
- A single-dimension array of four or more coordinates that
represent dimension 1 of output, must be same dimension size of
*dim0*.
*values*
- A single-dimension array of four or more values at coordinates
(
*dim0*,*dim1*)with the same dimension size as
*dim0* and *dim1*.
*dimensions*
- A single-dimension array of size 2 containing the requested output
dimensions for dimensions 0 and 1, respectively.

## Description

**idsfft** performs smooth surface fitting when the projections
of the data points in the X-Y plane are irregularly distributed in the plane.
*dim0* and *dim1* are randomly spaced coordinates in the X-Y plane,
and *values* contains the values at each X-Y coordinate pair. No two coordinates
(*dim0*,*dim1*) can be equal to each other. If this condition occurs, **idsfft**
prints an error message.
**NOTE:** This function no longer exits when an error occurs.

**idsfft** returns a float array sized by the values specified in
the *dimensions* parameter. The range of coordinates are determined by
taking the min and max values of *dim0* and *dim1*, and dividing the
range by the size of the requested dimension. The *dim0* values define
the coordinate range of the first dimension (dimension #0) of the output
array, and the *dim1* values determine the coordinate range of the
second dimension (dimension #1). The output variable returned contains
the derived coordinate variables (See Coordinate variables
description). Dimension 0 of the output is named "ncl0" and dimension 1 of the
output is named "ncl1". For more information, see the NCAR Graphics Version
3.2 man page for IDSFFT.

### Reference Manual Control Panel

NG4.1 Home, Index, Examples, Glossary, Feedback, Ref Contents, Ref WhereAmI?

* $Revision: 1.11 $ $Date: 1998/09/17 16:10:49 $ *