On Friday, March 24, 2017 at 1:00:38 PM UTC-4, Alec Bennett wrote: > > Just wanted to correct this, which after some research I think is wrong: > > > Doing some research, it looks like the key to plotting curves in PIL is > Bezier Curves. > > Ater some trial and error I don't think those curves are appropriate for > plotting exact numbers. > Is the attached what you have in mind? It uses Xtide text output, for example (the "-em SsMm" suppress the moon and sunrise/set outputs): tide -em SsMm -tf "%H:%M" -l "Branford, Branford River, Connecticut" 2017-03-30 13:47 6.61 feet High Tide
2017-03-30 19:49 -0.53 feet Low Tide 2017-03-31 02:04 7.10 feet High Tide 2017-03-31 08:25 -0.82 feet Low Tide 2017-03-31 14:38 6.42 feet High Tide 2017-03-31 20:40 -0.30 feet Low Tide 2017-04-01 02:56 6.92 feet High Tide 2017-04-01 09:19 -0.58 feet Low Tide 2017-04-01 15:33 6.17 feet High Tide 2017-04-01 21:36 -0.01 feet Low Tide 2017-04-02 03:53 6.65 feet High Tide 2017-04-02 10:19 -0.28 feet Low Tide 2017-04-02 16:33 5.94 feet High Tide 2017-04-02 22:37 0.27 feet Low Tide 2017-04-03 04:54 6.36 feet High Tide 2017-04-03 11:22 -0.02 feet Low Tide What I used to generate the PNG is GNUplot <http://gnuplot.info>, which is serious overkill for this need but is infinitely customizable. It's not too hard to add Moon phase icons as well, though I haven't put that in here (and the data in my image don't correspond with the data in the above output). The GNUplot code is pretty rough but I'll share it if anyone is interested. I have no real idea how to integrate this into weewx except to run it every 24 hours and let weewx upload the generated image; I haven't even started to look at that part. -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
