Impact 2024: The Industrial Data and AI Conference for and by Users | Nominate Speakers Now for a Ch...
I am busy with Cognite Training:Data Engineer Basics > Python SDK Transformations (Hands On)I have completed the ‘1. Environment setup’ without any problems. At the end of that, I have a variable defined However, the next step is to create the database in CDF:This gives the error, which looks like an access error: CogniteAPIError: Unauthorized | code: 401 Please could someone advise me what is to be done to correct?Thank you.Doug
Hey team,I was wondering if there is going to be an alignment on what we call this tool across the many places it is referenced? I’ve found these 5 so far:This hub group: CDF Toolkit cdf-tk and project templates github: cdf-project-templates pypi: cognite-toolkit command line: cdf-tkI’m personally a fan of cdf-tk.cognite-toolkit is too broad (doesn’t include InRobot, Maintain, f25e). cdf-project-templates is too many words for a CLI. project-templates is too broad.
This post is pursuant to “Postman does not work properly after authorization”.I have begun the module:Followed the steps in the instructions.Environment variables: Authorization was updated: Then, to test, I went: Cognite API collection > "Assets" folder > "List assets" > SendThis gives Error - different to that in post “Postman does not work properly after authorization” - Next, I try to list the timeseries data: timeseries > list time series > Send. Whereas in post “Postman does not work properly after authorization”, I got back data, now I get Q1. Please could someone help me get around this?Thank you for your support. Regards,Doug
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.
Busy with training module:Data Engineer Basics - Transform and Contextualize > CDF Transformations > Assets transformationI have the following SQL: The Preview works: But, doing Run, leads to an error.So, of course the NULL in the 1st row above ought to be “ “ for the root asset.Q1. How do I test for NULL and set NULL value to “ ” in the Spark SQL query?Thank you!Regards,Doug
Are Cognite Charts calculations published back to CDF?
Hi Team,I am getting an error message while running the cogex init in command promp.Is there anything I am missing here, can you guide me on that? Thanks and Regards,Navyasri Indupalli
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.
Create assignment list of Assignees with Discipline Area while assigning checklist to user.
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 ?
There is similar question posted in other community. Please refer that.
I am doing CDF fundamentals hands On , module Transform Data I am receiving error .Can someone help.RegardsAmelia
which types of files supports (read directly) for P&ID and 3D model with CDF ?
Got an error when deleting some files: { "code": 500, "message": "Internal server error. Please report this error to support@cognite.com and provide us with your request id: 277d50c2-7bb4-98eb-850f-91738b07d7e3 and cluster name: westeurope-1"}Here’s another instance of the error:{ "code": 500, "message": "Internal server error. Please report this error to support@cognite.com and provide us with your request id: db1f2315-cb72-9ca4-aab8-075f7d18203f and cluster name: westeurope-1"}
I’m trying to upload a raster file to cdf, but I get this error message when trying to create the feature type. cognite.client.exceptions.CogniteAPIError: RASTER properties only support embedded storage. | code: 400 | X-Request-ID: 21781349-8ad8-9710-abdb-7c7199a268e7raster_ft = FeatureType( external_id="Raster_ft", data_set_id=1, properties={ "raster": {"type": "RASTER"} })client.geospatial.create_feature_types(raster_ft) # gives error messageIs this the right method to upload a raster to cdf? I found a method put_raster() in the docs, but it seems to require feature and feature type to be created already. The rest of my code: # create raster featurefeature = Feature( external_id=f'raster.test', data_set_id=1, raster=open(raster_filepath) # What do I put here?)client.geospatial.create_features(feature_type_external_id='Raster_ft', feature=feature)# looks like I need the feature with the raster property, do I need this function?client.geospatial.put_raste
I have begun the module: I followed instructions down to setting the environment variables:Then, authorization was updated: Get New Access Token is successful. Use Token clicked Then, to test, I went: Cognite API collection > "Assets" folder > "List assets" > SendThis gives Error: So, I deselect “minCreatedTime” parameter. (THERE IS NOTHING in the documentation that talks about this.) The, press “Send” again.But then get this error when testing:So, deselect “maxCreatedTime” , and progressively deselect minLastUpdatedTime; maxLastUpdatedTime as indicated by error messages.Finally, Gives the error: Therefore, my attempt to list the assets in the CDF project has failed. Next, I try to list the timeseries data: timeseries > list time series > SendTry deselecting all the query parameters > Send This time there is a listing of timeseries: My questions:Q1. Why can I not list assets?Q2. Why can I list timeseries, but not assets? Thank you for your support. Regards,Dou
Hyperlink in CDF is not navigate to right screen for the provided hyperlink. User will navigate to CDF by default screen not the intended hyper linke.g: https://oq.fusion.cognite.com/oq-test/explore/search/timeSeries?cluster=westeurope-1.cognitedata.com&env=westeurope-1&journey=timeSeries-114626196540160&q=separator
Hi Team, I have a dataset consisting of Timeseries, Assets, Files and Sequences in one tenant. I wanted to export this dataset into another tenant. Is it possible for exporting the whole dataset as a zip file and then importing to the other. Or is there any other method specified by CDF for the same .
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
Hi everyone, I would like to know if there are timeout restrictions for functions, as I've been executing a function that reads data from a RAWs table in batches, and since there are many records (1M), it takes up to 10 minutes and I get a timeout error. Is there a way to configure this restriction? Running the same function code on a local machine takes around 2 or 3 hours. Regards,Karina Saylema@Aditya Kotiyal @HanishSharma @Jason Dressel @Jairo Salaya @Liliana Sierra
Hi, everyoneI'm trying to load sequences using Python SDK by inserting dataframes. In the dataframe, I have some columns with NaN and numeric values. Dataframe: and when loading NaN values, they are uploaded as 'null'. I've tried replacing them with empty strings, but due to the column definitions, if I have numeric values, the column's data type must be Double or Long, and conflicts arise when encountering empty strings.This is the code to load a sequence: Results in CDF using Python SDK: However, when loading the sequence via DB-Extractor, empty strings are uploaded as such and not as 'null' Is there any way to load via SDK so that NaN values are uploaded as empty and not 'null'? Regards,Karina Saylema@Aditya Kotiyal @HanishSharma @Jason Dressel @Jairo Salaya @Liliana Sierra
Hi, EveryoneHow can sum several time series? For example:Times series # 1Times series #2How can sum these time series if the filter just taking one id ts{id=001}Regards, Liliana Sierra@Aditya Kotiyal @HanishSharma @Jason Dressel @Jairo Salaya
Exploring Cognite CDF
I am trying to trigger multiple workflow through function. I have a function(function name = "wk-func") that will trigger workflow instances(workflow name = ra-wkflw'), it has for loop , number of times workflow instances to be created, keeping in mind instances limit to be 50, still it is giving error for run on even 2 isntances, Function has following handle: def handle(client,handle): for chunk in chunks(list,2): workflow_input = { "abc":data['value'] } run = client.workflows.executions.trigger( workflow_external_id='ra-wkflw', version=1,input=workflow_input ) Its working if I run at my local IDE with passing the client details and trigger function handle. It triggers multiple workflows without any error.However, On running function using SDK,input_data = { ‘abc’:’hey’}client.functions.call(external_id ="wk-func", data = input_data)Function is completed, however, workflow instance is not being triggered and following error i
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.