next up previous contents index
Next: MASTER Subroutines Up: Land Area Map Previous: SUBROUTINE BITMAP

INTEGER FUNCTION LNDSEA

 

 LNDSEA tests the point (lat, long) for land/sea using the LNDSEA1.DAT file. It returns a 0 for land, 1 for sea. Uses Fortran file unit 1.

iflag = LNDSEA(alat,along)

alat  (R): latitude (-90. to +90. degrees)
along (R): longitude (0. to +360. degrees)
iflag (I): land/sea flag (returned)
           = -1 : error
           =  0 : land
           =  1 : sea (ocean, lake, sea)



David Long
Wed Jun 12 10:34:11 MDT 1996