StateDMI / Command / SetParcel
Overview
The SetParcel
command (for StateCU and StateMod) edits a single parcel's core data.
See also the SetParcelGroundWaterSupply
and
SetParcelSurfaceWaterSupply
commands,
which are used to edit supply data for a parcel.
Command Editor
The following dialog is used to edit the command and illustrates the command syntax.
SetParcel
Command Editor (see also the full-size image)
Command Syntax
The command syntax is as follows:
SetParcel(Parameter="Value",...)
Command Parameters
Parameter | Description | Default |
---|---|---|
Year required |
Year for the parcel. | None - must be specified. |
ParcelID required |
Parcel identifier. | None - must be specified. |
Division |
Water division. | Will not be modified. |
District |
Water district. | Will not be modified. |
CropType |
Crop type (e.g., ALFALFA ). |
Will not be modified. |
IrrigationMethod |
Irrigation method (DRIP , FLOOD , or SPRINKLER ). |
Will not be modified. |
Area |
Parcel area (acres). | Will not be modified. |
IfNotFound |
Action taken if Year and ParcelID are not matched:
|
Add |
IfFound |
Action taken if Year and ParcelID are matched:
|
Set |
Examples
See the automated tests.
Troubleshooting
See Also
SetParcelGroundWaterSupply
commandSetParcelSurfaceWaterSupply
command