Edit Weather Data
What is it?
Edit Weather Data interface allows users to import observed weather data to be used by SWAT. Weather data includes observed precipitation, temperature, relative humidity, solar radiation and wind speed data. Without observed weather data, SWAT will run on simulated weather, which might not result in desired outcomes.How to use it:
Monthly weather database:This is the weather generator database selected. The weather generator database was pre-selected, and has been disabled.
Random number seed cycle code:
This code is used by SWAT as a reference for generating random numbers. This number can be left unchanged.
Loading observed NOAA/CFSR/PRISM data
In addition to uploading own weather data, SwaNET provides users to select NOAA/PRISM weather data for the US and CFSR data for the entire world. NOAA weather data includes temperature and precipitation data from 1900 through November 2013. PRISM data includes temperature and precipitation data from 1981 through about six months prior to current date. CSFR weather data covers the period of 1979 to 2014 and includes temperature, precipitation, relative humidity, solar radiation, and wind speed. PRISM data are stored as raster images, so it takes longer time to extract compared to other observed data sources.To load NOAA,CFSR or PRISM weather data, click "NOAA/CFSR/PRISM" button. If a set of dataset is already loaded, a prompt will ask if to use the loaded dataset or load a new dataset. Click 'OK' to use the existing data, or 'Cancel' to load a new set of data.
Assigning simulated/observed data
Simulated dataBy default, all the weather data are set for simulated data. If simulated weather data is to be used, it should be left as such.
Observed data
To use the observed data, click 'Observed' for each of the weather data type. Observed data upload option is visible. See below for details on how to use observed data.
For the observed data, only first date in first line is read. Make sure that the date is continuous. If any value is missing, enter -99.0.
Observed precipitation data
User can either use the precipitation file already uploaded to the server or can upload a new prepitation file.To use the precipitation file already uploaded to the server, click "Use Uploaded File". A list of already uploaded files appears. Click on the desired file name.
To upload a new precipitation file, check the box next to 'Import' and click 'Import'. Browse to the desired precipitation file. Precipitation data file is a CSV file. Format for uploading single station data is:
STATION, station name (e.g. STATION,USW00004839)
LATITUDE, latitude of the station (e.g. LATITUDE,42.74611)
LONGITUDE, longitude of the station (e.g. LONGITUDE,-86.09667)
ELEVATION, elevation of the station (e.g ELEVATION,210)
date1,precipitation (e.g 2000/1/1,1)
date1,precipitation (e.g 2000/1/2,1.8)
...
Unit of precipitation is millimeter. If any value is missing, enter -99.0.
For uploading multiple observed data, repeat the same process as shown below:
STATION,USW00004839,USW00004840,USW00004841
LATITUDE,42.74611,42.34611,42.58611
LONGITUDE,-86.09667,-86.19667,-86.14667
ELEVATION,210,215,211.2
2000/1/1,0,0,0
2000/1/2,1.8,1.8,3
2000/1/3,2,2,3.2
...
Remember the date format. The date format must be yyyy/mm/dd
Rainfall time step: leave the time step to 0. SwaNET currently allows daily precipitation files.
Rainfall distribution code: this code is used for generating daily precipitation. 0: skewed distribution, 1: mixed expontial distribution. If you are not familiar with this, keep it 0.
Rainfall exponent: value of exponent for mixed expontial distribution. If you are not familiar with this, keep it 1.3.
No. of PCP files: this is disabled as SwaNET currently allows only one precipitation data file. However, you can include up to 300 station data in one file.
PCP gauges in file: number of PCP gauges in precipitation data file.
Observed temperature data
User can either use the temperature file already uploaded to the server or can upload a new file.To use the temperature file already uploaded to the server, click "Use Uploaded File". A list of already uploaded files appears. Click on the desired file name.
To upload a new temperature file, check the box next to 'Import' and click 'Import'. Browse to the desired temperature file. Temperature data file is a CSV file. Format for uploading single station data is:
TMP,STATION,Name (e.g. TMP,STATION,USW00004839)
TMP,LATITUDE,latitude (e.g. TMP,LATITUDE,42.74611)
TMP,LONGITUDE,longitude (e.g. TMP,LONGITUDE,-86.09667)
TMP,ELEVATION,elevation (e.g. TMP,ELEVATION,210)
2000/1/1,TMPmax,TMPmin (e.g. 2000/1/1,7.8,-1.1)
2000/1/2,TMPmax,TMPmin (e.g. 2000/1/1,7.8,-1.1)
2000/1/3,TMPmax,TMPmin (e.g. 2000/1/1,7.8,-1.1)
...
Unit of temperature is degree celcius. If any value is missing, enter -99.0.
For uploading multiple observed data, repeat the same process as shown below:
TMP,STATION,USW00004839,STATION,USW00004839,STATION,USW00004839
TMP,LATITUDE,42.74611,LATITUDE,42.44611,LATITUDE,42.54611
TMP,LONGITUDE,-86.09667,LONGITUDE,-86.19667,LONGITUDE,-86.10667
TMP,ELEVATION,210,ELEVATION,215,ELEVATION,215
2000/1/1,7.8,-1.1,7.8,-1.1,8.8,-2.1
2000/1/2,14.4,2.2,14.4,2.2,15.4,1.2
2000/1/3,2.8,-1.1,2.8,-1.1,3.8,-2.1
Remember the date format. The date format must be yyyy/mm/dd
No. of TMP files: this is disabled as SwaNET currently allows only one temperature data file. However, you can include up to 300 station data in one file.
TMP gauges in file: number of TMP gauges in temperature data file.
Observed relative humidity data
User can either use the relative humidity file already uploaded to the server or can upload a new relative humidity file.To use the relative humidity file already uploaded to the server, click "Use Uploaded File". A list of already uploaded files appears. Click on the desired file name.
To upload a new relative humidity file, check the box next to 'Import' and click 'Import'. Browse to the desired relative humidity file. Relative humidity data file is a CSV file. Format for uploading single station data is:
STATION, station name (e.g. STATION,USW00004839)
LATITUDE, latitude of the station (e.g. LATITUDE,42.74611)
LONGITUDE, longitude of the station (e.g. LONGITUDE,-86.09667)
ELEVATION, elevation of the station (e.g ELEVATION,210)
date1,relative humidity (e.g 2000/1/1,0.9)
date1,relative humidity (e.g 2000/1/2,0.85)
...
Unit of relative humidity is decimal fraction. If any value is missing, enter -99.0.
For uploading multiple observed data, repeat the same process as shown below:
STATION,USW00004839,USW00004840,USW00004841
LATITUDE,42.74611,42.34611,42.58611
LONGITUDE,-86.09667,-86.19667,-86.14667
ELEVATION,210,215,211.2
2000/1/1,0.6,0.65,0.7
2000/1/2,0.8,0.8,0.75
2000/1/3,0.72,0.75,0.77
...
Number of relative humidity records: number of relative humidity gauges file.
Observed solar radiation data
User can either use the solar radiation file already uploaded to the server or can upload a new solar radiation file.To use the solar radiation file already uploaded to the server, click "Use Uploaded File". A list of already uploaded files appears. Click on the desired file name.
To upload a new solar radiation file, check the box next to 'Import' and click 'Import'. Browse to the desired solar radiation file. Solar radiation data file is a CSV file. Format for uploading single station data is:
STATION, station name (e.g. STATION,USW00004839)
LATITUDE, latitude of the station (e.g. LATITUDE,42.74611)
LONGITUDE, longitude of the station (e.g. LONGITUDE,-86.09667)
ELEVATION, elevation of the station (e.g ELEVATION,210)
date1,solar radiation (e.g 2000/1/1,3.9)
date1,solar radiation (e.g 2000/1/2,4.85)
...
Unit of solar radiation is MJ/m2. If any value is missing, enter -99.0.
For uploading multiple observed data, repeat the same process as shown below:
STATION,USW00004839,USW00004840,USW00004841
LATITUDE,42.74611,42.34611,42.58611
LONGITUDE,-86.09667,-86.19667,-86.14667
ELEVATION,210,215,211.2
2000/1/1,3.6,4.65,7.7
2000/1/2,6.8,3.8,5.75
2000/1/3,3.72,7.75,8.77
...
Number of solar radiation records: number of solar radiation gauges file.
Observed wind speed data
User can either use the wind speed file already uploaded to the server or can upload a new wind speed file.To use the wind speed file already uploaded to the server, click "Use Uploaded File". A list of already uploaded files appears. Click on the desired file name.
To upload a new wind speed file, check the box next to 'Import' and click 'Import'. Browse to the desired wind speed file. Wind speed data file is a CSV file. Format for uploading single station data is:
STATION, station name (e.g. STATION,USW00004839)
LATITUDE, latitude of the station (e.g. LATITUDE,42.74611)
LONGITUDE, longitude of the station (e.g. LONGITUDE,-86.09667)
ELEVATION, elevation of the station (e.g ELEVATION,210)
date1,wind speed (e.g 2000/1/1,3.9)
date1,wind speed (e.g 2000/1/2,4.85)
...
Unit of wind speed is m/s. If any value is missing, enter -99.0.
For uploading multiple observed data, repeat the same process as shown below:
STATION,USW00004839,USW00004840,USW00004841
LATITUDE,42.74611,42.34611,42.58611
LONGITUDE,-86.09667,-86.19667,-86.14667
ELEVATION,210,215,211.2
2000/1/1,3.6,4.65,7.7
2000/1/2,6.8,3.8,5.75
2000/1/3,3.72,7.75,8.77
...
Number of solar radiation records: number of solar radiation gauges file.