[ncl-talk] trend_plot_query

Rashed Mahmood rashidcomsis at gmail.com
Tue Jun 19 09:40:40 MDT 2018


It would be easier to diagnose if there is more information, especially a
clean script and the data file, if possible.

However, from the variable summary, I am wondering why min/max are equal to
missing values?  *vmax :    1e+15   vmin :    -1e+15*



On Tue, Jun 19, 2018 at 2:15 AM, Kunal Bali <kunal.bali9 at gmail.com> wrote:

> 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&>
>
> _______________________________________________
> ncl-talk mailing list
> 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/20180619/4806a1aa/attachment.html>


More information about the ncl-talk mailing list