ibot-geoecology/myClim

User-defined Logger error

Opened this issue · 3 comments

I'm trying to create a user-defined logger (Onset's HOBO MX2306 datalogger for soil moisture) but I get an error with the "user_data_formats$myHOBO@columns[[mc_const_SENSOR-real]]" code. It is tell me "object 'mc_const_SENSOR_real' not found.

Jules- commented

Hi, there is a typo - in your code:

# wrong
user_data_formats$myHOBO@columns[[mc_const_SENSOR-real]]

# right
user_data_formats$myHOBO@columns[[mc_const_SENSOR_real]]

The constant mc_const_SENSOR_real is only in the development version 1.0.10. The CRAN repository contains version 1.0.1, which does not include this constant.

Thanks for the speedy response.
I double checked my code and I had it correct in my script, I just typed it in wrong when submitting my initial comment.

It appears that your problem is still persisting? To assist you better, please provide the output of SessionInfo() to share information about your system configuration and the version of myClim you are using. For more effective troubleshooting, consider uploading a small sample of your data along with your code, as this will enable us to attempt to reproduce your issue. Without these details, it's challenging for us to offer further assistance.