<div dir="ltr"><div>It would be easier to diagnose if there is more information, especially a clean script and the data file, if possible.</div><div><br></div><div>However, from the variable summary, I am wondering why min/max are equal to missing values? <b>vmax : 1e+15 vmin : -1e+15</b></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 19, 2018 at 2:15 AM, Kunal Bali <span dir="ltr"><<a href="mailto:kunal.bali9@gmail.com" target="_blank">kunal.bali9@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><img class="m_-2752945344646428820mailtrack-img" alt="" style="display:flex" src="https://mailtrack.io/trace/mail/d0c20a1f437ae5251387ffb2645d9ce81d0162db.png?u=2827700" width="0" height="0"><div></div><div>I tried to calculate the trend using <br></div><div><br></div><div> ts = var_a(lat|:,lon|:,time|:)<br> time = ts&time <br> rc = regCoef(time,ts)</div><div> printVarSummary(<span class="m_-2752945344646428820gmail-gr_ m_-2752945344646428820gmail-gr_288 m_-2752945344646428820gmail-gr-alert m_-2752945344646428820gmail-gr_spell m_-2752945344646428820gmail-gr_inline_cards m_-2752945344646428820gmail-gr_disable_anim_appear m_-2752945344646428820gmail-ContextualSpelling m_-2752945344646428820gmail-ins-del m_-2752945344646428820gmail-multiReplace" id="m_-2752945344646428820gmail-288">rc</span>)<br> printMinMax(<span class="m_-2752945344646428820gmail-gr_ m_-2752945344646428820gmail-gr_289 m_-2752945344646428820gmail-gr-alert m_-2752945344646428820gmail-gr_spell m_-2752945344646428820gmail-gr_inline_cards m_-2752945344646428820gmail-gr_disable_anim_appear m_-2752945344646428820gmail-ContextualSpelling m_-2752945344646428820gmail-ins-del m_-2752945344646428820gmail-multiReplace" id="m_-2752945344646428820gmail-289">rc</span>,0) (<a href="https://www.ncl.ucar.edu/Applications/Scripts/regress_2.ncl" target="_blank">https://www.ncl.ucar.edu/<wbr>Applications/Scripts/regress_<wbr>2.ncl</a>)<br><br></div><div><br></div><div>Script run perfectly and able to generate the plot but the values are not coming correctly. <br></div><div><br></div><div>Summary of the file is<br></div><div><br>Variable: var_a<br>Type: float<br>Total Size: 231552 bytes<br> 57888 values<br>Number of Dimensions: 3<br>Dimensions and sizes: [time | 18] x [lat | 67] x [lon | 48]<br>Coordinates: <br> time: [22200..8964600]<br> lat: [ 5.. 38]<br> lon: [68.125..97.5]<br>Number Of Attributes: 8<br> standard_name : fractional_area_of_land_<wbr>snowcover<br> long_name : fractional_area_of_land_<wbr>snowcover<br> units : 1<br> _FillValue : 1e+15<br> missing_value : 1e+15<br> fmissing_value : 1e+15<br> vmax : 1e+15<br> vmin : -1e+15<br><br>Variable: rc<br>Type: double<br>Total Size: 25728 bytes<br> 3216 values<br>Number of Dimensions: 2<br>Dimensions and sizes: [67] x [48]<br>Coordinates: <br>Number Of Attributes: 5<br> _FillValue : 999999986991104<br><span style="color:rgb(0,0,255)"><b> nptxy : <ARRAY of 3216 elements><br> rstd : <ARRAY of 3216 elements><br> yintercept : <ARRAY of 3216 elements><br> tval : <ARRAY of 3216 elements></b></span><br><b><span style="color:rgb(255,0,0)">(0) <span style="color:rgb(0,0,0)">min=-2.29406853917466<span style="color:rgb(255,0,0)">e-08 </span> max=7.240543557223994<span style="color:rgb(255,0,0)">e-08</span></span></span><br></b></div><div><br></div><div><br></div><div><br></div><div>please provide some information on that.<br></div><div><div><div dir="ltr" class="m_-2752945344646428820gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>---<br></div><div><font size="2"><span>Kunal Bali<br></span></font></div><div><font size="2"><span><br></span></font></div><div><b><br></b></div><div><br></div><div><p style="margin:0px;border-collapse:collapse;font-family:Tahoma,Verdana;font-size:12px"><font color="#1F497D"><br></font></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><div class="m_-2752945344646428820mt-signature">
<a href="https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality1&" class="m_-2752945344646428820mt-signature-logo" style="text-decoration:none" target="_blank">
<img src="https://s3.amazonaws.com/mailtrack-signature/sent_with_mailtrack.png" alt="Mailtrack" width="16" height="14">
</a>
<font style="color:#777">Sent with
<a href="https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality1&" class="m_-2752945344646428820mt-install" target="_blank">Mailtrack</a>
</font>
</div></div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">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/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>