Skip to content
Mike Daniels edited this page Aug 17, 2017 · 21 revisions

Connecting CHORDS streams to a CUAHSI archive

1. Portal configuration

  • Both the units ontology and the measured property ontologies need to be set to "CUAHSI".

2. Archive configuration

  • Click on the Archive button from your portal
Archive button
  • Select CUAHSI as the archive name and choose a push frequency which determines how often the data are archived.
  • Enter HydroServer Lite archive URL, username, and password.

3. Create sites, instruments and variables

  • Site names and CUAHSI site codes need to be unique.
  • Specify a site type for each site.
  • Specify a topic category for each instrument.
  • Specify a measured property and general category for each variable.

4. Configure resources

  • Return to archive configuration page.
  • Configure resources in the following order: sources, sites, instruments, variables.

5. The archive is now ready to receive data!

  • Click on the Check Configuration and Enable Archiving to start sending data.

Note: If new sites, instruments, or variables are added, be sure to also configure them in the archive.

Monitoring the archive

The archive jobs link on the archive configuration page leads to a list of existing archive jobs. Each archive job corresponds to a specific time frame as determined by the push frequency. Each archive job will have one of the following statuses:

  • scheduled: data values are scheduled to be pushed into the archive
  • success: data values were successfully pushed into the archive
  • failure: one or more data values failed to be pushed into the archive.

If an archive job has failed, the message will contain the timestamps of the measurements that could not be pushed and the error that occurred.

Archive limitations

The archive system is linked to CUAHSI's HydroServer Lite. There are currently some limitation to this system:

  • Multiple pushes of the same resource or data value will go through. We have implemented duplicate checking for resources within CHORDS to prevent this from occurring, but be aware that duplicate pushes are possible.
  • All resources (sources, sites, instruments, and variables) must be configured before activating the enable archiving button.
  • Common configuration errors include not having unique site codes or site names, using a units or measured property ontology other than CUAHSI, and not specifying a site type, topic category, general category, or measured property.
Clone this wiki locally