Generate weather files

Several actual years, one file each

One AMY file per year in the range. 1 credit per year.

Starts a background job and returns {"job_id": ...} immediately. Credits are charged on submission and refunded if the job fails; the balance after the call is in the X-Credits-Remaining response header. Then poll GET /api/jobs/{job_id}, stream /api/jobs/{job_id}/stream.

post/api/generate/multi-year

Request

  • Base URL
    https://epw.tools
  • Auth
    API key in header X-API-Key

Headers

X-API-Key, string nullable

Request body

MultiYearRequest required
lat, number required
lon, number required
location_name, string required
start_year, integer required
end_year, integer required
file_type, string
data_source, string
leap_day, string
dc_edition, string

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 35 revisions of this API.