extrapol Subroutine

subroutine extrapol(pfild, kxlon, kylat, pmask, norsud, ldper, knbor, pwork)

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.

  1. Writing back unmasked field in pfild

pfild then contains: - Values which were not masked - Interpolated values from the inbor neighbors - Values which are not yet interpolated

Arguments

Type IntentOptional Attributes Name
real :: pfild(kxlon,kylat)
integer :: kxlon
integer :: kylat
real :: pmask
logical :: norsud
logical :: ldper
integer :: knbor
real :: pwork(kxlon,kylat)

Contents