Solved

Calculated time series - No linked asset

  • 27 February 2024
  • 2 replies
  • 24 views

Userlevel 2
Badge +4

Hello everyone,

I created a calculated timeseries based on an existing one and everything went well, except that the calculated timeseries does not have a linked asset. As a result, when I am looking at the asset on data fusion this calculation does not show up.

 

Did I miss something? Is there a way to link this calculated time series to the asset that I want?

Thank you.

 

icon

Best answer by Jason Dressel 27 February 2024, 18:02

View original

2 replies

Userlevel 4
Badge

@dalvaniamp,
If you created this calculated time series via SDK, you can set the asset_id property of the time series object at the time of creation:
https://cognite-sdk-python.readthedocs-hosted.com/en/latest/time_series.html#create-time-series

If you created your calculated time series via Charts “save and schedule”, I believe that you will need to run a post process (via sdk, contextualization pipeline or equivalent) to set asset_id.  If this is the case, it seems to be a nice feature request to have these set at the time of creation 😉.

-Jason

Userlevel 2
Badge +4

Thank you, @Jason Dressel! I indeed created the calculated time series using Charts “save and schedule”. I will post this as a feature request on the proper channel.

Reply