TheCWMS Data API (CDA)is a Representational State Transfer (REST) API that enables secure data exchange between computer systems over the internet. With the decommissioning of the National CWMS Database at the Central Processing Center (CPC) and the aging district T7 servers reaching end-of-life, a modern, accessible solution was needed to manage Water Management data. The new solution is a cloud-based database system, offering improved scalability, flexibility, and security.
CDA acts as the interface between HEC-RTS and this cloud environment, allowing users to securely send and retrieve time series data through a web connection. HEC-RTS now supports data extraction directly from CDA, streamlining access to water management data. General information about CDA can be found on GitHub.
This guide explains how to configure CDA access and set up an Extract Group in HEC-RTS to pull data from the CWMS Data API.
Step 1: Configure the Login Information
Before using CDA in HEC-RTS, you must configure your connection and login credentials.
Launch HEC-RTS.
Select Login under the File menu.
The CWMS Login Dialog will open. Click on the Login Setup button.
From the Edit menu, select Add Data Source and then CWMS Data API.
Enter the following details:
Display Name: Enter a custom name to identify this connection (e.g., CDA National)
Office: Select the appropriate office from the dropdown.
Click OK to save and close the dialog.
Authentication via CWMS AAA is not supported for the National Database or CWBI Test environments in CWMS 3.4. However, it is available for district-level CDA instances.
Step 2: Create a New Extract Group for CDA
Refer to this guide for step-by-step instructions on creating a new Extract Group.
Within the New Extract Group dialog, enter a Name for the new group.
Set Type to Time Series.
Set Source to CWMS Data API.
Choose the appropriate Data Store from the available options.
Configure the Storage Options and Time Window Settings.