How to fetch all the timeseries linked to an asset? I have a root asset that has 16 child assets. Each of those child has 18 timeseries objects. How do I write a code so that I can loop through this setup and read each of those timeseries objects and read the datapoint for a particular day and gather them.
root = client.assets.list(name='liquid_asset')
children=client.assets.list(parent_ids=[root[0].id])
for i in children:
print(i.time_series)
Result is this: <bound method Asset.time_series of <cognite.client.data_classes.assets.Asset object at 0x3468500>>
I could not iterate through the i.timeseries and read the datapoint from a very specific timeseries object named as 'PVOL'.
Please help.
Best answer by HaydenH
View original