---
title: "Generate Future From Own Epw"
method: POST
path: "/api/generate/future-climate/own-epw"
tags: ["Generate weather files"]
---

# Generate Future From Own Epw

`POST /api/generate/future-climate/own-epw`

## Request

- Base URL: `https://epw.tools`
- URL: `https://epw.tools/api/generate/future-climate/own-epw`
- Auth: API key in header `X-API-Key`

## Request body `multipart/form-data`

- BodyGenerateFutureFromOwnEpwApiGenerateFutureClimateOwnEpwPost
  - `file` string, binary, required: The EPW to morph (8760 or 8784 rows)
  - `scenario` string
  - `horizon` integer
  - `model` string, nullable: CMIP6 model or EURO-CORDEX pair; none: the CMIP6 ensemble median
  - `method` string
  - `solar_split` string: direct/diffuse of the morphed sun: scale (keep the file's split) or a decomposition model
  - `illuminance` string: illuminance after the morph: kept (each component's efficacy kept) or perez (Perez 1990)
  - `sun_fix` string: corrections of the upload's sun, comma-separated: none (default; the check is reported either way) or any of shift, night, bound, resplit
  - `sun_model` string: decomposition model of sun_fix=resplit
  - `dc_edition` string
  - `grid_method` string: how the CMIP6 change is read from the grid: box idw4 nearest bilinear area spline
  - `spread_variant` string: median plus_sd minus_sd p10 p90 (ensemble median only)
  - `temp_shift_winter` number: sensitivity case: winter change moved by this multiple of the model spread
  - `temp_shift_summer` number: sensitivity case: summer change moved by this multiple of the model spread
  - `location_name` string, nullable
  - `already_future` boolean: the file is already a future file: go on and say so in the header

## Response `200`

Successful Response

- unknown

## Other responses

- `402`: Insufficient credits for this operation.
- `422`: Validation Error
- `429`: Rate limit exceeded — retry after a short delay.

## Changes

- **2026-11-23** `a9d82bafd6f7`: 7 info
  - added the new optional request property `grid_method`
  - added the new optional request property `illuminance`
  - added the new optional request property `spread_variant`
  - added the new optional request property `sun_fix`
  - …3 more
- **2026-11-23** `b83e0e159a1e`: 1 info
  - added the new optional request property `solar_split`
- **2026-11-21** `5d9f4760d2a5`: 1 info
  - added the new optional request property `already_future`
- **2026-11-17** `6a866ca9debd`: 2 info
  - the `model` request property default value `MRI-ESM2-0` was removed
  - request property `model` list-of-types was widened by adding types `null` to media type `multipart/form-data`
- **2026-11-17** `dba7267faf39`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/epw/apis/epw-tools-api/changes/api/generate/future-climate/own-epw/post.md)

---

[API](https://skmtc.dev/epw/apis/epw-tools-api.md) - [All operations](https://skmtc.dev/epw/apis/epw-tools-api/llms.txt) - [OpenAPI document](https://skmtc.dev/epw/apis/epw-tools-api/revisions/d725849ac85e?raw)
