Site Metadata
The site metadata, on the HydroDCS, are configurable values that reference key thresholds for that site. For example, rivers have certain points where they are going to flood - that would be a key threshold value. These values can be manually set by a user, or they can be automatically updated from a remote location. The HydroDCS will use these values in reports to visually let users know where the current conditions stand as it relates to these thresholds. This visualization is generally done using well known color schemes (Yellow for warning and Red for Critical). To get to the "Update Site Metadata" page, you need to be logged in as either an operator or controller. Using the profile drop-down, select "Update Site Metadata". Here you will see the following selections:
Update Site Metadata Remotely
This feature can be enabled to update the site metadata from a remote location. To enable it, turn the toggle on and enter the path into the URL text field. If enabled, the HydroDCS will periodically check this URL and download the site metadata, storing only new values for use in the reports. The URL path must use the following format:
{
"time":
{
"timestamp": "02/27/2020 16:44:28",
"timezone": "UTC"
},
"sites":
[
{
"site": "LOS",
"type": "forebay",
"maximum_conservation_pool": "1800.43",
"minimum_conservation_pool": "1496.09"
},
{
"site": "DET",
"type": "forebay",
"maximum_conservation_pool": "900.90",
"minimum_conservation_pool": "759.42"
},
{
"site": "APRO",
"type": "stage",
"bank_full": "70.99",
"flood_stage": "90.21"
}
]
}
Last Remote Update Timestamp (from file)
When the HydroDCS updates site metadata from a remote URL, one of the values it stores is the timestamp contained in the data that is returned from that URL (response["time"]["timestamp"]). This value will be displayed in this row so the users are easily able to see when their site metadata was last updated (and compare it to the actual URL to see if there are any issues).
NOTE - If site metadata has never been updated remotely, this value will default to "Never"
Remove Next Remote Timestamp
This is a checkbox that, if checked, when the user clicks the "Submit" button, it set the "Last Remote Update Timestamp" to "Never". This means that if the HydroDCS is configured to update site metadata remotely, it will guarantee that the site metadata will be pulled from the remote URL on the next cycle. This is often times useful if you need to roll back to older site metadata, which might also roll back the date (because the date on the HydroDCS metadata is later, it will never pull that metadata).
Site Metadata
Here is a list of each site on the HydroDCS and their current site metadata. Not only does it list the current site metadata, but it also gives the users the ability to edit that metadata manually.
NOTE - If you enter metadata manually, be aware that if the HydroDCS is configured to update site metadata remotely, your manual entries will be overwritten the next time the HydroDCS pulls the remote metadata. If you don't want this to happen, be sure to turn of the "Update Site Metadata Remotely" when you manually enter the site metadata.