On Tuesday, March 12, 2019 at 5:04:16 PM UTC-4, V. Kelly Bellis wrote:
>
> I was wondering if there might be any documentation written for 
> non-programmers in how weewx and XTide have been integrated? 
>

the forecast extension invokes xtide, parses the output, then stores the 
result in the forecast database.  the results can then be combined with 
other forecast data when generating reports.

by default, the forecast extension will invoke /usr/bin/tide

if your 'tide' program is located somewhere else, you can tell the 
extension to find it like this:

[Forecast]
    [[XTide]]
        prog = /path/to/tide
        location = Boston

as for the tide location, you must test that directly with tide.  once you 
have a string that works, use that string as the 'location' parameter for 
the forecast extension.  if the location has commas or spaces then put it 
in quotes.

btw, this spring i'm hoping to have some students put together a guide for 
how to create your own harmonics from your own data.  we have been using 
maxbotix ultrasonic sensors on raspberry pi running weewx to collect tide 
data from a couple of islands in maine.  apparently you can create your own 
harmonics with 6-9 months of data (the data we have so far tracks the xtide 
predictions for tenants harbor and camden pretty well, but there are 
offsets in magnitude and phase).  its been a bit of a struggle - power 
outages, snow on solar panels, critters chewing through cables, 
seawater/corrosion.  but we'll get there...

m 

-- 
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.

Reply via email to