{sections}

 

{lessontitle}

4.3 General Adapters

CHPS is able to add external models listed on the previous page by using the General Adapter module.

translator

The General Adapter exchanges data with models and executes the models. Since the data formats used in external models may not be in the same format as CHPS typically uses, think of the General Adapter as the “translator” for external models.

General Adapter process

Communication between the General Adapter and a model is established through the published interface (PI), an XML-based data interchange format file.

Example: A General Adapter "translates" the data for the external model HEC-RAS.

The Process

The following is a brief description of how data is taken from a CHPS data directory, put through an external model, and eventually displayed in the Interactive Forecast Display (IFD).

  1. The General Adapter provides the data required for a module to run in the PI format.
  2. A module adapter then translates the data from the PI to the model’s native format.
  3. The module adapter exports the results to the PI format.
  4. The General Adapter imports the data back into CHPS in PI format.
  5. Data is made available to the FEWS IFD.

Reference: Published Interface information (Deltares wiki)