爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 6383|回复: 1

[分享资料] Visualization Using Grib Format of ECMWF Model Result

[复制链接]

新浪微博达人勋

发表于 2019-9-22 14:54:30 | 显示全部楼层 |阅读模式

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

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

x
本帖最后由 tkdgh1237412 于 2019-9-22 15:00 编辑

[Characteristic]
  • Visualization tools are needed to understand ECMWF model results, and this program is software designed to accomplish this purpose.


[Function]
  • Convert grib data to another format
    • [Method 1] converting grib-> ctl using wgrib batch file
    • [Method 2] grib-> NetCDF conversion using ncl library
  • Visualize in ctl or NetCDF format


[Materials]
  • Data : Surface temperature in ECMWF model
  • Period : June 2016
[size=13.3333px]

[Method]
  • None


[How to]
  • Same directory location for libraries required for GrADS visualization
    • xcbar.gs (Source : http:// + kodama.fubuki.info/wiki/wiki.cgi/GrADS/script?lang=jp)
    • worldmap (Source : ftp:// + cola.gmu.edu/grads/boundaries/worldmap)
  • convert grib data to ctl
    • [Method 1] converting grib-> ctl using wgrib batch file

      • [Step 1] Download grib2ctl.pl source code
        wget "ftp:// + ftp.cpc.ncep.noaa.gov/wd51we/wgrib.scripts/grib2ctl.pl "
      • [Step 2] wgib.c source code download
        wget "ftp:// + ftp.cpc.ncep.noaa.gov/wd51we/wgrib/wgrib.c"
      • [Step 3] Compiling with wgrib.c
        gcc wgrib.c -o wgrib
      • [Step 4] Setting and Granting wgrib and GrADS Environment Variables
        open grib2ctl.pl
        $wgrib=’wgrib’
        $wgrib=’/usr/local/bin/wgrib
        $pdef_dir=’/usr/local/lib/grads
        chmod 755 grib2ctl.pl

      • [Step 5] Transform ctl according to analysis site and prediction field
        • Analyst Field
          grib2ctl.pl grib_file > grib_file.ctl
          gribmap -i grib_file.ctl -0

        • Prediction
          grib2ctl.pl -verf grib_file > grib_file.ctl
          gribmap -i grib_file.ctl

      • Link reference
        open grib2ctl.pl
        $wgrib=’wgrib’
        $wgrib=’/usr/local/bin/wgrib
        $pdef_dir=’/usr/local/lib/grads
        chmod 755 grib2ctl.pl

    • [Method 2] grib-> NetCDF conversion using ncl library
      ncl_convert2nc grib_file > input.nc

  • Visualization_Using_Grib_Format_of_ECMEF_Model_Result.csh)
  • Check the visualization result


[OS]
  • Linux


[Language]
  • GrADS
  • ShellScript (csh)


[Source Code]
  • Visualization Using Grib Format of ECMWF Model Result
  • https:// + shlee1990.tistory.com/71


  • Visualization Using ASCII Format Radiation Transfer Model (RTM) Result
  • https:// + shlee1990.tistory.com/69


  • Visualization using Medium Weather Model (WRF ARW)
  • https:// + shlee1990.tistory.com/67



[Result]
  • Visualize surface temperature using ECMWF model results
20190922_155539.png


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

新浪微博达人勋

发表于 2019-9-22 18:16:28 | 显示全部楼层
收益了,多谢
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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