Impact 2024: The Industrial Data and AI Conference for and by Users | Nominate Speakers Now for a Ch...
Hi,CDF supports direct ingestion of non-numerical timeseries data. You can provide datapoints in either numerical and string form. https://developer.cognite.com/dev/concepts/resource_types/timeseries/So yes, you don't need to convert enums or strings to numbers - you can ingest them as strings. However, we have many helper functions if you want to map the enum values to numbers. This is often used if you want to normalize or standardize enum values across multiple machine types and equipment suppliers. https://developer.cognite.com/dev/concepts/resource_types/synthetic_timeseries/#convert-string-time-series-to-doubles Hope this helps kind regardsJohannes
Sorry, misread this and thought this was about Functions. Replied to that, but see now you were asking about something else. :). Didn’t see a way to delete a post...
I’d like to add a little to @Johannes Hovda answer: 1) Start/end Be careful using start=0 (1970-01-01) as the time series API support timestamps all the way back to the year 1900. Following the examples in the documentation, you may import, for your convenience, the very first possible timestamp to be dead sure not to miss anything! The oppositely is true for end, which defaults to "now" if not specified. Thus, if a time series first datapoint lies into the future, you need to specify end to retrieve it. API supports up to 2099-12-31 23:59:59.999 >>> from cognite.client.utils import MIN_TIMESTAMP_MS, MAX_TIMESTAMP_MS>>> dps_backup = client.time_series.data.retrieve(... id=123,... start=MIN_TIMESTAMP_MS,... end=MAX_TIMESTAMP_MS + 1) # end is exclusive 2) Efficient queries You write that you have “thousands of time series” that you need to find the initial datapoint of and this could be very inefficient to query, if not done correctly. The time series API
Hi,We have a built-in method for getting the latest datapoint.However, you can use the “limit” option to get only the first datapoint from a series. Doing it this way means you don't need to retrieve the entire series just to get the first point. You can use this to get Last:client.time_series.data.retrieve_latest(id=186538285190435) You can use this to get First:client.time_series.data.retrieve(id=186538285190435, start=0, end="now", limit=1)
Yes, you can export 3D models from Inventor, and upload them to CDF.CDF currently lets you upload 3D models in the following formats:stp, step, nwd, sldprt, sldasm, x_t, x_b, ifc, rvm, fbx, obj, ciff, e57, laz, las, ptx, pts. You can check your version of Inventor here to see which formats are supported:https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/Inventor-Inventor-export-formats.html
Ok, so I finally got this to work.One of the problems was related to this: when in fact I had to use the App Registration application ID as Client ID in the Postman body, not the AAD Group.Another problem was related to parameter resolution in Postman, where I had populated the Token URL and Project with variables that weren't properly resolved, but there was no warning or error when creating the user and password. Also, it still resulted in a Test Connection OK inside Azure Data Factory.
Hei Johannes, Have you made sure that the user is part of a group that has the right access? Yes, I have. I have the group in CDF set up with permissions, and the source ID points to the AAD group. The AAD Group contains the App Registration as a member. Note, in contrast with e.g. the Postman App Registrations, the doc doesn't mention any API permissions need to be set. E.g. Impersonate, or similar.
Most likely something went wrong when you created the user for the gateway. It looks like the user is lacking CDF credentials. Strange, I have even tried recreating the user, but still the same error.
Hi,I recorded a screen share of the problem:https://drive.google.com/file/d/1RhpjGzKrmE-d22fLX-AClll6KruSULjg/view
Hi @ChandC ,The variables in Postman are case sensitive. When you hover over a variable in the authentication screen, you should see the resolved actual value. The “CURRENT” value for baseUrl should read something like “https://api.cognitedata.com”. See screenshots below.(* Ignore the URL in my screenshot - I am connected to a different project.) The color also indicates if the variables are not properly resolved - they should be orange, not red colors. You can tell from the errors you are seeing that the variables are not properly resolved.Make sure all variables are resolved, and you should hopefully have more luck. Kind regardsJohannes
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.