3.3 Location
CHPS is a location-oriented system. All of the time series data must be referenced to a geographic location. CHPS uses Locations.xml and LocationSets.xml to accomplish this task.
Locations.xml
Locations.xml is located in the RegionConfigFiles directory.
This file houses all location information. Comment lines for each forecast group usually separate the information about the sites. The data for each segment must include:
- a unique location Id,
- a shortname (5-character site Id),
- and geodatum (x, y, z coordinates).
Note: Some locations have "0" for the x, y, z coordinates. Those are placeholders, because they do not represent a single location.
Try it out! Practice Exercise: Adding Locations and Location Sets
LocationSets.xml
LocationSets.xml is also located in the RegionConfigFiles directory.
This file houses location set information. Location Sets define logical groups of locations.
Since there are so many locations, it is helpful to define location sets. The location sets are not arranged by region, but grouped by similar processes. This makes it easier if an action needs to be taken on a whole set of locations (such as validation). You only need to define a location set once, and then CHPS evaluates a location set as a list of locations.
Use the following job sheet to learn how to add a gage and catchment to the system.
Job Sheet: Adding a Location and a Location Set