# hmd.cli and hmd data files

The **relative humidity data files** contain the observed relative humidity input data. They are named by the user and must have the file ending \*.hmd. There must be one file per station used in the simulation. As in all SWAT+ input files, the first line in the relative humidity data files is reserved for user comments. The second line contains the column headers for the third line, which lists basic information about the station.&#x20;

<table><thead><tr><th>Field</th><th width="292">Description</th><th width="150">Type</th><th>Unit</th></tr></thead><tbody><tr><td>nbyr</td><td>Length of the relative humidity time series</td><td>integer</td><td>years</td></tr><tr><td>tstep</td><td>Time step of the relative humidity data</td><td>integer</td><td>n/a</td></tr><tr><td>lat</td><td>Latitude of the relative humidity station</td><td>real</td><td>Decimal Degrees</td></tr><tr><td>lon</td><td>Longitude of the relative humidity station</td><td>real</td><td>Decimal Degrees</td></tr><tr><td>elev</td><td>Elevation of the relative humidity station</td><td>real</td><td>m</td></tr></tbody></table>

Starting in the fourth line, the year, Julian day, and the relative humidity are listed. There are no headers for these columns.

<table><thead><tr><th>Field</th><th width="292">Description</th><th width="150">Type</th><th>Unit</th></tr></thead><tbody><tr><td>year</td><td>Year of the observation</td><td>integer</td><td>n/a</td></tr><tr><td>jday</td><td>Julian day of the observation</td><td>integer</td><td>n/a</td></tr><tr><td>hmd</td><td>Observed relative humidity</td><td>real</td><td>fraction</td></tr></tbody></table>

{% hint style="info" %}
A negative 99.0 (-99.0) should be inserted for missing data. This value tells SWAT+ to generate a relative humidity value for that day.
{% endhint %}

The **hmd.cli** file lists the names of the relative humidity data files used in the simulation. The first line is reserved for user comments. The second line is reserved for the column header "filename". The user can list as many relative humidity data file names as needed for the simulation. Only one file name should be listed per line. All file names listed in [**weather-sta.cli**](/io-docs/introduction-1/climate/weather-sta.cli.md) must be listed here. For every file name listed in **hmd.cli**, a file with that name must be provided by the user that contains the relative humidity data measured at the station. &#x20;


---

# 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/introduction-1/climate/hmd.cli-and-humidity-data-files.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.
