Join the discussions about products powered by Cognite Data Fusion. Click the + CREATE TOPIC button in the menu bar to start the conversation.
Recently active
We are having a multilevel asset hierarchy in cdf, and ground level assets are only having timeseries linked.we are trying to create Relationships between every parent asset and its child asset’s Timeseries.we used python sdk code snippets to do this. Which are been attached to this for your reference.In python sdk, after running the python relationship code, it is showing relationships are established. But in UI it is not showing from Assets, But we are able to see under Timeseries.even after we tried interchanging the Source and target between assets and timeseries, same result.one unique observation is that we could see the relationship established just for 1 asset which is having 3 timeseries linkage. rest others are not showing(they have more than 20 relations, even 500 for root asset.)we would like to know are we following correct manner, or any restrictions are from CDF tool. plz help us in this regard.from cognite.client import CogniteClientfrom cognite.client.data_classes impo
Hello I am trying to run entity matching on the data that is in FDM (Data modelling) and not in the classic assets model. I don’t see an option to fetch such items in the entity matching screen (contextualize menu). Is this by design, do we expect a support to search and select such custom models for matching in the future. Also a similar case for data explorer, even when I have updated all my records to have a data set id, I am not able to search for them in the Data explorer. Just wondering when the explorer can start supporting such data. PS:I imagine, the entity matching can also work if I invoke the APIs directly, but then I’ll have to extract names + description myself and also need to link the results back to their original ids. A visual ways in CDF Fusion UI will be very helpful. RegardsAlex
We are pleased to announce an update to the Search, Filtering and Aggregations documentation, detailing enhanced search, filtering and aggregation capabilities for our Assets, Documents, Events, Sequences and Time Series APIs.These additional features are already implemented in the April 2023 update to Data Explorer and are available to use natively within the service APIs. The documentation provides guidance on how to implement advanced filtering, sorting, search and aggregation functionality (which is available on both the standard fields and metadata), so that application users can use much more powerful and expressive search queries to find exactly the data they are looking for.Use is recommended for existing, mature projects, and apply to use cases for the Assets, Documents, Events, Sequences and Time Series APIs. For new projects and use cases, customers are recommended to work with the newer Data Modelling APIs.The updated documentation may be found here Tell us what you think
Hello All,In the past, we encountered some performance issues when extracting data from the PI System using PI API. As an alternative, we have been using PI SDK to extract data from both PI Archive and AF. The question is, does Cognite PI Extract utilize PI SDK, and are there any performance limitations?
Hi,We saw quite frequently an error message like below:"could not add instances: 500 - Internal server error. Please report this error to support@cognite.com and provide us with your request id: 4594f717-51c0-9708-86d3-5c5431f60cd1 and cluster name: westeurope-1"But when run it again it worked. The issue happens quite often(the number of instances in the request is close to 1000), could you have a check? Thanks. Regards,Xiaofeng
Hi, is it possible to host a web-hook endpoint in a Cognite function?And is it a good idea?
How do I store a dataframe as an XLS in CDF files? I have to perform this within CDF functions.
How to connect azure devops variable group and read its variable to manifest.yaml file for transformation deployment . in manifest.yaml, secret is visible. I want to hide it. transformation is getting deployed using azure devops CI/CD pipeline.
Update! See this post for an updated example notebook based on the Cognite Python SDK.We want to make it easy for you to interact with CDF Workflows through Python. Therefore we’ve created a Jupyter Notebook that demonstrates the service using Python and a simple example. Native support in the Cognite Python SDK will be released shortly. Try it out, and feel free to leave feedback or questions in the comments! Note: Download the file below and remove the .txt postfix to open the file as a Jupyter Notebook.
Hey there! We are thrilled to announce the Early Adopter Beta release of CDF Workflows.CDF Workflows is a managed process orchestration service within CDF. Using CDF Workflows, you can effectively coordinate the order and timely execution of interdependent processes such as Transformations, Functions, requests to CDF, and dynamic tasks effectively. Key Highlights Declarative Workflow Definition We have designed Workflow Orchestration with a declarative approach. Users need to specify the tasks to be orchestrated, input parameters, and the desired execution order. This intuitive approach we believe reduces complexity and lowers the bar for adaption. Orchestrating four different processes The Workflow Orchestration service supports the orchestration of four crucial types of processes: Transformations, Functions, CDF, and Dynamic Tasks. This versatility ensures that our workflows can leverage various functionalities, optimizing productivity. Versioning Capabilities Managing changes an
I had run transformation giving me error for Duplicate node externalIds for space 'PDM' even after deleting all the data from the model for space PDM still giving the same error, I also verified by api still there is no data still giving the error for Duplicate node externalIds for space 'PDM' .
Found a bug? Have a question about how something works? We want to hear about it!As an early adopter if you wish to report a bug simply post a reply below in this thread or create a question / thread in this group and someone from the team will get back to you regarding the issue.
Currently Cognite’s Streamlit apps have issues with for example:with st.spinner('Wait for it...'): time.sleep(5)st.success('Done!')The code itself should wait 5 seconds before writing out Done!, but is executed instantly. Another example is when you try to make your application responsive while waiting for some data to arrive from a remote location. For example, when you want to print out a wait message for the user because sometimes it takes some seconds to load the data, but the app doesn't work as intended. In the following example I am trying to print out a message while waiting for the function to finish, but it fails:call_func_button = st.button("Call function with current parameters", key="button_func_call")if call_func_button: func_call = example_function.call(data=input_data, wait=False) st.info("Waiting for function...") while func_call.status == "Running": func_call.update() if func_call.status == "Failed": st.error("Function failed to run!")
I wanted to know, can I create a Table in RAW database, which will contain only column names initially with 0 rows added in it?
We’re in development of an API retrieving the latest values from timeseries from CDF using the C# SDK. Initially we set the code to look 200 days back (‘200d-ago’). Now, this stopped working all of a sudden this week. My first reaction was to go event further back (‘365d-ago’), but what works is using an even shorter timespan (‘30d-ago’).So question is - are we limited by a quota or have there been changes limiting this functionality lately?
I have a CDF chart that is showing some output based on the timeseries associated with. I want to flag the points on the chart that are beyond some threshold. (say anything >0.5 and <-0.5 is abnormal and need to be flagged off in the chart) IS there a way to show that in the CDF charts visualization.
Have been having issues with Cognite Charts since it’s been merged into CDF. Whenever I try to go to charts, I have to clear the cache in my browser for it to work, otherwise it doesn’t load. This is a small nuisance that can prevent people from adopting the use of Charts as their daily tool.
When I run the following code in Jupyter notebook in CDF, I dont get any problem and it runs fineimport pandas as pdroot_asset = 'LPM_YT_MODEL'def handle(client, data=None, secrets=None, function_call_info=None): start=pd.Timestamp(data["start_date"]) end=pd.Timestamp(data["end_date"]) ts_names_list = client.time_series.list(limit=None,asset_subtree_ids=[client.assets.list(name=root_asset)[0].id]) time_series_data_extids = ts_names_list.as_external_ids() data_points = {ts: client.time_series.data.retrieve_dataframe(external_id=ts,start=start,end=end,) for ts in time_series_data_extids if not client.time_series.data.retrieve_dataframe(external_id=ts,start=start,end=end,).empty} but when this is executed as cognite function, it is throwing following error Traceback (most recent call last):File "/home/site/wwwroot/function/_cognite_function_entry_point.py", line 455, in run_handleresult = handle(*function_argument_values)File "/home/site/wwwroot/function/handler.py", line
I am trying to take cognite training and while playing the video i get the error:-”The video file cannot be played.(error code 232011)”
There is a requirement for me where the stakeholder wanted to download all the charts (120+) in one-GO for a specific date range and then validate them. There are some charts (out of 120+) that are using the timeseries objects with some calculations. (ta * tb) /1000 , (ta + tb + tc)/1000 , 141/(ta) - 131.5,…… I cannot go to each one of them manually and download them, but the customer wants to download them all in one and then validate as per their choice. Please advise
I have some issues, like end of electric power during the course, mainly on the final test, because at my house have 4 blackouts at afternoon. So I need to make the final test to get the Certificate.
Below is the screenshot of error , during running transformation. Below is the Query used to transform, Preview is working fine. But During the Transformation Run, it is giving above error, saying start time values cannot be greater than endTime values. But According to Query it shouldn’t be the case. plz suggest solution. Attached Sample Data(data sheet) For your reference.select `Notification_no` as externalId, `startTime` as startTime, `endTime` as endTime, `description` as description, `type` as type, 1118188859138991 AS dataSetIdfrom(select concat('NO_',QMNUM) as `Notification_no`, --to_timestamp(QMDAT,'M/d/yyyy') as `startTime`, CASE WHEN RIGHT(MZEIT, 2)='AM' THEN TO_TIMESTAMP(CONCAT(QMDAT,' ', SUBSTRING(MZEIT, 1, LENGTH(MZEIT) - 3)), 'M/d/yyyy h:mm:ss') ELSE TO_TIMESTAMP(CONCAT(QMDAT,' ', SUBSTRING(MZEIT, 1, LENGTH(MZEIT) - 3)), 'M/d/yyyy h:mm:ss') + INTERVAL 12 HOURS END AS `startTime`, CASE WHEN isnull(QMDAB) THEN
I have a set of timeseries objects in CDF. I want to create a chart using SDK based on some function using the base timeseries objects. How Do I do that using SDK I have a timeseries object with externalID ‘ts-ext1’. I need to create a chart that follows the operation as below.[141/(ts-ext1) - 131.5 ] How do I do this in code iteslf?
In this post, I want to mention a tool that can help us troubleshoot issues such as authentication or unexpected errors: FiddlerFiddler is a Windows-only tool that logs HTTP(s) traffic. This will help you to understand what you are sending on the payload in the request and what response you are getting. This is a community-trusted free tool.Some applications don't show descriptive error logs in the UI, which makes it challenging to narrow down the issue; however, you can get a better understanding of what is going on if you have visibility on the API calls.When using a Web app in the browser, you can use tools such as the Network Tab in the Developer tools to capture the traffic and inspect the API calls. You can get more details on how to do this in this post:But what do you do when you get errors in applications (.exe) such as Power BI, for example? For scenarios like this, you can use Fiddler.How to use FiddlerDownload and install Fiddler-Classic Open Fiddler You need to decrypt tr
Hi!I was trying out this API: https://pr-ark-codegen-1646.specs.preview.cogniteapp.com/v1.json.html#tag/Instances-(New)/operation/byExternalIdsInstances.When i try to Retrieve a node by external id by giving source details as well, it works fine for a single View-ID pair. But when i try to do for more than one, I’m getting empty response.Example: Say Id1 belongs to View1, and Id2 belongs to View2.Querying with (Sources : View1, items : id1) as well as (Sources : View2, items : id2) gives correct response as expected. But when I try (Sources : [View1,View2], items : [id1,id2]), i get empty response. I was hoping it would provide information on both Id1 and Id2