Creating GrADS control file for GFS Grib2 data
This tutorial is about creating a control file (ctl) for GFS grib2 data using g2ctl perl script. Then open this file in GrADS and make an output. Read the description below for more info. First step : Download Perl script g2ctl from ftp://ftp.cpc.ncep.noaa.gov/wd51we/g2ctl/g2ctl Keep it in your working directory and follow the steps in the video. Requirements ═══════════════════════════════════════════════ GrADS/Opengrads ( http://cola.gmu.edu/grads/ ) Perl ( https://www.perl.org/ ) Perl script - g2ctl.pl ( ftp://ftp.cpc.ncep.noaa.gov/wd51we/g2ctl/g2ctl ) For Grib1 files, please use ══════════════════════════════════════ script from http://www.cpc.ncep.noaa.gov/products/wesley/grib2ctl.html and follow the instructions For multiple input files═════════════════════════════════════════ First of all, create a CTL file for a single file, then modify the CTL file. You need to change the first line specifying the grib file in the CTL file, as dset ^gdas1.fnl0p25.2020081512.f00.grib2 In this format, year, month, and days are written in variable format with representative digits dset ^gdas1.fnl0p25.202008%d2%h2.f00.grib2 (here %d2 represents days having 2 digits, similarly %h2 means hours having 2 digits, for ref: http://cola.gmu.edu/grads/gadoc/templates.html ) Secondly, below that line, add one more following line to take CTL as a template, options template Thirdly, you need to specify the time dimension, tdef, in this case (or additional dimension increment in multiple files). In this example, I am using 6 hourly data of GDAS and have 15 files in total starting from 00Z 15 AUG 2020. tdef 15 linear 00Z15aug2020 6hr Then save the CTL file. For reference : http://cola.gmu.edu/grads/gadoc/templates.html http://cola.gmu.edu/grads/gadoc/descriptorfile.html http://gradsusr.org/pipermail/gradsusr/2011-March/029617.html http://gradsusr.org/pipermail/gradsusr/2011-March/029618.html
This tutorial is about creating a control file (ctl) for GFS grib2 data using g2ctl perl script. Then open this file in GrADS and make an output. Read the description below for more info. First step : Download Perl script g2ctl from ftp://ftp.cpc.ncep.noaa.gov/wd51we/g2ctl/g2ctl Keep it in your working directory and follow the steps in the video. Requirements ═══════════════════════════════════════════════ GrADS/Opengrads ( http://cola.gmu.edu/grads/ ) Perl ( https://www.perl.org/ ) Perl script - g2ctl.pl ( ftp://ftp.cpc.ncep.noaa.gov/wd51we/g2ctl/g2ctl ) For Grib1 files, please use ══════════════════════════════════════ script from http://www.cpc.ncep.noaa.gov/products/wesley/grib2ctl.html and follow the instructions For multiple input files═════════════════════════════════════════ First of all, create a CTL file for a single file, then modify the CTL file. You need to change the first line specifying the grib file in the CTL file, as dset ^gdas1.fnl0p25.2020081512.f00.grib2 In this format, year, month, and days are written in variable format with representative digits dset ^gdas1.fnl0p25.202008%d2%h2.f00.grib2 (here %d2 represents days having 2 digits, similarly %h2 means hours having 2 digits, for ref: http://cola.gmu.edu/grads/gadoc/templates.html ) Secondly, below that line, add one more following line to take CTL as a template, options template Thirdly, you need to specify the time dimension, tdef, in this case (or additional dimension increment in multiple files). In this example, I am using 6 hourly data of GDAS and have 15 files in total starting from 00Z 15 AUG 2020. tdef 15 linear 00Z15aug2020 6hr Then save the CTL file. For reference : http://cola.gmu.edu/grads/gadoc/templates.html http://cola.gmu.edu/grads/gadoc/descriptorfile.html http://gradsusr.org/pipermail/gradsusr/2011-March/029617.html http://gradsusr.org/pipermail/gradsusr/2011-March/029618.html