NCEPLIBS-w3emc 2.12.0
Loading...
Searching...
No Matches
w3ft01.f File Reference

Interpolate values in a data field. More...

Go to the source code of this file.

Functions/Subroutines

subroutine w3ft01 (sti, stj, fld, hi, ii, jj, ncyclk, lin)
 For a given grid coordinate in a data array, estimates a data value for that point using either a linear or quadratic interpolation method.
 

Detailed Description

Interpolate values in a data field.

Author
James McDonell
Date
1984-06-27

Definition in file w3ft01.f.

Function/Subroutine Documentation

◆ w3ft01()

subroutine w3ft01 (   sti,
  stj,
real, dimension(ii,jj)  fld,
  hi,
  ii,
  jj,
  ncyclk,
  lin 
)

For a given grid coordinate in a data array, estimates a data value for that point using either a linear or quadratic interpolation method.

Program History Log:

Date Programmer Commment
1984-06-27 James McDonell Initial
1989-11-01 Ralph Jones Change to cray cft77 fortran
Parameters
[in]STIReal*4 i grid coordinate of the point for which an interpolated value is desired.
[in]STJReal*4 j grid coordinate of the point for which an interpolated value is desired.
[in]FLDReal*4 size(ii,jj) data field.
[in]IIInteger*4 number of columns in 'fld'.
[in]JJInteger*4 number of rows in 'fld'.
[in]NCYCLKInteger*4 code to specify if grid is cyclic or not:
  • = 0 Non-cyclic in ii, non-cyclic in jj
  • = 1 Cyclic in ii, non-cyclic in jj
  • = 2 Cyclic in jj, non-cyclic in ii
  • = 3 Cyclic in ii, cyclic in jj
[in]LINInteger*4 code specifying interpolation method:
  • = 1 Linear interpolation
  • .NE.1 Quadratic interpolation
[out]HIReal*4 data field value at (sti,stj) obtained by interpolation.
Author
James McDonell
Date
1984-06-27

Definition at line 35 of file w3ft01.f.