POST Gridded Calculation

Combine forecast variables with arithmetic, functions, and aggregations. Select one or more forecast hours, or omit forecast_hours to calculate every available hour. The result uses the forecast's native grid. See About Custom Calculations for calculation syntax and examples.

Request parameters

The output uses the same grid as the input data. Geographic subsetting may include extra cells around the requested area's edges. Omit lat_range and lon_range for wm-6-3km .

Select forecast hours

Each selected forecast hour is calculated separately. Hours that do not have all required input data are skipped, and results for the remaining hours are returned. If no selected hour can be calculated, the request returns HTTP 400.

Response parameters

A successful response downloads a .zarr.zip file. The table below describes the arrays and metadata inside that file, rather than fields in a JSON response.

Forecast inputs keep their native units. The unit of the calculated values depends on the calculation’s inputs and operations.

Open the downloaded ZIP as a Zarr store, then read result together with its named dimensions and the root evaluations metadata.

Calculate three-hour temperature range
Response
content-type: application/zip
content-disposition: attachment; filename="data.zarr.zip"