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.
Request Body
text/plain
Space- or tab-separated .txt file of aspect values.
Query Parameters
Prop
Type
Header Parameters
Prop
Type
import requestsbase_url: str = "https://firesim.cs.gsu.edu/api/loadAspect/"response = requests.post( base_url, params={"userToken": "abc123xyz"}, files={"file": open("aspect.txt", "rb")}, headers={"fileName": "aspect.txt"},)print(response.text)"Aspect Map Updated"""{
"timestamp": "2026-05-20T16:42:15.604+00:00",
"status": 500,
"error": "Internal Server Error",
"path": "/api/loadAspect"
}Response Body
text/plain
text/plain
application/json
loadFuel
Upload a custom fuel map from a space- or tab-separated .txt file. The file is sent as the raw request body with Content-Type `text/plain` and a `fileName` header. Uploading a fuel map updates `cellDimension` to match the file's grid size and also updates `cellResolution` from the file's `cellsize` field if present. **File format:** space- or tab-separated grid of integer fuel model values, one row per line. The number of rows and columns defines the cell space dimensions.
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.