<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div><span>Thank you Mahmood,</span></div>
<div><span><br>
</span></div>
<span>
<div><span><br>
</span></div>
You're right, my missing values are set to 0, so I was able to solve the problem by modifying the colorbar.<br>
</span>
<div><br>
</div>
<span>Thanks for the help and progress.</span>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>De:</b> Rashed Mahmood <rashidcomsis@gmail.com><br>
<b>Enviado:</b> terça-feira, 4 de dezembro de 2018 22:10<br>
<b>Para:</b> Vanúcia Schumacher<br>
<b>Cc:</b> NCL-talk<br>
<b>Assunto:</b> Re: [ncl-talk] white ocean</font>
<div> </div>
</div>
<div>
<div dir="ltr">It seems that this could be related to properly assigning missing values. Is your missing value set to 0 by any chance?
<div>You can check this by printVarSummary(varb) and looking for _FillValue. Or you can  print(varb@_FillValue).</div>
<div><br>
</div>
<div>If you look at your colorbar you would see that ocean is colored according to the color for 0-0.2. If 0 is missing value in your data sets then you would need to change it to something else: e.g. varb@_FillValue = 1E32 . However, I am not sure if that
 would also affect your valid data values (e.g. 0) if that matches with missing value.<br>
</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Rashed</div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr">On Tue, Dec 4, 2018 at 9:36 AM Vanúcia Schumacher <<a href="mailto:vanucia-schumacher@hotmail.com">vanucia-schumacher@hotmail.com</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div>Hi all,</div>
<div><br>
</div>
<div>I would like to know which resource I can use to make parts of the ocean that has no data in white color.</div>
<div><br>
</div>
<div>I've tried this (res@mpOceanFillColor       = "white"  ), but it does not work because part of the ocean I have data, see my figure attached.<br>
</div>
<div><br>
</div>
<div>Thanks</div>
</div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</blockquote>
</div>
</div>
</body>
</html>