Go to NCEP homepage Go to NWS homepage Go to AWC homepage Disclaimer Feedback FAQ About ADDS Turbulence Icing Convection Winds/Temps Progs Java Tools METARs TAFs PIREPs AIR/SIGMETs Satellite Radar
ADDS homepagedataserver
ADDS homepagedataserverMETARsTAFsPIREPsAIRMETsSatelliteRadar
 

Best Practices for Retrieving Data


Please be considerate of other users. If you anticipate making numerous requests for data for an extended period of time, you should contact us . We will happily assist you in designing your queries to minimize the impact to other users' access to the dataserver. Abuse of the service may result in restricted access.

Use the constraint version of the MostRecentForEachStation whenever possible

Use generated current data files

Minimize number of requests whenever possible

  • For example: when retrieving more than one station, instead of making numerous requests for single stations consider combining this into one request:

  • Multiple requests:
    dataSource=metars&requestType=retrieve&format=xml&hoursBeforeNow=2&stationString=KDEN
    dataSource=metars&requestType=retrieve&format=xml&hoursBeforeNow=2&stationString=KMIA
    dataSource=metars&requestType=retrieve&format=xml&hoursBeforeNow=2&stationString=KSFO
    dataSource=metars&requestType=retrieve&format=xml&hoursBeforeNow=2&stationString=KSLC
    dataSource=metars&requestType=retrieve&format=xml&hoursBeforeNow=2&stationString=KLAX
    dataSource=metars&requestType=retrieve&format=xml&hoursBeforeNow=2&stationString=PHNL
    dataSource=metars&requestType=retrieve&format=xml&hoursBeforeNow=2&stationString=PHTO
    dataSource=metars&requestType=retrieve&format=xml&hoursBeforeNow=2&stationString=CYZT
    dataSource=metars&requestType=retrieve&format=xml&hoursBeforeNow=2&stationString=KORD
    dataSource=metars&requestType=retrieve&format=xml&hoursBeforeNow=2&stationString=CYQB
    dataSource=metars&requestType=retrieve&format=xml&hoursBeforeNow=2&stationString=CYLL
    ...

    Single request:
    dataSource=metars&requestType=retrieve&format=xml&hoursBeforeNow=2
    &stationString=KDEN,KMIA,KSFO,KSLC,KLAX,PHNL,PHTO,CYZT,KORD,CYQB,CYLL, ...  

Don't unecessarily request large amounts of data

  • Constraining requests as much as possible improves response time and overall server load. Consider using time, station, and geographic constraints as appropriate to make the query as specific as possible.

Data compression may be useful

  • Compress data using the "compression=gzip" parameter in your request. This compresses your results and decreases the size of the returned file. XML results compress very well. This is especially relevant for users concerned with bandwidth.
Please send questions and comments regarding the dataserver
 
 
Turbulence    Icing    Convection    Winds/Temps    Progs    Java Tools
METARs    TAFs    PIREPs    AIR/SIGMETs    Satellite    Radar
 
Page loaded:  09:52 UTC
01:52 AM Pacific  |   02:52 AM Mountain  |   03:52 AM Central  |   04:52 AM Eastern
adds-web1