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)