<div dir="ltr"><div>A general rule is that NCL will use the 1st encountered _FillValue for an expression.</div><div>Essentially, all other _FillValue are 'silentlly' converted to the initial value.<br></div><div><br></div><div> <br></div><div>A = (/1.0, 2.0, -999.0, 4.0/)<br>A@_FillValue = -999.0<br><br>B = (/100.0, 1e10, 1e10, 400./)<br>B@_FillValue = 1e10<br><br>C = A + B<br>print(C) <br></div><div>==========</div><div>Variable: C<br>Type: float<br>Total Size: 16 bytes<br> 4 values<br>Number of Dimensions: 1<br>Dimensions and sizes: [4]<br>Coordinates: <br>Number Of Attributes: 1<br> <b>_FillValue : -999</b><br>(0) 101<br>(1) <b>-999</b><br>(2) <b>-999</b><br>(3) 404</div><div>=========================</div><div><br></div><div>That said:</div><div><br></div><div>It is highly recommended the 0.0 [0] not be used as an _FillValue.</div><div>Upon input of the "model data"</div><div><br></div><div> f = addfile("<a href="http://model.nc">model.nc</a>","r")</div><div> x = f->data ; data@_FillValue=0.0 and x@_FillValue=0.0</div><div> x@_FillValue = 1e10 ; change to non-zero by convention<br></div><div><br></div><div><br></div><div> <br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 5, 2020 at 7:43 AM Dhirendra Kumar via ncl-talk <<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif">Hello everyone</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">I am trying to compute taylor_stats using different datasets (having similar dimensions, lat x lon). However, I found that these have different numbers of fill values. </div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">The model data has zero fill values while the observation has large fill values (38266). </div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">How can I make them equal, or how can I use them to compute the taylor_stats.</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">Thanks in anticipation for your help.</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">Dhirendra</div><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">========================================</div><div dir="ltr">Dhirendra Kumar<div>PhD Student<br></div><div>School of Environmental Sciences, JNU<br></div><div>New Delhi (India)</div><div>Contact: <font face="comic sans ms, sans-serif">+91 9910778043</font></div><div>Alternate email: <a href="mailto:dhirendra.cub@outlook.com" target="_blank">dhirendra.cub@outlook.com</a></div><div>=========================================</div></div></div></div></div></div></div></div></div></div></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></blockquote></div>