Source and NomadsDownloader.jar can be found under sftp://resy5.iket.kit.edu/dedicated/Yu/JRodos_Tools/NomadsDownloader
In this version, bugfix has been done to using data from http://www.ftp.ncep.noaa.gov/data/nccf/com/gfs/prod/.
Currently, only grib2 option is supported. Using of other options may not work.
java -jar NomadsDownloader.jar [–grib2] [yyyyMMddhh] [{tt1,tt2,tt3}]
For example:
java -jar NomadsDownloader.jar –grib2 2015031800 {00, 03, 05}
This command will get the forecast data from national wetter service. The data for 0, 3 and 5 hour after 2015.03.18 00:00 oclock will be downloaded.
1. Copy the NomadDownloader.jar to your local folder.
2. Open the cmd dosbox on windows or terminal on linux.
3. Under http://www.ftp.ncep.noaa.gov/data/nccf/com/gfs/prod/ you can find which data is available online. For example, on March the data fold gfs.2015031800 can be found online. We can take 2015031800 as parameter for next step.
4. Run following command under the path of your local folder:
java -jar NomadsDownloader.jar –grib2 2015031800 {00, 03, 05}
As output in console you can see:
Try download http://www.ftp.ncep.noaa.gov/data/nccf/com/gfs/prod/gfs.2015031800/gfs.t00z.pgrb2.0p50.f000 Try download http://www.ftp.ncep.noaa.gov/data/nccf/com/gfs/prod/gfs.2015031800/gfs.t00z.pgrb2.0p50.f003 Try download http://www.ftp.ncep.noaa.gov/data/nccf/com/gfs/prod/gfs.2015031800/gfs.t00z.pgrb2.0p50.f005
The data will be downloaded into “local folder/data_download/grib2”