Join the conversations to shape a safer, more efficient, and sustainable industrial future!
Recently active
(Please forgive the erroneous posting of this under Academy Discussions)Doing the ‘hands-on’ for Data Engineer Basics - “Learn to Use the Cognite Python SDK “ Course."I have done the following:Make a dataframe from reading from a csv file: One of the columns in the csv file is ‘region’. The 5 different values in the region column are When the above code is run, the following appears on the screen: Q1. Does this mean pandas has interpreted the region “None” as “nan”? If so that would explain why the following code throws “ValueError: Out of range float values are not JSON compliant. Make sure your data does not contain NaN(s) or +/- Inf!” I would value your guidance as I have not worked with pandas() much at all.Thank you,Doug pandas
Hi,We are using graphql query to get data points in CDF function. As I understand we could retrieve 1,00000 data points at a time if we provide the limit. Here is the sample query:query MyQuery { listProductionData( filter: {externalId: {in: ["wellbore1"]}} ) { items { space data { Oil { 1_day { dataPoints(end: 2240591400000, limit: 100000, start: 1672338600000) { value timestamp } } } } } }}I tried above query and I can get all the daily datapoints present in the range from 2023-01-01 to 2040-12-31. But when I tried below query : query MyQuery { listProductionData( filter: {externalId: {in: ["wellbore1"]}} ) { items { space data { Oil { 1_day { getDataPoints(start: 1672338600000, end: 2240591400000) { items { timestamp value } } } } } } }}we c
Hi all,I'm trying to increment my view version.To do this, I'm also incrementing my data model version as well.My original is```type Test @view(space: "test_space", version: "1_0"){ name: String!, description: String,}```and I try to go to```type Test @view(space: "test_space", version: "1_1"){ name: String!, description: String, test_write: String}```I've also tried ```type Test @view(space: "test_space", version: "1_2"){ name: String!, description: String, test_write: String, required_test_write: String!}```I get this error: { "title": "Error: could not update data model", "message": "An error has occured. Data model was not published.", "extra": { "type": "div", "key": "errors", "ref": null, "props": { "style": { "display": "block", "overflowX": "hidden", "overflowY": "auto", "maxHeight": "150px" }, "children": { "type": "ul", "key": null, "ref": null, "props": {
I am facing this error in the data science course on “creating cognite functions” with cognite SDK. In previous courses I had fixed this error by replacing the “datapoints” keyword with “time_series”. However, I would like to know if I am probably not using the write packages; OR not know if the commands are deprecated and have new function names in newer versions. Kindly let me know - I am trying to finish these courses before my local boot camp next week.Thanks,Lavanya
Hello,I’m encountering an issue with accessing a dataset on Cognite Jupyter Notebooks. According to this link: Jupyter Notebook in Cognite Data Fusion | Cognite Documentation, subfolders will appear empty if I don’t have access to the dataset. However, I can see the dataset through the data model corresponding to that dataset, but I still can't see any contents inside the subfolders.Do I need anotther type of access or is it another issue? Any help would be much appreciated.Thanks!
Hey guys. I’m trying to create a function with some different constants. Do you know how can I change the name of the constants?
Hi,I have some questions on Cognite. Would you please help?1. Files1.1 To delete Cognite files, after deleting the files do we need to delete the documents also? 1.2 After we create the files, the documents are created by Cognite automatically, but it seems there are some random delay to create the document, why?1.3 what is the concept of document in Cognite? Why is it created? Any documents on that?2. sequences2.1 To delete Cognite sequences, after deleting the sequences do we need to delete the datapoints also? 3. timeseries3.1 To delete Cognite timeseries, after deleting the timeseries do we need to delete the datapoints also?4. delete order for containers, views 4.1 to delete all FDM data in a space, the order of deletion should be edges, nodes, containers, view versions, data models, space. And the containers should be deleted first then delete the view versions, right?Thank you!Alice
Dear community,We have been working with Python SDK developing functions and everything works fine, as expected.Now we have an IP development that has C# as base language. We need to call some of the Cognite Functions utilizing the .net SDK (https://github.com/cognitedata/cognite-sdk-dotnet) but we are having troubles to call the functions trough .net.Has anyone been able to utilize Cognite Functions trough the .net SDK?Thank you all.Here is a snippet of the code:
I am trying to create a Data Model in the UI. I can click ‘create data model’, name it, and land on the page with the editor and the pre commented pump/facility/documenation example. However I am not able to edit the graphql as anytime I try to edit in the editor I am told that I ‘cannot edit in read-only editor. Where is the toggle to disable the read-only editor?
After how much time retry of function get triggered on failing?Is there a way we can set the time to retrigger the function after function fails. It will be helpful to deal with rate limit in functions if any.
Hello, how can I delete all the time series of a dataset with python sdk?
Hello,I’m trying to consume data from FDM in Power BI. But I’m getting error (408) Request Timeout. I’m already filtering Power BI for only a few days of data, which brings an amount of data comparable to the amounts I have already consumed in Power BI. How can I solve it?
Hello,I am trying to follow along the first chapter in Data Engineer Basics - Integrate. I am trying to follow the first workbook : Authentication. When I try to install poetry, I get an error below.Can anyone let me know how I may troubleshoot? I am on mac, python 12 and pipx (instead of pip) at ~/Library/Application Support/pypoetry/venv/lib/python3.12/site-packages/poetry/installation/chef.py:164 in _prepare 160│ 161│ error = ChefBuildError("\n\n".join(message_parts)) 162│ 163│ if error is not None: → 164│ raise error from None 165│ 166│ return path 167│ 168│ def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:Note: This error originates from the build backend, and is likely not a problem with poetry but with pyzmq (25.0.2) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "pyzmq (==25.0.2)"'.Th
What access capabilities do I need to run transformations as “Current User”. I have a user who don’t see “Run as current user” as in screen shot. Next screen shot is mine, and I can see it probably because I am added as admin
Hi, Is it possible to use multiple clients for the same Cognite Function? I know the handle function only takes one client as argument, but is it possible to initialize another client inside the function? I want my Cognite function to read from prod environment, but write to dev environment, which necessitates two clients. Thanks.
Deployment of workflow , can you guide how we can automate deployment of cognite workflows using sdk
While testing versions of the cognite-sdk python >= 7.37.0, we noticed a performance issue in the "retrieve_dataframe" method of the time series API for all versions 7.37.x ( x >= 0 and x <= 3). Example: For the same data window, we tested with version 7.0.0 and the latest versions. The processing time for version 7.0.0 in this method was less than 5 seconds, while for newer versions the processing time was 3 minutes.
Hello Team I have a .pid file, generated from the https://hexagon.com/products/intergraph-smart-p-id software. Is there a way in CDF to read the files directly - meaning I’d like to see the vector, layers and properties natively and not rely on generating a PDF and doing an OCR.If I must write a connector myself, how do I go about it? Is there an industry standard format for .pid file, is so perhaps there is business case to commercialize such a connector?Appreciate your hints!RegardsAlex
While doing the CDF Fundamentals, I’ve found out that if you don’t select a Data Set ID while uploading your PDF file, you later won’t be able to link it to your Asset, as your Data Set won’t be found. Also I didn’t find a way to edit this later. I had to upload a new file and select my Data Set ID. Is this expected? What was confusing to me is the fact that the Data Set ID is marked as optional. If this is not the case, this should be flagged as mandatory in order to upload any file.
Hello,I am trying to follow along the Entity matching notebook in the data Engineering learning module. I am having trouble generating COGNITE SECRET to run the notebook - kindly let me know if I may have missed a lesson. thanks,Lavanya
Are Cognite Charts calculations published back to CDF?
Hi, I am on Data Engineer Learn training. When I try to make my first API request for the publicdata project, I get a 404 Not Found error: The GET url I was asked to use is{{baseurl}}/api/v1/projects/{{project}}/assets I also replaced {{project}} with ‘publicdata’ with same result. Kindly let me know.
Hello, I am trying to perform a calculation on Charts but it does not work. It is a multiplication of 4 time series, all of them with a resample to granularity to 1m. One of them has real values and 3 of them are 0/1 steps. When I zoom out, I can see the calculation and it shows a pick of values, that is not accurate as it shows average data. Although when I zoon in to see the data, the trend disappears, the error says “One of the time series has less than two values”. As I resampled the data to 1 minute, I was expecting to see one values per minute, but it does not seems to happen. Is there other way to calculate the data correctly? Zoom in:
hi,I am trying to access the data science training, and it requires two credits and when hit purchase it is freezing, any help for this matter ?
Hi, Unable to connect CDF data source to Grafana.Please suggest asap on this.Thanks
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.