Skip Navigation Links weather.gov 
NOAA logo - Click to go to the NOAA homepage National Weather Service   NWS logo - Click to go to the NWS homepage
The Weather Prediction Center

Necessary changes to GFS data download scripts due to changes in both the NOMADS and TGFTP servers on Jan 15, 2015

Changes to "datosectorgfs" programs
On January 15 2015, file and folder names were changed in the NOMADS server. Thus, the scripts used to download data in an automatic manner do not work anymore. These can be fixed by making four replacements in each of the programs you use.
1. Enter the NOMADS server from a browser
http://nomads.ncep.noaa.gov/
2. Datosectorgfs downloads 0.5-degree resolution data, so in the table, click on the "grib filter" entry in the GFS 0.50 Degree row. This should lead you to the following website.
http://nomads.ncep.noaa.gov/cgi-bin/filter_gfs_0p50.pl
3. When entering the datosectorgfs programs you can already tell that the folder has changed. Before, the folder was "filter_gfs_hd.pl" and now it is "filter_gfs_0p50.pl". Thus, you need to access each of the programs you use and replace all the occurrences of "filter_gfs_hd.pl" by "filter_gfs_0p50.pl".
4. Enter any of the files. For example, you can enter Jan 16 2015 00z. This would be: gfs.2015011600. Once inside the website for this file, the address should read "http://nomads.ncep.noaa.gov/cgi-bin/filter_gfs_0p50.pl?dir=%2Fgfs.2015011600". The next difference notes is the folder. Where it says dir=%... , it currently says "dir=%2Fgfs.2015011600" while the scripts have "dir=%%2Fgfs.%date_string%00%%2Fmaster". There is one replacement that needs to be made (ignoring the quotations): all occurrences of "%%2Fmaster" by "" <--this means, remove all occurrences of %%2Fmaster .
5. Finally file names need to be replaced for the new ones. For all the forecast hours that are lower than 100, all the occurrences that say "file=gfs.t00z.mastergrb2f" need to be replaced by "file=gfs.t00z.pgrb2full.0p50.f0". For forecast hours that are equal or higher than 100 "file=gfs.t00z.mastergrb2f" should be replaced by "file=gfs.t00z.pgrb2full.0p50.f".
This should solve the problems with the datosectorgfs programs.
Changes to "tgftp server" programs
The only difference is an extra zero, from 1p0deg to 1p00deg .

Explicación en español

(1) Cambios necesarios a los programas "datosectorgfs"
El 15 de enero de 2015, cambiaron los nombres de los archivos y directorios en el servidor NOMADS, por lo tanto los scripts que utilizaban para bajar los datos de manera automatica ya no funcionan. Estos se pueden arreglar haciendo 4 reemplazos en cada uno de los programas que usen.
1. Ingresar al servidor NOMADS desde un browser (opcional)
http://nomads.ncep.noaa.gov/
2. Datosectorgfs baja datos de 0.5 grados de resolucion, asi que en la tabla inferior, ingrese a "grib filter" en la fila correspondiente a 0.5 grados. Esto le deberia llevar a la siguiente pagina
http://nomads.ncep.noaa.gov/cgi-bin/filter_gfs_0p50.pl
3. Entrando a los programas de datosectorgfs ya se ve que hay un cambio en este folder. En vez de ser "filter_gfs_hd.pl" ahora es "filter_gfs_0p50.pl". En cada programa que utilice, reemplazar todas los textos que dicen "filter_gfs_hd.pl" por "filter_gfs_0p50.pl".
4. Ingrese a cualquiera de los archivos. Por ejemplo al del 16 de enero de 2015 a las 00z. Este seria gfs.2015011600. Una vez dentro de la pagina, la direccion deberia leer "http://nomads.ncep.noaa.gov/cgi-bin/filter_gfs_0p50.pl?dir=%2Fgfs.2015011600".\ El segundo cambio que se nota, es que donde dice dir=%..., ahora dice "dir=%2Fgfs.2015011600" mientras en los scripts dice "dir=%%2Fgfs.%date_string%00%%2Fmaster". El reemplazo que debe hacerse para que funcione el script es (sin apostrofes) cambiar "%%2Fmaster" por "" <--o sea, borrar todas las ocurrencias de %%2Fmaster .
5. Finalmente, hay que reemplazar los nombres de los archivos. Para las horas de pronostico que sean menores a 100, reemplazar todas las ocurrencias de "file=gfs.t00z.mastergrb2f" por "file=gfs.t00z.pgrb2full.0p50.f0". Para los archivos de horas iguales o mayores a 100, reemplazar todas las ocurrencias de "file=gfs.t00z.mastergrb2f" por "file=gfs.t00z.pgrb2full.0p50.f".
Esto deberia solucionar los problemas con los programas de datosectorgfs que bajan la informacion del servidor NOMADS.
Cambios al servidor TGFTP
La única diferencia es la adicción de un cero al nombre del archivo. Por ejemplo: lo que leía 1p0deg, ahora es 1p00deg.


NOAA/ National Weather Service
National Centers for Environmental Prediction
Weather Prediction Center
5830 University Research Court
College Park, Maryland 20740
Weather Prediction Center Web Team
Disclaimer
Credits
Glossary
Privacy Policy
About Us
Career Opportunities
Page last modified: Thursday, 12-May-2022 19:50:38 UTC