Also this gives me an error: # emit image as PNG > cmd = "/usr/bin/tide -l LOCATION -f p -o OUTPUTFILE.png"
Running that line directly: *tide -l "Boston" -f p -o /home/weewx/test.png* I get: > *tide -l "Boston" -f p -o /home/weewx/test.png*Indexing > /usr/local/bin/harmonics/harmonics-2004-06-14-winxtides.tcd... > Indexing /usr/local/bin/harmonics/harmonics-dwf-20141224-free.tcd... > XTide Fatal Error: BAD_FORMAT > The format requested with the -f command line switch is not supported for > the selected mode. The currently supported combinations of mode and format > are as folows: > MODE > abcCgklmprs > F c X XXX > O h X XX X > R i X > M l XX > A p XX > T t XXXXXXXXXXX > v XX > Error details: > Can't do format p in mode p. I compiled from source and may have excluded some library. Can someone with xTide installed confirm that the first line works for them? Running like this works fine for me: *tide -l "Boston" * *(Outputs text details of the tide for Boston).* On Wed, Mar 22, 2017 at 3:54 PM, Alec Bennett <[email protected]> wrote: > >> looks like you're missing the skin=xxxx directive in a section in >> [StdReport] >> > > Thanks for that, adding "skin = Standard" to the [StdReport] config > section fixed that error. Looking at backups of my config file, that line > has always been missing for some reason. > > the forecast extension *should* work right out of the box. did you make >> some changes? >> > > No, but as I say, the skin value has never been there for me. > > It now says it's working, but I don't see any files for xTide in my > public_html/forecast folder. The log says: > > Mar 22 23:43:12 tide2 wee_reports[7136]: reportengine: copied 14 files to >> /home/weewx/public_html >> Mar 22 23:43:17 tide2 wee_reports[7136]: cheetahgenerator: Generated 20 >> files for report UKMO in 5.11 seconds >> Mar 22 23:43:22 tide2 wee_reports[7136]: genimages: Generated 17 images >> for UKMO in 4.82 seconds >> Mar 22 23:43:22 tide2 wee_reports[7136]: reportengine: copied 14 files to >> /home/weewx/public_html >> Mar 22 23:43:27 tide2 wee_reports[7136]: cheetahgenerator: Generated 20 >> files for report Aeris in 5.13 seconds >> Mar 22 23:43:32 tide2 wee_reports[7136]: genimages: Generated 17 images >> for Aeris in 4.78 seconds >> Mar 22 23:43:32 tide2 wee_reports[7136]: reportengine: copied 14 files to >> /home/weewx/public_html >> >> >> *Mar 22 23:43:37 tide2 wee_reports[7136]: cheetahgenerator: Generated 20 >> files for report XTide in 5.12 secondsMar 22 23:43:42 tide2 >> wee_reports[7136]: genimages: Generated 17 images for XTide in 5.15 >> seconds*Mar >> 22 23:43:42 tide2 wee_reports[7136]: reportengine: copied 14 files to >> /home/weewx/public_html >> Mar 22 23:43:57 tide2 wee_reports[7136]: reportengine: ftp'd 52 files in >> 12.65 seconds > > > But I don't see the images anywhere. And oddly it doesn't say they were > copied, as it does with the other reports. Incidentally, I don't see the > images for the other reports either (such as Aeris), even though it says it > copied them. Maybe they're going somewhere other than > /home/weewx/public_html? > > i forgot to mention what might be the easiest option (assuming that you do >> not mind the XWindows-circa-1990s look) - just use the image that xtide >> emits. > > > Alas, I do mind that, and would like more control over the generated > image. Do you know if the Forecast extension gives more control, or is it > just using xTide's default output? > > > > > -- 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.
