CDF Fundamentals Discussion

  • 29 October 2021
  • 95 replies
  • 2731 views


Show first post

95 replies

Userlevel 2
Badge +5

Hi @Sarah Behrens!

Wow, amazing work! Thank you so much, we’ll update the course.

 

Sofie

Badge

Calculate Delta T :

Click + Add Note, go to Source, and select both of the time series. 

The above lines should be : 

Click + Add Node, go to Source, and select both of the time series.

Please correct the training material.

 

Thanks

Dev 

Badge

Hi, I’m in the CDF-fundamentals last course “Working with CDF: Consume” but when I click on “+ New chart” I get a “busy” screen that goes on endlessly.  

Is there something wrong with this?  Have tried different browser types (MS Edge, Chrome), refreshed/reloaded page, removed pop-up blockers, anything I’ve come across in the tip notes but nothing seems to be working.
When I back out “← All charts” it seems the new chart has been created, but when I click the preview icon
I get the same busy screen again.

My data is all starting with Daniel1969.  Thanks for checking.

Best Regards,

Danny

Badge

Hello, I’m working on the lesson Working with CDF: Consume.  I am having issues with loading the charts section.  Endless loop of failed to load.  Any tips?  Here is a screenshot of what I am seeing.  Thanks

 

 

Userlevel 2
Badge +6

Hi Bbauri, 

Thanks for posting your query.
As I have investigate the problem, but I can’t replicate the issue and chart module in fusion works fine at my side like create the chart, adding the timeserise, visualize timeseries etc. I hope you are using the right project which is “ cdf-fundamentals” to perform the hands-on in fusion and advise you to use the chrome browser to open the https://fusion.cognite

Can you clear the cache of your browser and try again or open the fusion in incognito widow ?

If you face the problem again (failed to load Firebase), please can add the console snap shot of your browser and it will help us to investigate the issue further in details.

Regards 
Kumar

 





 

 

Badge

Hi Rahul,

 

Thanks for the response.  I am able to access the data files in manage data catalog with no issue.  I am logged in to the cdf-fundamentals project as well.  My data sets are named Bernard1977 as seen below:

When navigating to the charts section, I am having issues.  Please see screenshots below. 

First it shows as if its trying to load like this:

 

And I ultimately receive this after trying to reload;

Any help will be greatly appreciated.  This is the final module prior to certification.

Thanks

Userlevel 2
Badge +6

Hi Bbauri, 

If you are using any extension in the browser, please disable it, use the latest version of browsers  and check your have - https in the start of url and not http 
Please add the snapshot of the browser console and will help us to find the cause of the issue.

Regards
Kumar

Badge

Hello Rahul,

I verified that I am using the https in the start of the url.  Here is a snapshot of the browser console.

 

 

Userlevel 2
Badge +6

Hi Bburai, 

Can you add the snapshot of your console as I can see in the snapshot you have 88 warning in console 
look at the image the image below

 

 

Badge

Hello Rahul,

Thanks for your help!  Attached is a snapshot of the console.  Thanks

 

Userlevel 2
Badge +6

Hi Bbauri,

Thanks for providing the console snap short of browser.
I have investigate deeply and found out all is working fine with the fusion. In the console , you have problem with failed to load resource:net::ERR_CERT_AUTHORITY_INVALID, which is related to your network connection and SSL certificate.

I recommend you to check your network connection and SSL certificate in your browser.

Help link 1 and Help link 2

Regards
Kumar
 

Badge +2

Hi @Eniko Farkas, I did, my network was too restrictive when I tried. And once I did I wanted to remove the comment, since I saw there were similar comments as well, which I’ve managed to miss somehow when I first went through the discussion 😅 Thanks for asking 

Badge

Hello

I cant find the raw data for IFSDB data set i.e. where is the data for the maintenance events or the timeseries? I only loaded assets.csv file and that was for asset hierarchy. 

Thanks

Kapil

Badge

Hello,

For the Data points step “Transform RAW to Data points” I received the error “Query returned no results. The query is syntactically correct, but returned 0 rows of data.” 

It seems the query does not filter for dataSetId and returns no matches. I changed the query to solve the issue on my end, here are the changes: 

SELECT
  concat('FirstnameBirthyear:',dp.sensor) AS externalId,
  cast(time_stamp/1000 as timestamp) AS timestamp,
  cast(value AS double)
FROM IFSDB.values AS dp
JOIN _cdf.timeseries AS ts 
ON CONCAT('FirstnameBirthyear:', dp.sensor) = ts.externalId
AND ts.dataSetId = '1234567890'

Userlevel 2
Badge +5

Hi @Aleksander Poverud 

Did you try to run it without the data set part? Since datapoints is such a big amount of data it is not always ideal to ‘preview’ datapoints. But for the preview part, your additional line of code is doing the trick!

Badge +3

I’m having issue with Build and Consume Fundamentals course, I have competed all modules but the status is registered. I cannot move to the Assessment

Userlevel 4

Hi @Aisyah Sade , you are now enrolled in the assessment.

Badge

Hi I’m getting the following error: Cannot resolve 'Matt1996' given input columns:

 

Followed by a much longer error message. I’ve followed the instructions as stated, but I’m still getting an error. Any ideas?

Query:

SELECT
concat('Matt1996:',loc) as externalId,
IF(parent_loc='' OR parent_loc IS NULL, '', concat('Matt1996:',parent_loc)) AS parentExternalId,

CAST(lastUpdatedTime AS STRING) AS name,

to_metadata(*) AS metadata,

description AS description,

Matt1996-AvevaNet AS dataSetId
 
FROM `Matt1996`.assets
 

Screenshot:

 

Badge

I realized my mistake, I need to replace Matt1996-AvevaNet with my dataset ID that was recorded earlier. Problem solved :)

Hello,

For the Data points step “Transform RAW to Data points” I received the error “Query returned no results. The query is syntactically correct, but returned 0 rows of data.” 

It seems the query does not filter for dataSetId and returns no matches. I changed the query to solve the issue on my end, here are the changes: 

SELECT
  concat('FirstnameBirthyear:',dp.sensor) AS externalId,
  cast(time_stamp/1000 as timestamp) AS timestamp,
  cast(value AS double)
FROM IFSDB.values AS dp
JOIN _cdf.timeseries AS ts 
ON CONCAT('FirstnameBirthyear:', dp.sensor) = ts.externalId
AND ts.dataSetId = '1234567890'

Hey @Aleksander Poverud, I figured out that the trick is adding AND ts.dataSetId = '1234567890' at the end

here is the full query:

 

SELECT
concat('FirstnameBirthyear:', dp.sensor) AS externalId,
cast(time_stamp / 1000 as timestamp) AS timestamp,
cast(value AS double)
FROM
IFSDB.values AS dp,
--selecting from _cdf.timeseries means we select from the timeseries we ingested to CDF earlier. We do this to make sure all the time series we try to add data points to actually exist
_cdf.timeseries AS ts
WHERE
concat('FirstnameBirthyear:', dp.sensor) = ts.externalId
and ts.dataSetId = '1234567890'

 

Reply