[ncl-talk] trend_plot_query
Rashed Mahmood
rashidcomsis at gmail.com
Thu Jun 21 10:42:52 MDT 2018
The problem is that you did not specify time correctly. See attached script
and plot.
Please next time send a cleaner code, for example, there was a part which
needed a shapefile. I turned it off ...
On Wed, Jun 20, 2018 at 9:35 PM, Kunal Bali <kunal.bali9 at gmail.com> wrote:
> sorry for the late reply.
>
> please find the data and script in the attached file.
>
>
> thanks for sharing your thoughts.
> ---
> 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&>
>
> On Tue, Jun 19, 2018 at 9:10 PM Rashed Mahmood <rashidcomsis at gmail.com>
> wrote:
>
>> 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/20180621/4376590f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trend.ncl
Type: application/octet-stream
Size: 4251 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180621/4376590f/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trend_BCDD_jan.png
Type: image/png
Size: 104335 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180621/4376590f/attachment.png>
More information about the ncl-talk
mailing list