Class list

How can I add extra classes to the class list after having set up a
series, but befor any races have been scored?
Thanks

Kerry,

If I am interpreting your question correctly, you need to edit one or more of the CSV files under the Sailwave Ratings folder. You need to follow the format exactly, the first column if you are using Portsmouth based ratings (e.g. RYA, US Sailing, VYC) must have PY in it for each new class you add. When you have finished adding the classes you want, YOU MUST save the file as a CSV file.

Hope this helps.

Kind regards,

Huw

PS - The following was copied from the sailwave website (www.sailwave.com/help/HTML/) under the section “A developers guide - creating your own CSV file”

  Creating your own rating files

Return to Introduction Previous page Next page

Introduction

In various places within Sailwave the user can select from a list of classes and/or class ratings. The content of these lists is derived from the currently installed rating files and used to calculate corrected times.

Rating file folder

By default all rating files are installed into a sub folder called ratings in your Sailwave installation folder. You can change this folder from the Folders tab of the Setup+GlobalOptions menu. If you do change it and want to use some of the file in the existing folder, you need to copy them across by hand. The number of files in the folder is arbitrary but you should ensure that ratings are not duplicated with conflicting values across files; in such cases, Sailwave will use one of the values, but which one it uses is unspecified.

You can download rating files from the Sailwave website resources page, or create them yourself. Downloaded files should be saved in your rating file folder. The remainder of this topic covers how to create your own rating files.

Related internet links:-

» Sailwave website resources page

File format

Each rating file must have a .csv extension with a general format that follows Sailwave’s standard CSV file syntax. The file contains an optional header line followed by an arbitrary number of record lines. Only one record must be present per line.

Header line

The header line is optional. When present it must contain a comma separated list of field names; for example:-

System, Class, DefaultValue, WindValues

Record lines

Each record consists of a number of comma separated fields in a strict order as defined below:-

  1. Rating system code. The code is not case-sensitive and must be one of:-

•
py - RYA Portsmouth yardstick rating system

•
texel - Texel catamaran rating system

•
scr - ISAF small catamaran handicap rating system

•
tcf - Generic time correction factor system

•
tcc - Time correction factor system

•
irm - IR 2000 IRM

•
irc - IR 2000 IRC

•
lys - Scandavian, time correction factor

•
chs - CHS (legacy)

•
echo - ECHO (Ireland)

•
vy - VYC rating system

•
uspn - USSA Portsmouth rating system

•
phrf - Standard TOD PHRF

•
phrftot - TOT PHRF (The A and B operators are defined within Sailwave)

•
custom - Custom rating system as defined within Sailwave

  1. Boat class.

  2. Numeric rating value.

  3. A comma separated list of wind indexed ratings. This field only needs to be present if you use wind indexed ratings.

Example records:-

PY, Dart 18, 768

scr, Dart 18, 1.18

scr, Dart 18 (with spi), 1.16

uspn, “Isotope (Sloop, 1-Up) ISTP”, 74.2, “79.5,74.5,73.8,68.1”

Notes

•
You can mix rating systems in a single file but it’s more usual not to.

•
Any sub-folders in the rating file folder are ignored.

•
Files that do not have a .csv extension are ignored.

•
The order of fields in header and record lines is fixed.

···

-----Original Message-----
From: sailwave@yahoogroups.com [mailto:sailwave@yahoogroups.com]On Behalf Of Kerry Check
Sent: 13 November 2007 08:12
To:
sailwave@yahoogroups.com
Subject: [sailwave] Class list

How can I add extra classes to the class list after having set up a
series, but befor any races have been scored?
Thanks

--
This email has been verified as Virus free
Virus Protection and more available at http://www.plus.net