- Preprocess data, transform and validate data, convert data to the same unit, and detect deviation from estimated production.
- Convert from simple to complex calculations: interpolation, production trends, computing gas rates, generating alarms based on events.
- Create statistical models for forecasting oil/water separation and time series smoothing.
Before you start
- Make sure you have registered the Cognite API and the CDF application in Microsoft Entra ID and set up Microsoft Entra ID and CDF groups.
- You must also have the Python SDK installed in your environment if you want to create functions using the SDK.
-
To use functions, a user or an application must be a member of a CDF group with these capabilities:
Action Required capabilities Create functions functions:write,files:read,files:writeCall functions functions:run(orfunctions:write),sessions:createList and retrieve functions, schedules, calls, responses, and logs functions:readSchedule functions functions:write,sessions:createDelete functions and schedules functions:write
Read more about capabilities.
Activate Cognite Functions in CDF
Before creating a Cognite Function, you may have to activate functions in CDF.Navigate to Functions
Navigate to Data management > Build solutions > Functions.
-
If you see the warning:
Cognite Functions is not activated for the project, select Activate to request activation. - If you see the Upload function button, your project is already activated for Cognite Functions.