interpolate_z_bilinear Subroutine

public subroutine interpolate_z_bilinear(x_grid, y_grid, z_grid, world_x, world_y, z_value)

Bilinear interpolation of Z value at world coordinates Refactored to be under 100 lines (QADS compliance)

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: x_grid(:)
real(kind=wp), intent(in) :: y_grid(:)
real(kind=wp), intent(in) :: z_grid(:,:)
real(kind=wp), intent(in) :: world_x
real(kind=wp), intent(in) :: world_y
real(kind=wp), intent(out) :: z_value