Re: Yearly statistics update

2019-03-06 Thread Doug Junkins
Dirk, This definitely helpful as I figure out where different functions are defined. I already found the get_depth_string() function and have got working code to add both the depth and temperature stats with the labels defined properly based on the unit preferences. I just want to finish up som

Re: Yearly statistics update

2019-03-06 Thread Dirk Hohndel
Hi Doug, Thanks for taking a stab at this. asprintf is the right idea - except we have our own flavors of that which do work on all our platforms. Look at core/format.h printing things in feet or meters is actually fairly easy. Look at get_depth_string() - you can call this both with a depth_t