Skip to main content
POST
A weather document from ERA5, NASA POWER, an EPW, an NSRDB or Solcast CSV or a WAsP grid, minted as an SP snapshot (GP4)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
connector
enum<string>
required

weather.era5 | weather.nasa_power | weather.epw | weather.csv | wind.wrg

Available options:
weather.era5,
weather.nasa_power,
weather.epw,
weather.csv,
wind.wrg
async
boolean

A fetch is always a job

blob
string

A stored payload's key

bounds
number[]

[west, south, east, north] degrees; a point (west = east, south = north) is the site

credit
string[]

Credit lines carried onto the document and every result

crs
string

wind.wrg: the grid's projected CRS (EPSG:7855)

csv
object

weather.csv: {layout: nsrdb | solcast, stamp, wind_height_m}

fetch
object

{latitude, longitude, start, end} (ERA5: YYYY-MM-DD, POWER: YYYYMMDD): fetch the payload as a job

fetched_at
string

When it was fetched, RFC 3339

include_document
boolean

Also answer the document

licence
string

The payload's licence as read (ERA5: CC-BY-4.0; a customer's file: theirs)

name
string

A name for the snapshot and document

payload_base64
string

The payload, base64

source
object

{provider, dataset, version, url}: where the payload came from

text
string

The payload as text (a CSV, EPW or WRG file's contents)

Response

connector, snapshot_key, weather_key, payload_key, data_key, blob_uri, licence, fetched_at, fetch, weather, notes

The response is of type object.