2016-11-25 10:53:01 +01:00
|
|
|
# Keep the values in the first LGR only
|
2016-11-25 10:24:17 +01:00
|
|
|
|
2012-05-18 09:45:23 +02:00
|
|
|
CInfo = riGetActiveCellInfo();
|
|
|
|
|
SOIL = riGetActiveCellProperty("SOIL");
|
|
|
|
|
|
|
|
|
|
Mask = (CInfo(:,1) != 1);
|
|
|
|
|
|
|
|
|
|
LGRSOIL = SOIL;
|
|
|
|
|
i = 0;
|
|
|
|
|
for i = (1:columns(LGRSOIL))
|
|
|
|
|
LGRSOIL(Mask,i) = nan;
|
|
|
|
|
endfor
|
|
|
|
|
|
|
|
|
|
riSetActiveCellProperty(LGRSOIL, "LGRSOIL");
|