How to Identify If Real-Time Completion Data Has Been Reprocessed
Corva API customers query real-time completion data (e.g. corva#completions.wits
) on an hourly basis. Occasionally, the real-time data is corrected by reprocessing data from a frac stage. This tutorial explains how to identify such corrections using the Corva Data API.
Use Case
As a Corva Dev Center developer or API customer, you may need to determine if real-time completion data has been updated due to the reprocessing of a frac stage. This guide demonstrates how to use the Corva Data API to check if the data has been corrected.
The Solution
Corva provides a dedicated dataset: corva#completion.data.purged_stages
. This dataset includes key information such as:
- asset_id: The unique identifier for the asset.
- stage_number: The stage number of the frac stage that has been purged and reprocessed.
By querying this dataset, you can easily identify if and when the real-time completion data was reprocessed to address data quality issues.
How to Query
To check if a specific asset's real-time completion data has been reprocessed, use the following API endpoint:
GET https://data.corva.ai/api/v1/data/corva/completion.data.purged_stages/?query={"asset_id": 123456}&limit=100&sort={"stage_number": 1}