Search Criteria
Search Criteria should be provided to retrieve messages for specified DCPs. Search criteria can be passed either as the path to the search criteria json file or a dict. An example is provided below.
{
"DRS_SINCE": "now - 1 hour",
"DRS_UNTIL": "now",
"SOURCE": [
"GOES_SELFTIMED",
"GOES_RANDOM"
],
"DCP_ADDRESS": [
"address1",
"address2"
]
}
Supported Fields
Only the following search criteria keys are currently supported:
Key |
Type |
Description |
---|---|---|
|
|
Start time for data query (e.g., |
|
|
End time for data query (e.g., |
|
|
Must be one or both of: |
|
|
One or more DCP addresses to query |
Warning
⚠️ All other keys in the criteria file will be ignored. For detailed information on the search criteria format, see the opendcs docs.