Professional Documents
Culture Documents
Prepared by:
Michael J. Hargiss
Environmental Scientist
North Dakota Department of Health
Division of Water Quality
Gold Seal Center, 4th Floor
918 East Divide Avenue
Bismarck, ND 58501-1947
And
Mohammad Yousaf Khan
Graduate Student
North Dakota State University
Agricultural and Biosystems Engineering
1221 Albrecht Boulevard
Fargo, ND 58105
701.328.5210
Table of Contents
Table of Contents
List of Figures
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 6 of 76
• Input Data Preparation: DEM, Land use and Soil shape files downloading from
available resources. Relevant detailed soil data collection from NASIS database
(NRCS). Collection of Land cover (crops types) & Land use practices, Fertilizer
application from local county extension office or literature review. RUSLE file
(Info/ Parameters relates to crops & field operations) collection. Collection of
Climate data from local weather station or available web sites. If possible gets
aerial photographs or shape file for your study watershed and download stream
data from available resources (Its optional).
• Extraction of Dominant Soil and Land Use ID’s. Input requirement : Soil and land
Use shape files. Output : Dominant Soil and Land Use ID’s in each cell (cell refer
to sub watershed)
• Enter detailed information relevant to each Dominant Soil and Land Use ID’s and
other required datasets in Input Editor.
Click
Here
Click
Here
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 8 of 76
Click
Save
Figure 4. Save as in your C drive or primary drive and accept default file name.
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 9 of 76
In order to make a working directory, first we need to extract the zip file from
OR_mission_Creek, which is located in
C:\AGNPS\Example_AGNPS_Watershed_Studies as shown below.
Save the extracted files in C drive or primary drive. By default, all extracted files will be
saved in a folder called AGNPS_Watershed_Studies and this would be our working
directory.
Working directory
Project directory
OR_Mission_Creek folder
Figure 10. Project directory and OR_Mission_Creek folder both are in working directory
(AGNPS_Watershed_Studies).
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 12 of 76
Before starting the AGNPS interface program rename your AGNPS Arcview Interface
folder according to your project (to avoid errors, choose simple and short names, do not
use spaces or special characters). If you need to work on another project, extract
AGNPS_Arcview_Interface folder as described above and re-name it and save it in the
same working directory. Always keep OR_mission_Creek folder and your project folder
in your working directory.
To start the AGNPS program, click your project folder and then click
4_Arcview_datasets_folder and double click AGNPS.apr file.
3. Click Here
1. Click Here
2. Click Here
click ok
Figure 12. Accept the default working directory path by clicking ok.
click ok
to be downloaded
3. Click here to select area
4. Click
Download
Once you downloaded the DEM, create a folder (e.g DEM folder) in the
C:\AGNPS_Watershed_Studies\AGNPS_Arcview_Interface\4Arcview_ Datasets. And
save your DEM in newly created folder.
We can download landuse and *soil* data for the area of interest from
http://datagateway.nrcs.usda.gov website as shown in figure below:
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 17 of 76
1. Click Here
3. Enter State
and County
Name
2. Click Here
4. Select
Common Land
Units
We can download the land use data from the above mentioned website for the county that
covers the watershed. For the crop rotation, and management practices information
consult a Natural Resource Conservation Service (NRCS) District Conservationist or
North Dakota State University Extension Agent.
We can use the NRCS Data Gateway website mentioned above to download the spatial
and tabular soil data for our study area. However, the tabular soil data is not presented
in AnnAGNPS format, in order to get the complete tabular soil data in AnnAGNPS
format, we have to request a soil scientist from the Natural Resource Conservation
Service to retrieve the soil data in AnnAGNPS format from NASIS database. Refer to
for instructions on how to retrieve NASIS soils data go to
C:\AGNPS\Utility\AnnAGNPS_Soil_Database_Development. Soils data retrieved from
the NASIS database will be in Input Editor Version 3.3 format. Input Editor Version
3.51 is being used in the development of this manual. Therefore soils data must be
entered manually. To find instructions on how to enter NASIS soils data into Input
Editor 3.51 refer to Appendix.
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 20 of 76
(iv)Climate data
Figure 23. The selection procedure for viewing DEM in Arcview Interface.
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 22 of 76
If you would like to bring more than one DEM, repeat the same procedure. If the
watershed is larger than the single DEM, then the merging procedure needs to be
performed. Note: If your study watershed cover only one DEM that you do not need to
follow the Merging DEMs procedure.
Merging DEMs
1. Bring the two DEMs and click both of them to make them active
2. Click DEM Utilities
3. Click Merge Grids Figure 25
4. DEMs are now merged together Figure 26
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 23 of 76
After placing our DEM in the ArcView Interface next we will want to begin
delineating the watershed. First we need to process the DEM this is accomplished
by following the procedure below.
3. Accept default numbers or 300 for flat area to initiate the number of cells for the
stream threshold. User can experiment with the cell values to get the desired
stream delineation result. Lower numbers result in dense stream networks and
larger numbers result in sparse stream networks.
4. After process DEM you will have files: Outlets, WatshdGrd, LinkGrd, StreamGrd,
FlowAcc, FlowDir. Check outlet and streamGrd layers so it would be visible. Figure 29.
5. Bring in shape file of your watershed (if it is available) that would be helpful in
delineating the watershed correctly (e.g for selection of outlet point).
6. Now you will have a Boundary shape file (for the watershed), streamGrd, and
outlet layers Figure 30.
Before executing any step at AGNPS Data Prep menu, make sure to assign all
themes (DEM, Soil, and land use file). Figure 31.
Figure 31.
Note: Always repeat this procedure whenever you start working on the project again.
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 29 of 76
Figure 32.
The following instructions are intended for delineating the watershed. All watershed
delineation Steps (2-8) can be found under the AGNPS Data Prep icon found on the
top of the ArcView Tool Bar. Step 1 Clip DEM is not included in the following
instructions. This is a special operation not common to most watershed delineation
projects. Further information on how to perform this procedure can be found in
Appendix B.
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 30 of 76
Before delineating your watershed activate your boundary shape file and closely study
the streams and outlet points in order to select appropriate outlet point. The selected
outlet point should be at the lowest elevation and connected to the stream network that
cover the whole watershed area. In the above example, the selected outlet point lies at the
lowest elevation and connects to all stream networks that cover the entire watershed. Also
make sure to activate your DEM before delineating the watershed.
Selected Outlet
Position
Figure 33.
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 31 of 76
Figure 34.
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 32 of 76
Figure 35.
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 33 of 76
Figure 36.
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 34 of 76
Figure 37.
All newly generated files could be seen at the layer menu: Subwats.shp file is the shape
file generated by the model. Check subwats.shp file and study the subwatershed sizes and
analyze how much accurately the model delineate the boundary for the study watershed.
We can use boundary shape file and subwats.shp file to compare the accuracy of the
delineated watershed boundary Figure 39. To view detailed cell and reach information
read AnnAGNPS_Cell.dat & AnnAGNPS_Recah.dat files; those files are saved at a
directory you created at Step-6.
Figure 38.
This is the final delineation of your watershed (here you can use aerial photograph or
map or your boundary shape file and stream shape file of your study watershed for
comparison with the model created boundary (subwat.shp file) and streams (Netw.shp
file) if both look similar and there is no large difference continue the next step otherwise
redelineate the watershed) if you are not satisfied with the subwatershed or cell sizes then
click the Modify Stream Network Generation Parameters option this will allow you
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 36 of 76
change the sizes of your subwatershed or cells sizes. Instructions for Modify Stream
Network Generation Parameters can be found in Appendix C.
Figure 40.
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 38 of 76
Figure 41.
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 39 of 76
The Input Editor have several data sets but its depend on the study objective, which one
need to be used. It allows entering the detailed information for different parameters e.g
detailed data associated to each Soil and Land Use ID’s existing in each cell of the
watershed. If a data for a particular parameter in a data box is not available then leave
that box blank, in that situation the model will use default values. Also selection of
simulation period and output files format could be done by Input Editor. Note: For
detailed Input Data parameter Info read “Input_Specification.pdf” file located
C:\AGNPS\PLModel\Document\User
1. Click File
2. Click New AnnAGNPS File
Figure 42.
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 40 of 76
1. Watershed Name
2. Watershed Description
3. Watershed Location (optional)
4. Latitude and Longitude
5. Click Accept
Figure 43.
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 41 of 76
1. Click File
2. Click Import
3. Click ArcView
4. Click Cell Data from ArcView
5. Locate ann_cell.csv file; Click Open
6. Cell Data will be imported into the Cell Data Box Figure 45
7. Repeat the same procedure for importing Reach Data. (ann_reach.csv is the file to be
imported). Refer to Figure 46 Reach Data imported into Reach Data Box.
8. Click Save at File menu to save AnnAGNPS Input file as AnnAGNPS.inp file and
save it in 6_Editor_DataSets folder of your working directory.
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 42 of 76
Figure 44.
Figure 45. Cell Data imported into the Cell Data Box
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 43 of 76
Figure 46. Reach Data imported into the Reach Data Box.
4.3 Land use and operation information for Management Field Data
Note: Review files in Ref_Data folder that is located C:\AGNPS\Ref_Data, that would
give an idea about the reference values required for different Input Editor data boxes.
And most of them is going to be discussed in the following steps.
Figure 47.
1. Make sure that same Management Field ID exists in Cell Data Box (Figure 45)
1. same as step 3
5. Enter Management
Operation ID associated
with crop stages
2. Enter Dates for
crop stages, e.g
Planting
6. Fertilizer App ID
associated with crop
stages
3. Enter Crop ID e.g
wheat or go to Non
Crop ID box, if Mang
Schedule ID is for
non crop e.g 6.Click Next to enter the
Rangeland Event Date, Mang
Operation ID and Ferti
App ID for crop next
stage e.g I. Planting;
II. harvesting
4. Enter Curve
Number ID
associated with crop
stages 7. Click Next to enter
new management
Schedule Data for a
second crop
Figure 49.
Note: If you have more than one crop for the same Management Schedule ( e.g
wheat- corn-soybean) and once you have finished entering information for the
first crop. Then click step 7 (Figure 47) and enter second crop name in New
Crop ID box and enter all the relevant information as explained above. For
Crop or non Crop ID, Curve Number ID, Operation Management ID, and
Fertilizer Application ID go to their corresponding data boxes ( e.g crop data
box) and make sure the ID entered here must exist and explained there. Repeat
the entire procedure (4.3.1 and 4.3.2) for entering information for new
management schedule.
Figure 50.
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 48 of 76
2. Click RUSLE
Figure 51.
5. Click Accept
Figure 52.
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 49 of 76
Figure 53.
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 50 of 76
3. Click RUSLE
Figure 54.
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 51 of 76
6. Click Accept
Figure 55.
7. Click Accept
Figure 56.
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 52 of 76
3. Click RUSLE
Figure 57.
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 53 of 76
6. Click Accept
Figure 58.
7. Click Accept
Figure 59.
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 54 of 76
3. Enter Fertilizer ID
6. Click Insert
7. Click Accept
Figure 61.
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 55 of 76
Figure 62.
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 56 of 76
For Output Option: that cover files format, cell and reach selection option. If you
do not check any option then by default it would give results for all cells and
reaches and outlet points.
Figure 63.
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 57 of 76
The Simulation Period Data box allow to selection the dates and time period for
simulation. Enter data only for boxes as shown in Figure 51.
Figure 64.
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 58 of 76
Once entered all data in Input Editor save it again as AnnAGNPS.inp file. Keep
both DayClim.inp (Climate file) and AnnAGNPS.inp file in 6_Editor_DataSets
folder.
Appendix A
Downloading Stream Shapefiles.
Appendix B
Step 1 Clip DEM
If the study area does not cover the entire DEM then clip the area of interest of DEM
rather than using the entire DEM. It will save processing time and disk space. In order to
find the area of interest, bring the shape file of your watershed boundary, it will help you
to figure out clipping the study area. To clip the DEM of the study are, perform the
following operation.
Appendix C
Make sure the Data set directory assign to the directory/folder where you saved your
Import TOPAGNPS arc files. If not direct path toward your folder e.g brewer
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 63 of 76
If you are interested to apply different CSA and MSCL values on your delineated
subwatersheds, especially in a situation where you would like to increase the size of few
subwatersheds and also decrease size of few subwatershed then you should click ‘YES’
other wise click ‘NO’.
Here we can assign five different CSA and MSCL value. It is important to remember
there are no standard or fixed values, therefore it is a matter of trying different values
until you get your desired results. The minimum CSA value should not be less than area
of ten cell size of your DEM (e.g for 30m DEM, 30m *30m *10= 9000m 2 ≈1 ha) and
MSCL value should not be less than the length of your DEM cell (e.g for 30m DEM,
length of DEM cell is 30m).
Once finish selecting subwatershed click the mouse/arrow outside the green color.
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 65 of 76
Select the values (1,2,3,4,5) that relates to your entered CSA & MSCL, applied to
selected watershed.
Select Yes if you would like to continue and select different subwatersheds and apply
different CSA & MSCL value. Repeat the same procedures once you done.
Go back to STEP 4 to execute TOPAGNPS. And STEP 5 Exectue Agflow. Inorder to get
the modified delineated watershed.
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 66 of 76
Appendix D
Entering NASIS Soils Data into Input Editor 3.51
The AnnAGNPS soils data retrieved from the NASIS database will be formatted to Input
Editor Version 3.3. This version of Input Editor has been recently updated to Version
3.51 and will be used in watershed modeling in North Dakota. Therefore data gathered
from the NASIS database will need to be inputted manually into the Input Editor 3.51.
Due to the inconsistency of the formatting between the two versions data entry can
become time consuming and have geometric potential for errors. The below instructions
are intended to provide the user with a road map to navigate the NASIS AnnAGNPS soils
data. Let us first look at actual AnnAGNPS soils data retrieved from the NASIS
database. The soil data presented below is for one type of soil found in the watershed.
The top layer presented in the Pink highlight is general soil information it includes the
Soil ID, Hydrological Soils Group, K-Factor, Albedo, Specific Gravity, Soil Name, and
Soil Texture. (Note: Every Soil ID will come with a ND prefix and a three digit code
before the Soil ID number (Example: ND0414 = Soil ID: 4.) The next three
highlighted layers (Yellow, Green, Blue) are the soil layer data. Each layer will contain
values specific to that layer and includes the following: Clay Ratio, Silt Ratio, Sand
Ratio, Rock Ratio, Very Fine Sand Ratio, CaCO3, Saturated Conductivity, Field
Capacity, Wilting Capacity, Volcanic Code, pH, Organic Matter Ratio, Organic N Ratio,
Inorganic N Ratio, Organic P Ratio, Inorganic P Ratio, and Soil Structure Code. Note
enter only the soil data from NASIS soil that correspond to the soil ID’s extracted by the
model. In order to find that see review Cell data box.
Layer One:
Layer Two:
Layer Three:
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 67 of 76
1. Soil ID: 4
2. Hydrologic Soil Group: C
3. K-Factor: 0.0421
4. Albedo: 0.16 Refer to Figure A.
5. Specific Gravity: 2.65
6. Soil Name: GRAIL
7. Soil Texture: clay loam
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 68 of 76
1.
2.
3.
4.
7.
5.
6.
Figure A.
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 69 of 76
1. Layer Depth
2. Bulk Density
3. Click Next
Figure B.
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 70 of 76
5. Check to make sure all the data is in the appropriate boxes and then Click Previous.
(Figure C)
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 71 of 76
5. Click Previous
Figure C.
6. Click Insert Layer. Note: It is important to remember when inserting a new soil
layer the new layer must precede the following layer in numerical order (First layer
first, second layer second etc.) this will ensure that the layers will not be mixed around
(Second layer first, third layer second etc.). Mixing up soil layer data will not give the
correct model output results. (Figure D)
8. Click Next and repeat Steps 4-8. Continue this procedure for all the soil layers for that soil.
(Figure D)
9. When finished with the soil and all soil layers Click Accept. (Figure D)
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 72 of 76
8. Click Next
9. Click Accept
Figure D.
10. Click File, then Click Save As, then Save AnnAGNPS input file as: AnnAGNPS.inp
Note: It is recommended to save the file after every soil entry this will save time
on the project if an error in entering data occurs.
11. Enter back into your Soil Data then Click Insert Soil and repeat the process for each
soil and soil layer in your watershed.
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 73 of 76
Appendix E
How to display Spatial Distribution or Critical Cells for the Pollutants Load Using
ArcGIS 9.1.
4. In the JOIN DATA dialogue screen, 1. choose Cell ID as your Field, 2. choose
AANP as your table, 3. choose also Cell ID and click OK.
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 75 of 76
4.
1.
2.
3.
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 76 of 76
6. Repeat the same procedure for displaying the spatial distribution of other
parameters.
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 77 of 76
Appendix F
Trouble Shooting
Make sure that your pre processed watershed boundary does not touch the edges of your
DEM, it must be inside your DEM. Below is the example of an incorrectly delineated pre
processed watershed. In such situation you need to re-delineate your watershed by
selecting another outlet point. If you do not find another outlet point at your desire
location then change the number for your stream delineation (in order to do that go back
to Step 2).
AnnAGNPS Users Manual for North Dakota Draft: December 2006
Page 78 of 76
II. Error Message when trying to perform Step 7 Intersect Cells with Soils Data