月份归档 / Archive for January, 2007
7Timer!恢复/GRIB2进展
Jan 30 Tue
恶补了php+shell课程之后,终于依靠自己把7Timer!弄好了,现在又对php+shell大感兴趣,终于觉得linux好处多多!最妙的就是发现php、shell原来和我学的GrADS下的fortran有些相似,学起来就更有底气了。于是决定拿ArP开刀,把lzq的代码优化一下,增添一些有趣的新功能,然后再自己写几个有意思的php小程序。
本来打算修好7Timer!之后,就完善一下ArP,然后开始弄CMCN。没想到又给GRIB2缠上了,因为NCEP的GFS新产品,精度竟然达到0.5度,比现在我用的1度的好多了。(虽然只是差了2倍,可在3维空间里就是2^3=8!所以要努力争取啊)
可是么,好东西就是难用上。其实高考结束我就发现它了,但就是因为GrADS不支持GRIB2才放手的。今天忙碌了一个下午,哎…… 这个GrADS也真是慢腾腾,用了2年了,还是1.8-s11和1.9-b4两个版本,估计要等到猴年马月才会支持GRIB2。和我们的班主任王老师讨教了一阵,于是现在有2种办法:
- grib2ctl+wgrib2尝试。可这个grib2ctl真是很抠门,在linux+perl下才能运行。LASG给的exe转译文件也没法和wgrib2结合起来。wgrib2么?倒也是可以,但是要在linux环境下自己编译和安装。本人太懒,不大想走这条路,于是留下几个网站:
- http://www.cpc.ncep.noaa.gov/products/wesley/wgrib2/ wgrib2的网站,这个家伙真是够有趣
- http://www.cpc.ncep.noaa.gov/products/wesley/grib2ctl.html grib2ctl的网站,和上面的都是一个人开发的
- degrib。现在就在尝试,因为看来要可行的多。其实它就是先把GRIB2转成GRIB1然后再处理,但如果真的能弄成,估计要耗掉一大堆系统资源…… lamost估计要给弄垮了说。不管,我先试试看。
- http://www.nws.noaa.gov/mdl/degrib/grads.php
- http://www.weather.gov/mdl/degrib/ 这就是我们要用的degrib。一开始,我第一次有这种感觉:“天啊!怎么是windows的图形界面?难道就没有linux的……”放心,绝对不会亏待你的,找到linux版本了。
于是现在事情看起来简单多了。在服务器上安一个degrib,然后就用新学的php+shell调度下载GRIB2的数据然后degrib成GRIB1,再由你宰割吧。哈哈哈哈!不过,其他的task就又要delay了……
Popularity: 6%
7Timer! recovery done
Jan 30 Tue
After fixed several problems, the ArP is now working properly. ArP version now upgrade to 2.1-b4, and 7Timer! version now is 3.2-s2.
I'm now working on these fields:
- Try to switch to GRIB2 files, it will raise the resolution from 1 deg to 0.5 deg.
- Evaluating ArP, for more funtion.
- Develop 7Timer!-Live (temp name), for daily/regular usage.
Popularity: 2%
7Timer! recovery delay
Jan 30 Tue
Sadly, the ArP (Auto-run Program) encounted a problem again, the processing software, GrADS, was not properly set and led to complex problems. I'm unable to handle it today. Give it another try tomorrow.
Popularity: 1%
7Timer! recovery progress
Jan 25 Thu
Today word for a whole day on the ArP, thankfully I finally locate the problems and have them fixed, after some "php snacks" for a basic knowledge of php coding. GrADS can be started by the shell files.
After around half an hour the Crontab will automatically started the ArP and we can figure how it works after these operations...
Popularity: 1%

最新评论 Recent Comments