Jon,
I thought I remembered that you had opened up the field length for windrats. But I’m stuck at about 80 chars. Did I remember incorrectly? looks like I need about 150.
Thanks,
jrc
Jon,
I thought I remembered that you had opened up the field length for windrats. But I’m stuck at about 80 chars. Did I remember incorrectly? looks like I need about 150.
Thanks,
jrc
Hi John,
Yes the field length was increased by 50% when Sailwave v2-35-1 was released, but I do not know what this translated into in terms of number of characters. As nnounced in a previous thread you started - ORC Windrats needs more room
I am sure Jon will respond.
For my information and perhaps Jon’s as well, can you explain how you get to to such a length? It helps to know.
Kind regards,
Huw
Sure. For an event this weekend we’re scoring with ORC wind band ratings. In North America ORC provides 5 numbers for several conditions, including the standard All Purpose, but also Predominantly Upwind, Predominantly Downwind and several others.
You can see the track on YB under Salish Sea Regatta.
Because of the geography and usual conditions, we wanted to set up SW to use AP-L, AAP-LM, A-PM, AP-MH, AP-H, UPW- L, UPW-LM, UPW-M, UPW-MH, UPW-H, DW-L, DW-LM, DW-M, DW-MH, DW-H.
That turns out to be 15 numbers, on the order of 0.8864, 1.0024, 1,1032, 1.3472, 1.4398. X 3 wind bands. So we chew up an 80 char field pretty quickly.
BTW, a possible bug: when I entered the rating string in the scoring window, I had a problem with the entry sticking after I saved it. Dunno why. It reverted to an old string from the summer. Seems to work ok if there is a comma and a space between each value. Might be that leaving out the space is not good.
The cure for this is to get the rating info into a separate file indexed by SailNo. Which I have suggested before. Sigh!
Thanks,
jrc
Hi John
It was increased from 100 to 150. And I sent you a version for testing. As I didn’t hear anything back, I assumed it was OK
I’ve conducted further examination of the code, and it has been changed to 150 in many places. However, I have found one instance where it remains 100, which is likely the issue. I’m away this weekend in the Motorhome scoring an event, but I don’t have mains power or a decent internet connection, so I will have to wait until I’m home before I can compile a new version.
Regards
Jon