cloudy

Author Topic: WD Tide Times +1hr Offset Of WXTide32  (Read 1901 times)

0 Members and 1 Guest are viewing this topic.

Offline Weather Display

  • Posts: 69,370
  • Davis VP1
  • New Zealand
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 12.0
    • Weather Display
Re: WD Tide Times +1hr Offset Of WXTide32
« Reply #15 on: May 25, 2012, 08:23:33 PM »
if you set to reduce by 1 hour in WD
then WD passes in the command to wxtide32
-htoff -01:00 -ltoff -01:00
if you have set to increase by 1 hour then its

-htoff 01:00 -ltoff 01:00

maybe if should be -1:00 ?



Offline Stevec4

  • Posts: 346
  • Boston MA
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • MS IE 9.0
    • My Current Weather
Re: WD Tide Times +1hr Offset Of WXTide32
« Reply #16 on: May 26, 2012, 12:41:19 PM »
if you set to reduce by 1 hour in WD
then WD passes in the command to wxtide32
-htoff -01:00 -ltoff -01:00
if you have set to increase by 1 hour then its

-htoff 01:00 -ltoff 01:00

maybe if should be -1:00 ?


Brian
I played with the switches for wxtide and this is what I came up with.

Actual tides from NOAA today from a near by station.
High tide  0347 Low Tide 1028


using the switch  -htoff -01:00 -ltoff -01:00
correctly adjusted the time to: 
High Tide 0245  Low Tide 0930

using the switch  -htoff +01:00 -ltoff +01:00
correctly adjusted the time to: 
High Tide 0445  Low Tide 1130

Note: I also tried -htoff 01:00 -ltoff 01:00 with the same result.

Thanks for taking a look at this Steve

Offline Weather Display

  • Posts: 69,370
  • Davis VP1
  • New Zealand
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 12.0
    • Weather Display
Re: WD Tide Times +1hr Offset Of WXTide32
« Reply #17 on: May 27, 2012, 07:10:55 PM »
so it should be working then
I am not sure why it is not

Offline Stevec4

  • Posts: 346
  • Boston MA
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • MS IE 9.0
    • My Current Weather
Re: WD Tide Times +1hr Offset Of WXTide32
« Reply #18 on: May 28, 2012, 12:45:48 PM »
Ok I will continue running it with the offset selected.

BTW: do you recieve this error on the tides display if you select decrease by 1 hour?

Code: [Select]
ERROR: I do not know what switch [21] means.
I also get this in the WD program error log

Code: [Select]
ERROR: Range check error at time/date 09:44 05/28/12
Steve
« Last Edit: May 28, 2012, 12:49:49 PM by Stevec4 »

Offline Weather Display

  • Posts: 69,370
  • Davis VP1
  • New Zealand
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 12.0
    • Weather Display
Re: WD Tide Times +1hr Offset Of WXTide32
« Reply #19 on: May 28, 2012, 09:20:46 PM »
I have found the error, I think
was line of code
and was an experiemental code that broadstairs wanted (to work with the -thin switch)
but obviously only worked with his setup
use a new .zip update, ready now to remove that

Offline Stevec4

  • Posts: 346
  • Boston MA
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • MS IE 9.0
    • My Current Weather
Re: WD Tide Times +1hr Offset Of WXTide32
« Reply #20 on: May 29, 2012, 10:47:54 AM »
Thanks Brian
That did fix the error 21 issue, but the offset still seems wrong (on my setup at least)

If the time adjustment radio button labels where like this is it would be correct

Code: [Select]
Decrease by 1 hour
Increase by 1 hour
Leave as is.
Steve

Offline Weather Display

  • Posts: 69,370
  • Davis VP1
  • New Zealand
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 12.0
    • Weather Display
Re: WD Tide Times +1hr Offset Of WXTide32
« Reply #21 on: May 29, 2012, 09:49:22 PM »
bingo
that is exactly the problem!
the label is not matching the function!
 #-o
fixing that now,and will update WD

Offline Weather Display

  • Posts: 69,370
  • Davis VP1
  • New Zealand
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 12.0
    • Weather Display
Re: WD Tide Times +1hr Offset Of WXTide32
« Reply #22 on: May 29, 2012, 10:11:35 PM »
build 28 .zip update ready now
re reset/check the tide off you have set in the tides setup

should be good to go now

should be able to set this baby to bed now, being a long time, and was a simple error but I could not see the wood for the trees!

Offline Stevec4

  • Posts: 346
  • Boston MA
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • MS IE 9.0
    • My Current Weather
Re: WD Tide Times +1hr Offset Of WXTide32
« Reply #23 on: May 30, 2012, 10:04:28 AM »
Well done Brian. It works perfectly now. Thanks for chasing down the error.

Steve

Offline Stevec4

  • Posts: 346
  • Boston MA
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • MS IE 9.0
    • My Current Weather
Re: WD Tide Times +1hr Offset Of WXTide32
« Reply #24 on: June 01, 2012, 11:59:19 AM »
Brian,
This morning the tides program started giving me an error message
Code: [Select]
ASERT Failure - I know not where I can reproduce it if I select the tides from the control panel then select show tides time,  they appear to still run ok but the date of the first tide is several days ago (May 30th). No additional info is in the program logs.

Steve
« Last Edit: June 01, 2012, 12:09:29 PM by Stevec4 »

 

cumulus