[gradsusr] Plotting or Masking missing data

Andrew Friedman andfried at gmail.com
Tue May 21 12:55:49 EDT 2019


Hi Paul,
One way is to use the const function to assign a value to missing data and then plot that value.
-Andrew

> On 21 May 2019, at 17:28, Brabenec, Paul <pbrabene at aer.com> wrote:
> 
> Jeff-
>  
> I was wondering how would you define color for missing data = NaN. The missing data plots as white but I want it black and have no idea.
>  
>  
> DSET  ^2003070300.dat
> OPTIONS  big_endian
> TITLE  Gridded Data Sample
> UNDEF  -999.0
> XDEF  481 LINEAR -88.8 0.08
> YDEF  398 LINEAR 11.54 0.08
> * Main level of Z is null
> ZDEF  1 LINEAR 1 1
> TDEF  1 LINEAR 00:00Z3jul2003 1hr
> VARS  1
> SurfaSfc 0 99 Surface Duct Sonic Layer Depth
> ENDVARS
>  
> r/
>  
> Paul Brabenec
>  
> 
> 
> This email is intended solely for the recipient. It may contain privileged, proprietary or confidential information or material. If you are not the intended recipient, please delete this email and any attachments and notify the sender of the error.
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20190521/baf3b998/attachment-0001.html>


More information about the gradsusr mailing list