Skip to main content

Visualize a calculated time series created in the model

A calculated time series in an AIR function can be visualized in the AIR front end. Read more about how to create a time series.

To visualize a calculated time series in the front end, set the argument visualize to True.


from cognite.air import AIRClient

def handle(data, client, secrets):
air_client = AIRClient(data, client, secrets)
time_series = air_client.retrieve_field("my_time_series")
+ time_series.external_id
+ air_client.schedule_asset_ext_id # add schedule external id to make time series unique
name=f"My Time Series created from {}",