<< prev file | next file >>    view single page | view frames    summary: fields | routine    details: routine

Grid/

changemsk.pro

add land points on a 2D land-sea mask

topchangemsk Grid

result = changemsk(tab, CELLSIZE=CELLSIZE)

Return value

the new 2D land-sea mask

Parameters

tab        in required

a 2D land-sea mask, with 1 on sea and 0 on land

Keywords

CELLSIZE       

size (in pixel) of the square representing one point of the mask

Examples

IDL> a = changemsk(tmask[*,*,0]) to add ocean points IDL> a = 1 - changemsk(1 - tmask[*,*,0])

Version history

Version

$Id: changemsk.pro 371 2008-08-07 09:32:02Z pinsard $

History

Sebastien Masson (smasson@lodyc.jussieu.fr) June 2006

Statistics

McCabe cyclic 9
McCabe essential 1
McCabe modular design 1
Produced by IDLdoc 2.0.