A modern, tested, open source GFS model downloader built on NodeJS 🔨
MIT License
A modern, tested, open source GFS model downloader built on NodeJS
> npm i -g gfsscraper
> gfsscraper --help
> gfsscraper downloadStep --run "2018082712" --step "000" --outFile ./out.grib2 --parameterHeightGroups TMP:2maboveground LAND:surface
import * as gfsScraper from 'gfsscraper';
gfsScraper.downloadStep('./out.grib2', '2018082712', '000', 'all'); // Downloads all parameters and heights for selected step
gfsScraper.downloadStep('./out.grib2', '2018082712', '000', [{
height: '2maboveground',
parameter: 'TMP'
}, {
height: 'surface',
parameter: 'LAND'
}]);
The industry standard for GFS GRIB file downloading is get_gfs.pl
. It's quite old, and not a whole lot of people are proficient in perl... Hopefully TypeScript is easier to maintain and improve!
Also, making new things is fun!
> ./build.sh
> npm t