Skip to content

StateDMI / Command / SetCULocationClimateStationWeights


Overview

The SetCULocationClimateStationWeights command (for StateCU) sets climate station weights data in existing CU Locations.

Command Editor

The following dialog is used to edit the command and illustrates the command syntax.

SetCULocationClimateStationWeights

SetCULocationClimateStationWeights Command Editor (see also the full-size image)

Command Syntax

The command syntax is as follows:

SetCULocationClimateStationWeights(Parameter="Value",...)

Command Parameters

Parameter                                   Description Default          
ID A single CU Location identifier to match or a pattern using wildcards (e.g., 20*). None – must be specified.
IncludeOrographicTempAdj If True, include the orographic temperature adjustment factor, after the Weights described below, specified as degrees/1000 feet. False
IncludeOrographicPrecAdj If True, include the orographic precipitation adjustment factor, after the Weights described below, specified as a fraction 0.0 to 1.0. Place after the orographic temperature adjustment factor if it is specified. False
Weights A repeating pattern of StationID, TempWt, PrecWt, where the station identifiers match climate station identifiers and the weights are specified as fractions in the range 0.0 to 1.0. Also include the orographic temperature and/or orographic precipitation adjustment factors if the above parameters are True. None – must be specified.
IfNotFound Used for error handling, one of the following:
  • Fail – generate a failure message if the ID pattern is not matched
  • Ignore – ignore (don’t generate a message) if the ID pattern is not matched
  • Warn – generate a warning message if the ID pattern is not matched
Warn

Examples

See the automated tests.

Troubleshooting

See Also