# 1:4.1 Elevation Bands

Orographic precipitation is a significant phenomenon in certain areas of the world. To account for orographic effects on both precipitation and temperature, SWAT+ allows up to 10 elevation bands to be defined in each subbasin. Precipitation and maximum and minimum temperatures are calculated for each band as a function of the respective lapse rate and the difference between the gage elevation and the average elevation specified for the band. For precipitation,

$$R\_{band}=R\_{day}+(EL\_{band}-EL\_{gage})\*\frac{plaps}{days\_{pcp,yr}\*1000}$$ when $$R\_{day}>0.01$$                                             1:4.1.1

where $$R\_{band}$$ is the precipitation falling in the elevation band (mm H$$*2$$O), $$R*{day}$$ is the precipitation recorded at the gage or generated from gage data (mm H$$*2$$O), $$EL*{band}$$ is the mean elevation in the elevation band (m), $$EL\_{gage}$$ is the elevation at the recording gage (m), $$plaps$$ is the precipitation lapse rate (mm H$$*2$$O/km), $$days*{pcp,yr}$$ is the average number of days of precipitation in the subbasin in a year, and 1000 is a factor needed to convert meters to kilometers. For temperature,

$$T\_{mx,band}=T\_{mx}+(EL\_{band}-EL\_{gage})\*\frac{tlaps}{1000}$$                                                                                            1:4.1.2

$$T\_{mn,band}=T\_{mn}+(EL\_{band}-EL\_{gage})\*\frac{tlaps}{1000}$$                                                                                            1:4.1.3

$$\overline T\_{av,band} =\overline T\_{av} +(EL\_{band}-EL\_{gage})\*\frac{tlaps}{1000}$$                                                                                              1:4.1.4

where $$T\_{mx,band}$$ is the maximum daily temperature in the elevation band (°C), $$T\_{mn,band}$$ is the minimum daily temperature in the elevation band (°C), is the mean daily temperature in the elevation band (°C), $$T\_{mx}$$ is the maximum daily temperature recorded at the gage or generated from gage data (°C), $$T\_{mn}$$ is the minimum daily temperature recorded at the gage or generated from gage data (°C), is the mean daily temperature recorded at the gage or generated from gage data (°C), $$EL\_{band}$$ is the mean elevation in the elevation band (m), $$EL\_{gage}$$ is the elevation at the recording gage (m), $$tlaps$$ is the temperature lapse rate (°C/km), and 1000 is a factor needed to convert meters to kilometers.&#x20;

Once the precipitation and temperature values have been calculated for each elevation band in the subbasin, new average subbasin precipitation and temperature values are calculated:

$$R\_{day}= \sum\_{bnd=1}^{b}R\_{band}\*fr\_{bnd}$$                                                                                                                           1:4.1.5

$$T\_{mx}=\sum\_{bnd=1}^b T\_{mx,band}\*fr\_{bnd}$$                                                                                                                       1:4.1.6

$$T\_{mn}=\sum\_{bnd=1}^b T\_{mn,band} \*fr\_{bnd}$$                                                                                                                       1:4.1.7

$$\overline T\_{av}=\sum\_{bnd=1}^b \overline T\_{av,band}\*fr\_{bnd}$$                                                                                                                        1:4.1.8

where $$R\_{day}$$ is the daily average precipitation adjusted for orographic effects (mm H$$*2$$O), $$T*{mx}$$ is the daily maximum temperature adjusted for orographic effects (°C), $$T\_{mn}$$ is the daily minimum temperature adjusted for orographic effects (°C), is the daily mean temperature adjusted for orographic effects (°C), $$R\_{band}$$ is the precipitation falling in elevation band $$bnd$$ (mm H2O), $$T\_{mx,band}$$ is the maximum daily temperature in elevation band $$bnd$$ (°C), $$T\_{mn,band}$$ is the minimum daily temperature in elevation band $$bnd$$ (°C), is the mean daily temperature in elevation band $$bnd$$ (°C), $$fr\_{bnd}$$ is the fraction of subbasin area within the elevation band, and $$b$$ is the total number of elevation bands in the subbasin.

The only processes modeled separately for each individual elevation band are the accumulation, sublimation and melting of snow. As with the initial precipitation and temperature data, after amounts of sublimation and snow melt are determined for each elevation band, subbasin average values are calculated. These average values are the values that are used in the remainder of the simulation and reported in the output files.

Table 1:4-1: SWAT+ input variables that pertain to orographic effects.

| Definition                                                                                           | Source Name | Input Name | Input File                                                                      |
| ---------------------------------------------------------------------------------------------------- | ----------- | ---------- | ------------------------------------------------------------------------------- |
| $$EL\_{gage}$$: Elevation of temperature station (m)                                                 | elev        | elev       | [.tmp](/io-docs/introduction-1/climate/tmp.cli-and-temperature-data-files.md)   |
| $$plaps$$: Precipitation lapse rate (mm H$$\_2$$O/km)                                                | plaps       | plaps      | [parameters.bsn](/io-docs/introduction-1/basin-1/parameters.bsn.md)             |
| average number of days of precipitation in month , $$days\_{pcp,yr}=\sum$$(PCPD(mon)) for a subbasin | pcpd        | pcp\_days  | [weather-wgn.cli](/io-docs/introduction-1/climate/weather-wgn.cli.md)           |
| $$tlaps$$: Temperature lapse rate (°C/km)                                                            | tlaps       | tlaps      | [parameters.bsn](/io-docs/introduction-1/basin-1/parameters.bsn.md)             |
| $$R\_{day}$$: Daily precipitation (mm H$$\_2$$O)                                                     | pcp         | pcp        | [.pcp](/io-docs/introduction-1/climate/pcp.cli-and-precipitation-data-files.md) |
| $$T\_{mx}$$: Daily maximum temperature (°C)                                                          | tmpmx       | tmpmax     | [.tmp](/io-docs/introduction-1/climate/tmp.cli-and-temperature-data-files.md)   |
| $$T\_{mn}$$: Daily minimum temperature (°C)                                                          | tmpmn       | tmpmin     | [.tmp](/io-docs/introduction-1/climate/tmp.cli-and-temperature-data-files.md)   |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://swatplus.gitbook.io/io-docs/theoretical-documentation/section-1-climate/chapter-1-4-climate-customization/1-4.1-elevation-bands.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
