Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


Harris Geospatial / Docs Center / Libraries / Motley / MGH_ADJACENT

MGH_ADJACENT

MGH_ADJACENT

Name


  MGH_ADJACENT

Purpose


  Given a 2D array defining a land-sea mask (sea=true; land=false), return
  an array of the same shape marked with 1s on all the sea cells that are
  adjacent to the land.
 
  NB: Here "adjacent" means sharing a side with a land cell, not just sharing
      a corner.

Positional Parameters


  data (input, 2D array)
    The input array, any data type that can be interpreted as true/false.

Return Value


  The function returns a byte array of the same dimensions as the input.

Modification History


  Mark Hadfield, 2014-06:
    Written for use in MDC13301_ROMS_FRC_LOAD_SWFLUX.



© 2017 Exelis Visual Information Solutions, Inc. |  Legal
My Account    |    Buy    |    Contact Us