arrow-left

All pages
gitbookPowered by GitBook
1 of 17

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

yrs_pcp

Number of years of maximum monthly 0.5 h rainfall data

This variable is used to calculate values for pcp_hhr.

circle-info

If no value is specified, the model will set yrs_pcp = 10.

tmp_max_ave

Average or mean daily maximum air temperature for month

This value is calculated by summing the maximum air temperature for every day in the month for all years of record and dividing the sum by the number of days:

μmxmon=∑d=1N∗Tmx,monNμmx_{mon}=\frac{∑_{d=1}^N*T_{mx,mon}}{N}μmxmon​=N∑d=1N​∗Tmx,mon​​

where μmxmonμmx_{mon}μmxmon​is the mean daily maximum temperature for the month monmonmon (ºC), Tmx,monT_{mx,mon}Tmx,mon​ is the daily maximum temperature on day ddd in month monmonmon (ºC), and NNNis the total number of daily maximum temperature records for month monmonmon.

name (weather_wgn.cli)

Name of the weather generator station

The name of the weather generator station is a primary key referenced by wgn in weather-sta.cli.

pcp_days

Average number of days of precipitation in month

This parameter is calculated as

dwet,i=dayswet,iyrsd_{wet,i}=\frac{days_{wet,i}}{yrs}dwet,i​=yrsdayswet,i​​

where dwet,id_{wet,i}dwet,i​ is the average number of days of precipitation in month iii, dayswet,idays_{wet,i}dayswet,i​ is the number of wet days in month iii during the entire period of record, and yrsyrsyrs is the number of years of record.

tmp_max_sd

Standard deviation for daily maximum air temperature in month

This parameter quantifies the variability in maximum temperature for each month. The standard deviation is calculated as

σmxmon=(∑d=1N∗(Tmx,mon−μmxmon)2N−1)σmx_{mon}=\sqrt{(\frac{∑_{d=1}^N*(T_{mx,mon}-μmx_{mon} )^2 }{N-1}})σmxmon​=(N−1∑d=1N​∗(Tmx,mon​−μmxmon​)2​​)

where σmxmonσmx_{mon}σmxmon​is the standard deviation for daily maximum temperature in month monmonmon (ºC), Tmx,monT_{mx,mon}Tmx,mon​ is the daily maximum temperature on day ddd in month monmonmon (ºC), μmxmonμmx_{mon}μmxmon​ is the average daily maximum temperature for the month monmonmon (ºC), and NNN is the total number of daily maximum temperature records for month monmonmon.

weather-wgn.cli

This file contains weather generator data to be used for a SWAT+ setup.

The weather generator file contains weather generator data for any number of stations. For each weather generator station, there will be one line specifying the name of the station, its latitude, longitude, and elevation, and the number of years of maximum monthly 0.5 h rainfall data used to define values for pcp_hhr. There are no headers for this line. These variables are listed in the first table below. The second line for each weather generator station contains the headers for the following 12 lines, which list the weather generator data for each month of the year. An overview of the weather generator data variables is given in the second table below.

circle-info

A SWAT+ Global Weather Generator Database containing weather generator datasets for almost 180,000 stations across the globe can be downloaded from the SWAT website: https://swat.tamu.edu/data/arrow-up-right.

If the user wishes to add a new weather generator station, the use of the WGN Parameters Estimation Tool or the WGN Excel macro is recommended. Both can be downloaded from the SWAT website: .

Field
Description
Type
Unit
Field
Description
Type
Unit
Range

tmp_min_ave

Average or mean daily minimum air temperature for month

This value is calculated by summing the minimum air temperature for every day in the month for all years of record and dividing the sum by the number of days:

μmnmon=∑d=1N∗Tmn,monNμmn_{mon}=\frac{∑_{d=1}^N*T_{mn,mon}}{N}μmnmon​=N∑d=1N​∗Tmn,mon​​

where μmnmonμmn_{mon}μmnmon​is the mean daily minimum temperature for the month monmonmon (ºC), Tmn,monT_{mn,mon}Tmn,mon​ is the daily minimum temperature on day ddd in month monmonmon (ºC), and NNNis the total number of daily minimum temperature records for month monmonmon.

wet_wet

Probability of a wet day following a wet day in the month

The probability is calculated as

Pi(W⁄W)=daysW⁄W,idayswet,iP_i(W⁄W)=\frac{days_{W⁄W,i}}{days_{wet,i}}Pi​(W⁄W)=dayswet,i​daysW⁄W,i​​

where Pi(W⁄W)P_i(W⁄W)Pi​(W⁄W) is the probability of a wet day following a wet day in month iii, daysW⁄W,idays_{W⁄W,i}daysW⁄W,i​ is the number of times a wet day followed a wet day in month iii for the entire period of record, and dayswet,idays_{wet,i}dayswet,i​ is the number of wet days in month iii during the entire period of record. A wet day is a day with > 0 mm precipitation.

real

Decimal Degrees

elevation

Elevation of weather generator station

real

m

Number of years of maximum monthly 0.5 h rainfall data used to define values for pcp_hhr

integer

years

-40 - 40

Standard deviation for daily maximum air temperature in month

real

°C

0.1 - 100

Standard deviation for daily minimum air temperature in month

real

°C

0.1 - 30

Average or mean total monthly precipitation

real

mm

0 - 600

Standard deviation for daily precipitation in month

real

mm/day

0.1 - 50

Skew coefficient for daily precipitation in month

real

mm

-50 - 20

Probability of a wet day following a dry day in the month

real

n/a

0 - 0.95

Probability of a wet day following a wet day in the month

real

n/a

0 - 0.95

Average number of days of precipitation in month

real

n/a

0 - 31

Maximum 0.5-hour rainfall in month

real

mm

0 - 125

Average daily solar radiation for month

real

MJ/m^2/day

0 - 750

Average daily dew point temperature for each month (ºC) or relative humidity (fraction)

real

°C or fraction

-50 - 25

Average daily wind speed in month

real

m/s

0 - 100

name

Name of weather generator station

string

n/a

latitude

Latitude of weather generator station

real

Decimal Degrees

longitude

tmp_max_ave

Average or mean daily maximum air temperature for month

real

°C

-30 - 50

tmp_min_ave

Average or mean daily minimum air temperature for month

real

https://swat.tamu.edu/software/arrow-up-right

Longitude of weather generator station

°C

yrs_pcp
tmp_max_sd
tmp_min_sd
pcp_ave
pcp_sd
pcp_skew
wet_dry
wet_wet
pcp_days
pcp_hhr
slr_ave
dew_ave
wnd_ave

tmp_min_sd

Standard deviation for daily minimum air temperature in month

This parameter quantifies the variability in minimum temperature for each month. The standard deviation is calculated as

σmnmon=(∑d=1N∗(Tmn,mon−μmnmon)2N−1)σmn_{mon}=\sqrt{(\frac{∑_{d=1}^N*(T_{mn,mon}-μmn_{mon} )^2 }{N-1}})σmnmon​=(N−1∑d=1N​∗(Tmn,mon​−μmnmon​)2​​)

where σmnmonσmn_{mon}σmnmon​is the standard deviation for daily minimum temperature in month monmonmon (ºC), Tmn,monT_{mn,mon}Tmn,mon​ is the daily minimum temperature on day ddd in month monmonmon (ºC), μmnmonμmn_{mon}μmnmon​ is the average daily minimum temperature for the month monmonmon (ºC), and NNN is the total number of daily minimum temperature records for month monmonmon.

slr_ave

Average daily solar radiation for month

This value is calculated by summing the total solar radiation for every day in the month for all years of record and dividing the sum by the number of days:

μradmon=∑d=1N∗Hday,monNμrad_{mon}=\frac{∑_{d=1}^N*H_{day,mon}}{N}μradmon​=N∑d=1N​∗Hday,mon​​

where μradmonμrad_{mon}μradmon​ is the mean daily solar radiation for the month (MJ/m2/day), Hday,monH_{day,mon}Hday,mon​ is the total solar radiation reaching the earth’s surface on day ddd in month monmonmon (MJ/m2/day), and NNN is the total number of daily solar radiation records for month monmonmon.

wet_dry

Probability of a wet day following a dry day in the month

The probability is calculated as

Pi(W⁄D)=daysW⁄D,idaysdry,iP_i(W⁄D)=\frac{days_{W⁄D,i}}{days_{dry,i}}Pi​(W⁄D)=daysdry,i​daysW⁄D,i​​

where Pi(W⁄D)P_i(W⁄D)Pi​(W⁄D) is the probability of a wet day following a dry day in month iii, daysW⁄D,idays_{W⁄D,i}daysW⁄D,i​ is the number of times a wet day followed a dry day in month iii for the entire period of record, and daysdry,idays_{dry,i}daysdry,i​ is the number of dry days in month iii during the entire period of record. A dry day is a day with 0 mm of precipitation. A wet day is a day with > 0 mm precipitation.

pcp_hhr

Maximum 0.5-hour rainfall in month

This value represents the most extreme 30-minute rainfall intensity recorded in the entire period of record.

pcp_ave

Average or mean total monthly precipitation

The average or mean total monthly precipitation is calculated as

Rmon=∑d=1N∗Rday,monyrsR_{mon}=\frac{∑_{d=1}^N*R_{day,mon}}{yrs}Rmon​=yrs∑d=1N​∗Rday,mon​​

where RmonR_{mon}Rmon​ is the mean monthly precipitation (mm H2O), Rday,monR_{day,mon}Rday,mon​ is the daily precipitation for day ddd in month monmonmon (mm H2O), NNN is the total number of records in month monmonmon used to calculate the average, and yrsyrsyrs is the number of years of daily precipitation records used in calculation.

pcp_skew

Skew coefficient for daily precipitation in month

This parameter quantifies the symmetry of the precipitation distribution around the monthly mean. The skew coefficient is calculated as

gmon=N∗∑d=1N∗(Rday,mon−Rmon)3(N−1)∗(N−2)∗(σmon)3g_{mon}=\frac{N*∑_{d=1}^N*(R_{day,mon}-R_{mon})^3 }{(N-1)*(N-2)*(σ_{mon})^3}gmon​=(N−1)∗(N−2)∗(σmon​)3N∗∑d=1N​∗(Rday,mon​−Rmon​)3​

where gmong_{mon}gmon​ is the skew coefficient for precipitation in the month, NNN is the total number of daily precipitation records for month monmonmon, Rday,monR_{day,mon}Rday,mon​ is the amount of precipitation for day ddd in month monmonmon (mm H2O), RmonR_{mon}Rmon​ is the average precipitation for the month (mm H2O), and σmonσ_{mon}σmon​ is the standard deviation for daily precipitation in month monmonmon (mm H2O). Daily precipitation values of 0 mm are included in the skew coefficient calculation.

wnd_ave

Average daily wind speed in month

This value is calculated by summing the average or mean wind speed values for every day in the month for all years of record and dividing the sum by the number of days:

μwndmon=∑d=1N∗Twnd,monNμwnd_{mon}=\frac{∑_{d=1}^N*T_{wnd,mon}}{N}μwndmon​=N∑d=1N​∗Twnd,mon​​

where μwndmonμwnd_{mon}μwndmon​ is the mean daily wind speed for the month (m/s), Twnd,monT_{wnd,mon}Twnd,mon​ is the average wind speed for day ddd in month monmonmon (ºC), and N is the total number of daily wind speed records for month monmonmon.

pcp_sd

Standard deviation for daily precipitation in month

This parameter quantifies the variability in precipitation for each month. The standard deviation is calculated as

σmon=(∑d=1N∗(Rday,mon−Rmon)2N−1)σ_{mon}=\sqrt{(\frac{∑_{d=1}^N*(R_{day,mon}-R_{mon} )^2 }{N-1}})σmon​=(N−1∑d=1N​∗(Rday,mon​−Rmon​)2​​)

where σmonσ_{mon}σmon​ is the standard deviation for daily precipitation in month monmonmon (mm H2O), Rday,monR_{day,mon}Rday,mon​ is the amount of precipitation for day ddd in month monmonmon (mm H2O), RmonR_{mon}Rmon​ is the average precipitation for the month (mm H2O), and NNN is the total number of daily precipitation records for month monmonmon. Daily precipitation values of 0 mm are included in the standard deviation calculation.

dew_ave

Average daily dew point temperature for each month (ºC) or relative humidity (fraction)

If all twelve months are < 1.0, the model assumes the data provided is relative humidity. Relative humidity is defined as the amount of water vapor in the air as a fraction of saturation humidity. If any month has a value > 1.0, the model assumes the data provided is dewpoint temperature.

Dew point temperature is the temperature at which the actual vapor pressure present in the atmosphere is equal to the saturation vapor pressure. This value is calculated by summing the dew point temperature for every day in the month for all years of record and dividing the sum by the number of days:

μdewmon=∑d=1N∗Tdew,monNμdew_{mon}=\frac{∑_{d=1}^N*T_{dew,mon}}{N}μdewmon​=N∑d=1N​∗Tdew,mon​​

where μdewmonμdew_{mon}μdewmon​ is the mean daily dew point temperature for the month (ºC), Tdew,monT_{dew,mon}Tdew,mon​ is the dew point temperature for day ddd in month monmonmon (ºC), and NNNis the total number of daily dew point records for month monmonmon. Please refer to the SWAT+ Theoretical Documentation for the equations used to convert dew point to relative humidity.