[ncl-talk] white ocean

Vanúcia Schumacher vanucia-schumacher at hotmail.com
Tue Dec 4 17:38:53 MST 2018


Thank you Mahmood,


You're right, my missing values are set to 0, so I was able to solve the problem by modifying the colorbar.

Thanks for the help and progress.
________________________________
De: Rashed Mahmood <rashidcomsis at gmail.com>
Enviado: terça-feira, 4 de dezembro de 2018 22:10
Para: Vanúcia Schumacher
Cc: NCL-talk
Assunto: Re: [ncl-talk] white ocean

It seems that this could be related to properly assigning missing values. Is your missing value set to 0 by any chance?
You can check this by printVarSummary(varb) and looking for _FillValue. Or you can  print(varb at _FillValue).

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 at _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.

Cheers,
Rashed

On Tue, Dec 4, 2018 at 9:36 AM Vanúcia Schumacher <vanucia-schumacher at hotmail.com<mailto:vanucia-schumacher at hotmail.com>> wrote:
Hi all,

I would like to know which resource I can use to make parts of the ocean that has no data in white color.

I've tried this (res at mpOceanFillColor       = "white"  ), but it does not work because part of the ocean I have data, see my figure attached.

Thanks
_______________________________________________
ncl-talk mailing list
ncl-talk at ucar.edu<mailto:ncl-talk at ucar.edu>
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181205/3644ae89/attachment.html>


More information about the ncl-talk mailing list