Interpolate values in a data field.
More...
Go to the source code of this file.
|
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.
|
|
Interpolate values in a data field.
- Author
- James McDonell
- Date
- 1984-06-27
Definition in file w3ft01.f.
◆ 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] | STI | Real*4 i grid coordinate of the point for which an interpolated value is desired. |
[in] | STJ | Real*4 j grid coordinate of the point for which an interpolated value is desired. |
[in] | FLD | Real*4 size(ii,jj) data field. |
[in] | II | Integer*4 number of columns in 'fld'. |
[in] | JJ | Integer*4 number of rows in 'fld'. |
[in] | NCYCLK | Integer*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] | LIN | Integer*4 code specifying interpolation method:
- = 1 Linear interpolation
- .NE.1 Quadratic interpolation
|
[out] | HI | Real*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.