[ncl-talk] SPEI calculation

Dennis Shea shea at ucar.edu
Tue Feb 4 14:00:23 MST 2020


As noted by Toni, there is no '*spei*' function in NCL.
---
If you go to the R-CRAN site:
   *https://cran.r-project.org/web/packages/SPEI/index.html*
<https://cran.r-project.org/web/packages/SPEI/index.html>
you can get the R and C code used by R 1.7
---

<https://spei.csic.es/tools.html>
Good luck





On Tue, Feb 4, 2020 at 12:15 PM Soma Roy via ncl-talk <ncl-talk at ucar.edu>
wrote:

> I am looking for ncl use only.
>
> Soma
>
> On Wed, Feb 5, 2020, 00:23 Toni Klemm <toni-klemm at tamu.edu> wrote:
>
>> Hi Soma,
>>
>> I had the same question a few months ago. Unless something changed, there
>> isn’t an easy way to calculate SPEI in NCL (like, there is no function). I
>> used the SPEI package for R when I had to calculate SPEI, which took a
>> while to learn for me (with help from colleagues), but I got my values
>> eventually (monthly SPEI) and was able to use them in NCL from there on to
>> aggregate to what I needed.
>>
>> Toni
>>
>>
>>
>> *Toni Klemm, Ph.D.*Postdoctoral Research Associate
>> Department of Ecology and Conservation Biology
>> College of Agriculture and Life Sciences
>> Texas A&M University, College Station, TX
>> www.toni-klemm.de | @toniklemm <http://www.twitter.com/toniklemm>
>> Editorial Board member, Early Career Climate Forum
>> <http://www.eccforum.org>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Feb 4, 2020, at 12:23 PM, Soma Roy via ncl-talk <ncl-talk at ucar.edu>
>> wrote:
>>
>> Hello NCL users,
>>
>> Is there any script available in ncl to calculate SPEI for 3, 6, 9, 12
>> months run length?
>>
>> Please kindly inform me.
>>
>> Thanks,
>> Soma
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>>
>> https://urldefense.proofpoint.com/v2/url?u=http-3A__mailman.ucar.edu_mailman_listinfo_ncl-2Dtalk&d=DwICAg&c=u6LDEWzohnDQ01ySGnxMzg&r=zmhRVp0i4wZ5_1Ujh0fnRXAExHgKLTQu0rZLW7PxKA4&m=50D7UrZSBzJVxXUEqG29oDeKhy6aO2-Lksc1RRDIPNs&s=1O7oNBtBDRk9xdp172FYiVzm9ZBHUkcuHs2k7gS3gaw&e=
>>
>>
>> _______________________________________________
> 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/20200204/acc68c3d/attachment.html>


More information about the ncl-talk mailing list