special value

From: Kate Hedstrom (kate AT unknown)
Date: Wed Jun 28 1995 - 07:11:41 MDT


>
> My problem is how to 'force' the contour subroutine of ncarg to follow
> the boundary that separates the ocean from the land. In my experiment there
> are different shapes of coastlines (e.g. straight, rectangular, triangular).
> The conpack subroutines of ncarg makes some unnecessary interpolation
> between the land where the sea-elevations are naturally zero and the ocean
> where they are not. How do you make the contours discontinue at the boundary?

There is a special value feature for this. Set all your land values
to some value that the water should never have. We use:

      real spval
      parameter ( spval = 1.e20 )
      call cpsetr('SPV - special value', spval)

We also use special values on the vectors.

Kate



This archive was generated by hypermail 2b29 : Wed Jun 28 2000 - 09:40:25 MDT