QICP Login    Registration info
Skip Navigation Links weather.gov 
NOAA logo-Select to go to the NOAA homepage
NOAA's National Weather Service
  Select to go to the NWS homepage
Aviation Digital Data Service (ADDS)
     

 


USA.gov is the U.S. Government's official Web portal to all Federal, state and local government Web resources and services.

ADDS Home PageTurbulenceIcingConvectionWinds/TempsProg ChartsJava Tools Dataserver site description
METARsC&VTAFsPIREPsAIRMETsSatelliteRadar

Best Practices for Retrieving Data

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.

Use generated current data files

Minimize number of requests when 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.

Use the constraint version of the MostRecentForEachStation whenever possible



Turbulence     Icing     Convection     Winds/Temps     Progs     Java Tools
METARs     TAFs     PIREPs     SIGMET/AIRMET     Satellite     Radar
Page loaded:   02:47 UTC
19:47 PM Pacific   |   20:47 PM Mountain   |   21:47 PM Central   |   22:47 PM Eastern   |   WOC34

NOAA's National Weather Service
National Centers for Environmental Prediction
Aviation Weather Center
7220 NW 101st Terr., Room 118
Kansas City, MO 64153-2371
Contact AWC Internet Services
Page last modified: February 26, 2013
Disclaimer

Credits

Glossary
Privacy Policy

About Us

Career Opportunities

This Qualified Internet Communication Provider's (QICP) servers and communication interfaces are approved by the FAA as secure, reliable, and accessible in accordance with AC 00-62.
    1) This QICP does not ensure the quality and currency of the information transmitted to you.
    2) The user assumes the entire risk related to the information and its use.