[ncl-talk] trend_plot_query

Kunal Bali kunal.bali9 at gmail.com
Tue Jun 19 03:15:54 MDT 2018


I tried to calculate the trend using

   ts      = var_a(lat|:,lon|:,time|:)
   time  = ts&time
   rc      = regCoef(time,ts)
  printVarSummary(rc)
  printMinMax(rc,0)  (
https://www.ncl.ucar.edu/Applications/Scripts/regress_2.ncl)


Script run perfectly and able to generate the plot but the values are not
coming correctly.

Summary of the file is

Variable: var_a
Type: float
Total Size: 231552 bytes
            57888 values
Number of Dimensions: 3
Dimensions and sizes:    [time | 18] x [lat | 67] x [lon | 48]
Coordinates:
            time: [22200..8964600]
            lat: [   5..  38]
            lon: [68.125..97.5]
Number Of Attributes: 8
  standard_name :    fractional_area_of_land_snowcover
  long_name :    fractional_area_of_land_snowcover
  units :    1
  _FillValue :    1e+15
  missing_value :    1e+15
  fmissing_value :    1e+15
  vmax :    1e+15
  vmin :    -1e+15

Variable: rc
Type: double
Total Size: 25728 bytes
            3216 values
Number of Dimensions: 2
Dimensions and sizes:    [67] x [48]
Coordinates:
Number Of Attributes: 5
  _FillValue :    999999986991104



*  nptxy :    <ARRAY of 3216 elements>  rstd :    <ARRAY of 3216 elements>
yintercept :    <ARRAY of 3216 elements>  tval :    <ARRAY of 3216
elements>*

*(0)    min=-2.29406853917466e-08   max=7.240543557223994e-08*



please provide some information on that.
---
Kunal Bali




‌
[image: Mailtrack]
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality1&>
Sent
with Mailtrack
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality1&>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180619/1642c916/attachment.html>


More information about the ncl-talk mailing list