<html>
<head>
<meta name="generator" content="Windows Mail 17.5.9600.20498">
<style data-externalstyle="true"><!--
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
}
p.MsoNormal, li.MsoNormal, div.MsoNormal {
margin:0in;
margin-bottom:.0001pt;
}
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst, 
p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle, 
p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
line-height:115%;
}
--></style></head>
<body dir="ltr">
<div data-externalstyle="false" dir="ltr" style="font-family: 'Calibri', 'Segoe UI', 'Meiryo', 'Microsoft YaHei UI', 'Microsoft JhengHei UI', 'Malgun Gothic', 'sans-serif';font-size:12pt;"><div>It looks like I figured out what is going on…</div><div><br></div><div>The mask file was having the non-null areas interpreted as “No Data” and the Null areas were seen as “0” in version 7. This blanked out everything.  I ran it through raster calculator and now it is back to normal. </div><div>Haven’t a clue why the mask works under 6.4 and not 7.<br></div><div data-signatureblock="true"><div><br></div><div>Sent from Windows Mail</div><div><br></div></div><div style="padding-top: 5px; border-top-color: rgb(229, 229, 229); border-top-width: 1px; border-top-style: solid;"><div><font face=" 'Calibri', 'Segoe UI', 'Meiryo', 'Microsoft YaHei UI', 'Microsoft JhengHei UI', 'Malgun Gothic', 'sans-serif'" style='line-height: 15pt; letter-spacing: 0.02em; font-family: "Calibri", "Segoe UI", "Meiryo", "Microsoft YaHei UI", "Microsoft JhengHei UI", "Malgun Gothic", "sans-serif"; font-size: 12pt;'><b>From:</b> <a href="mailto:caesarivs@gmail.com" target="_parent">César Augusto Ramírez Franco</a><br><b>Sent:</b> ‎Friday‎, ‎June‎ ‎20‎, ‎2014 ‎6‎:‎42‎ ‎AM<br><b>To:</b> <a href="mailto:grass-user@lists.osgeo.org" target="_parent">grass-user@lists.osgeo.org</a></font></div></div><div><br></div><div dir=""><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;"><u></u>





<div>
<div style="font-family: sans-serif;">
<p></p><div>"The mask is just 0 and 1’s"<br></div>
you must use null and non null<br></div></div></blockquote><div><br><div class="gmail_default" style="color: rgb(39, 78, 19); display: inline;">​Or maybe try with "maskcats=1" as an aditional parameter on the r.mask command, in any case you can do this:<br>

<br></div><div class="gmail_default" style="color: rgb(39, 78, 19); display: inline;">r.mapcalc exp="MASK​</div> <div class="gmail_default" style="color: rgb(39, 78, 19); display: inline;">​= if(MASK == 0, null(), 1)"<br><br clear="all">

</div></div></div>-- <br><div dir="ltr"><div style="text-align: right;"><b style="color: rgb(39, 78, 19);">César Augusto Ramírez Franco</b></div><font color="#274e13"><div style="text-align: right;">Laboratorio de Sistemas Complejos Naturales</div>

<span style="font-family: Arial; vertical-align: baseline; white-space: pre-wrap;"><div style="text-align: right;">Escuela de Geociencias</div></span></font><div><div style="text-align: right;"><span style="color: rgb(39, 78, 19); font-family: Arial; white-space: pre-wrap;">Facultad de Ciencias</span></div>

<font color="#274e13"><div style="text-align: right;">Universidad Nacional de Colombia - Sede Medellín</div></font></div><font color="#274e13"><div style="text-align: right;">Teléfono: (57-4) 430 9369 -<font face="arial, helvetica, sans-serif"> 30<div class="gmail_default" style="color: rgb(39, 78, 19); display: inline;">

​0 459 6085</div></font></div></font></div>
</div></div>
</div></div>
</body>
</html>