Request Size Limit

A request size limit is enforced. When the request format is JSON or CSV the limit is 1000000 values, when requesting NetCDF files the limit is 10000000 values.

The request size is calculated by # parameters * # time steps * # locations.

Examples

  • Given a data source with 15 minute temporal resolution the request for 2 parameters for a 6-hour interval from 3 stations will result in a request size of

    2 * (6 * 4) * 3 = 144
    
  • Given a data source with 1 hour temporal resolution and 1 by 1 km spatial resolution the request for 12 parameters for a 24-hour interval on a 6 * 8 km grid results in a request size of

    12 * 24 * (6 * 8) = 13824
    

Note

The request size is calculated before the request is processed.

Because the request size is calculated before the request is processed missing values are included in the calculation count. Therefore, a request may hit the request size limit even if no values for the requested range exist. For example the request v1/station/historical/tawes-v1-10min?station_ids=11072&parameters=TL&parameters=TLMIN&parameters=TLMAX&start=1990-01-01&end=2000-01-01 requesting multiple parameters for the 1990s for TAWES station 11072 (Neusiedl am See) will say the request is to big even if the station only went into service in 2016.