loadSlope
Upload a custom slope map from a space- or tab-separated .txt file. Sent as a raw `text/plain` body with a `fileName` header. Also updates `cellResolution` from the file's `cellsize` field if present. **File format:** space- or tab-separated grid of double-precision slope values (percent), one row per line. Must match the dimensions of any uploaded fuel or aspect map.
Request Body
text/plain
Space- or tab-separated .txt file of slope values.
Query Parameters
Prop
Type
Header Parameters
Prop
Type
import requestsbase_url: str = "https://firesim.cs.gsu.edu/api/loadSlope/"response = requests.post( base_url, params={"userToken": "abc123xyz"}, files={"file": open("slope.txt", "rb")}, headers={"fileName": "slope.txt"},)print(response.text)"Slope Map Updated"""{
"timestamp": "2026-05-20T16:42:18.015+00:00",
"status": 500,
"error": "Internal Server Error",
"path": "/api/loadSlope"
}Response Body
text/plain
text/plain
application/json
loadAspect
Upload a custom aspect map from a space- or tab-separated .txt file. Sent as a raw `text/plain` body with a `fileName` header. Also updates `cellResolution` from the file's `cellsize` field if present. **File format:** space- or tab-separated grid of double-precision aspect values (degrees), one row per line. Must match the dimensions of any uploaded fuel or slope map.
loadWindFlow
Upload a wind-flow schedule file for dynamically changing wind conditions. **File format** (matches [SIMS sample weather_artificial.txt](https://sims.cs.gsu.edu/sims/research/DEVSFIREAPI/weather_artificial.txt)): ```text ncols 5 nrows 13 Hour Min Temp wspd Dir 0 0 0 5.6 67 ... ``` - Line 1: `ncols N` — number of columns - Line 2: `nrows N` — number of data rows - Line 3: column headers (space-separated) - Line 4+: space-separated rows: hour, minute, temperature, windSpeed, windDirection Send as `text/plain` body with a `fileName` header.