This example illustrates:
a. how to obtain the items CLNIRR and CLIRR
from the COMP info tables of each county of the WRB
b. how to combine them as one table (wrbcomp)
c. how to attach the items to the polyginal
information of the SSURGO dataset (ssurgo.pat).
1. copy COMP info files for each county to workspace
Arc: |> copyinfo /ise3/soils/ssurgo/wrbssurgo/linncomp linncomp <|2. use ALTER in TABLES to change item definitions to match those of the 'certified' tables:
Copied /ise3/soils/ssurgo/wrbssurgo/linncomp to linncomp
ITEM NAME WIDTH OUTPUT TYPE N.DEC ALTERNATE NAME
CLNIRR 1 1 C -
Arc: |> tables <|NOTE:
Enter Command: |> sel maricomp <|
Enter Command: |> alter clnirr:c clnirr 1 C <|
COLUMN ITEM NAME WIDTH OUTPUT TYPE N.DEC ALTERNATE NAME
204 CLNIRR:C 1 1 I -
Alternate Item Name: |><|
COLUMN ITEM NAME WIDTH OUTPUT TYPE N.DEC ALTERNATE NAME
204 CLNIRR 1 1 C -
Arc: |> additem <|* use CALC in TABLES to populate the new item with the correct data
Usage: ADDITEM <in_info_file> <out_info_file> <item_name> <item_width>
<output_width> <item_type> {decimal_places} {start_item}
Arc: |> additem maricomp maricomp muid 9 9 C <|
Adding muid to maricomp to produce maricomp.
Enter Command: |> sel maricomp <|* use DROPITEM to delete unwanted item with incorrect definitions
101 Records Selected.
Enter Command: |> calc <|
Usage: CALCULATE <target_item> = <arithmetic_expression>
Enter Command: |> calc muid = muid:c <|
Enter Command: |> dropitem <|*** if the Item TYPE do not agree, first alter the TYPE to the correct definition, then ADDITEM, CALC
Usage: DROPITEM <info_file> <item...item>
Enter Command: |> sel <|
File MARICOMP is now closed.
Enter Command: |> dropitem maricomp muid:c <|
3. use PULLITEMS in ARC to create a COMP file for each county
that only contains the properly defined
items to be used and MUID.
Arc: |> pullitems maricomp maricomp <|4. combine all counties COMP info tables into one: WRBCOMP, by merging the lookup tables.:Enter item names (type END or a blank line when done):
======================================================
Enter the 1st item: |> clnirr <|
Enter the 2nd item: |> clirr <|
Enter the 3rd item: |> muid <|
Enter the 4th item: |> end <|
a. Arc: |> copyinfo /ise3/soils/ssurgo/wrbssurgo/linncomp wrbcomp <|
Copied /ise3/soils/ssurgo/wrbssurgo/linncomp to wrbcomp5. use JOINITEM in ARC to join WRBCOMP to SSURGO.PAT, with MUID as the JOINITEM.
b. Arc: |> info
ENTER USER NAME>arc
ENTER COMMAND > SEL LANECOMP
ENTER COMMAND > MERGE INTO WRBCOMP MUID
ENTER COMMAND > Q STOP