爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 84059|回复: 167

介绍美国干旱减灾中心权威性的计算SPI的可执行程序(WMO采用)

  [复制链接]

新浪微博达人勋

发表于 2013-6-11 13:54:59 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册 新浪微博登陆

x
本帖最后由 hillside 于 2014-8-19 17:58 编辑

      本帖与介绍内布拉斯加大学SPI、PDSI干旱指数程序等的专业性主页-绿叶计划属于姊妹帖。SPI_SL_6.exe 已受到WMO的正式认可。根据浏览,本人大体判断,内布拉斯加大学林肯分校的干旱研究在美国是有相当权威性的。
                                         美国干旱减灾中心的任务与历史(Mission and History)
    The National Drought Mitigation Center (NDMC) helps people and institutions develop and implement measures to reduce societal vulnerability to drought, stressing preparedness and risk management rather than crisis management.
    The NDMC, established in 1995, is based in the School of Natural Resources at the University of Nebraska-Lincoln. The NDMC’s activities include our constantly growing web site; drought monitoring, including participation in the preparation of the U.S. Drought Monitor and maintenance of the web site; developing theU.S. Drought Impact Reporter; a suite of web-based drought management decision-making tools; drought planning and mitigation; drought policy; advising policy makers; collaborative research; K-12 outreach; workshops for federal, state, and foreign governments and international organizations; organizing and conducting seminars, workshops, and conferences; and providing data to and answering questions for the media and the general public. The NDMC is also participating in numerous international projects, including the establishment of regional drought preparedness networks in collaboration with the United Nations’ Secretariat for the International Strategy for Disaster Reduction.

        至于软件的具体用法,除官方页面外,可参见气象家园帖:[分享资料] 分享计算SPI的方法
      以程序本身而言,尽管网络已有一些介绍,然而对于出处却语焉不详。对于科学研究来说,出处与权威性却是值得了解的。
                              Program to Calculate Standardized Precipitation Index
  To run the SPI_SL_6.exe file, right-click on it and save the file. Then execute (double click) the program; a dialogue box will pop up. Enter the number of SPI monthly intervals (up to six at one time) you wish to run (i.e. 1-, 3-, 4-, 6-, 12-month SPI) and enter the input and output file names. You can include one header line (like the station name) within the data input file. This is a little different from the method described in the alternative method file.

  All input files must follow 3-column format: Year, Month and Monthly Precipitation Value. The precipitation total must NOT include decimals and can be in either inches or mm. Pay attention to column spacing and missing data issues. A zero will work; a missing data flag or -9999 will not.
The program is already compiled and all libraries are included (it was compiled in C++ for PC) so all you have to do is run the SPI_SL_6.exe file and follow the instructions on the pop up screen.
KEEP the header in your file (see ValeFormosaPortugalppt.cor file in the sample file zip to the right). Also, rename your input (precipitation file) files so that they have a .cor (ex, lincoln.cor) extension.
Name the output file anything you wish with a .dat (or .txt or .spi etc.) extension. (You may have to look in the code to see if it wants the files named in this way.) Save the files as MS-DOS ascii text files; results can be viewed using Microsoft Notepad or Wordpad. This output data can be plotted, graphed or mapped in any spreadsheet or GIS software.

    For further documentation or to download the original UNIX version of the SPI program, please see http://ccc.atmos.colostate.edu/standardizedprecipitation.php(hillside:因本人时间关系,尚不了解内布拉斯加大学与科罗拉多州立大学在此程序开发上的具体贡献). This site includes some user instructions as well as several additional programs. In the UNIX version, a particularly useful program is rundr_m, which allows you to study a site’s or region’s drought history, including an analysis of frequency and duration for a magnitude ranking of sorts. The main program is runspi, which actually generates the SPI files from monthly precipitation totals files (.cor files).
Again, you only need monthly precipitation values (in inches or mm without decimals) to run these programs, but you must have at least 30 consecutive years without missing monthly data, and more than 60 years is recommended.

    Additional documentation on the SPI is available from the NDMC.


                               
登录/注册后可看大图

                               
登录/注册后可看大图

                               
登录/注册后可看大图

                               
登录/注册后可看大图
Downloads

                               
登录/注册后可看大图

                               
登录/注册后可看大图

                               
登录/注册后可看大图
ProgramSPI_SL_6.exe
Documentationbasic-spi-program-information.pdf
spi-program-alternative-method.pdf
Sample FilesSPI_samplefiles.zip - includes wymo.cor, ValeFormosaSPI.dat, and ValeFormosaPortugalppt.cor



         为便于网友快速使用,现结合官方页面与气象家园帖“[分享资料] 分享计算SPI的方法”,介绍操作方法如下:
        双击SPI_SL_6.exe文件名或在WINDOWS系统命令行下操作(命令行方式通常情况下比双击更加安全,不少dos型可执行程序并不支持文件名双击方式)。以下内容摘自“[分享资料] 分享计算SPI的方法”,顺致谢意。
     1  将各站点降水资料分开存储,并将格式转换成yyy mmm ppp的格式,第一个站点 zhandian1.txt 第二个站点zhandian2.txt ...
    2 复制到SPI程序所在的目录下,运行程序SPI_SL_6.exe(见附件)。结果存放在output1/2/....txt文件中
                                                                      SPI_SL_6.exe的使用方法为:
    1 首先键入需要计算的不同时间段的spi的个数,例如如果需要计算1个月,3个月,6个月,12个月的spi,则键入4,按回车,然后分别键入1,3,6,12(键入一个数字按一次回车)
    2 键入输入数据的文件名,例如zhandian1.txt,按回车
    3 键入输出数据的文件名,例如output1.txt,按回车
    4 依次计算每个站点的标准化降水指数值,分别存在output1.txt  output2.txt .......
    5 根据研究的需要选取SPI值,并用fortran程序正确读取。


注意:用于输入的数据文件(如Kita.cor)中不能出现小数点。用-99表示缺测值(计算结果图中的-99.00不表示缺测,而是SPI计算设定的要求:NOTE: The -99.00 value does not indicate missing data in this case. It simply reflects that, for example, in the fourth column, one cannot have a 3-month SPI value until one is 3 months into the period of record. The same applies to the last column where one does not see a 12-month SPI until December 1949, or the twelfth month available for calculation. This becomes the first 12-month SPI generated.)。文件制备可以用EXCEL或其它文本软件,但最好将输入文件的后缀改为.cor(《SPI用户手册(WMO机构编撰)》称“必须”改为此后缀)。输出文件的后缀为建议取.dat(《SPI用户手册(WMO机构编撰)称“必须” )。
未命名.JPG
Kita.cor数据格式.JPG
SPI用户手册(WMO)的附图.JPG
SPI用户手册(WMO)的结果附图.JPG

spi_sl_6.exe

17.5 KB, 下载次数: 165, 下载积分: 金钱 -5

SPI_samplefiles.zip

19.26 KB, 下载次数: 177, 下载积分: 金钱 -5

SPI用户手册(WMO机构编撰).pdf

616.52 KB, 下载次数: 321, 下载积分: 金钱 -5

Kita.cor

10.75 KB, 下载次数: 119, 下载积分: 金钱 -5

评分

参与人数 1金钱 +2 收起 理由
涵轩 + 2 很给力!

查看全部评分

密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2013-6-11 20:37:38 | 显示全部楼层
第一次看到这个。以前都是matlab实现
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2013-6-12 08:21:23 | 显示全部楼层
第一次看到这个,谢谢
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2013-6-12 18:43:28 | 显示全部楼层
谢谢楼主分享,试试看能否发篇文章
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2013-6-29 12:39:21 | 显示全部楼层
整理的很详细~
谢谢楼主~~~
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2013-8-12 19:31:59 | 显示全部楼层
谢谢分享 ,真的是很好的东东
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2013-8-13 08:58:35 | 显示全部楼层
好东西,谢谢楼主分享,有使用说明比较容易上手。
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2013-8-13 09:28:57 | 显示全部楼层
嗯!先学习一下!
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2013-10-10 10:11:46 | 显示全部楼层
学习了,谢谢楼主
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2013-10-14 22:04:02 | 显示全部楼层
感谢楼主分享。。。
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表