To avoid problems in floating point tests Fill up ix array Fill up iy array Correct latitude bounds if southernmost or northernmost points Account for periodicity in longitude
Find unmasked neighbors
Not enough points around point P are unmasked; interpolation on P will be done in a future call to extrap.
pfild then contains: - Values which were not masked - Interpolated values from the inbor neighbors - Values which are not yet interpolated
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real | :: | pfild(kxlon,kylat) | ||||
| integer | :: | kxlon | ||||
| integer | :: | kylat | ||||
| real | :: | pmask | ||||
| logical | :: | norsud | ||||
| logical | :: | ldper | ||||
| integer | :: | knbor | ||||
| real | :: | pwork(kxlon,kylat) |