# 1:1.2.3 Daily Solar Radiation

The solar radiation reaching the earth's surface on a given day, $$H\_{day}$$, may be less than $$H\_{mx}$$ due to the presence of cloud cover. The daily solar radiation data required by SWAT+ may be read from an input file or generated by the model.

The variable slr in the master weather station ([weather-sta.cli](/io-docs/introduction-1/climate/weather-sta.cli.md)) file identifies the method used to obtain solar radiation data. To read in daily solar radiation data, the slr variable is set to the name of the solar radiation data file. To generate daily solar radiation values, set the name of the solar radiation input file (slr) to sim. The equations used to generate solar radiation data in SWAT+ are reviewed in Chapter 1:3. SWAT+ input variables that pertain to solar radiation are summarized in Table 1:1-2.

Table 1:1-2: SWAT+ input variables used in solar radiation calculations.

| Definition                                                                  | Source Name | Input Name | Input File                                                                           |
| --------------------------------------------------------------------------- | ----------- | ---------- | ------------------------------------------------------------------------------------ |
| Latitude of the solar radition station (degrees).                           | lat         | lat        | [slr.cli](/io-docs/introduction-1/climate/slr.cli-and-solar-radiation-data-files.md) |
| Name of measured solar radiation input file (.slr) to simulate set to "sim" | sgage       | slr        | [weather-sta.cli](/io-docs/introduction-1/climate/weather-sta.cli.md)                |

See the description for the .slr files on the [slr.cli](/io-docs/introduction-1/climate/slr.cli-and-solar-radiation-data-files.md) page for input and format requirements if measured daily solar radiation data is being used.


---

# 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/untitled/solar-radiation/1-1.2.3-daily-solar-radiation.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.
