Difference between revisions of "Geopsy: Custom ASCII formats"
(New page: == Introduction == thumb|right|200px|Custom ASCII format dialog box A list of user formats is maintained and stored in the general [[User settings|user s...) |
|||
Line 38: | Line 38: | ||
* Titan with corrected starting time (exported by ''rtitan2'' with option -asc) [[Media:TitanCorrectedT0.ascfmt|TitanCorrectedT0.ascfmt]] | * Titan with corrected starting time (exported by ''rtitan2'' with option -asc) [[Media:TitanCorrectedT0.ascfmt|TitanCorrectedT0.ascfmt]] | ||
− | * Tromino ... [anyone | + | * Tromino ... [does anyone have a file example?] |
Revision as of 17:08, 23 March 2010
Contents
Introduction
A list of user formats is maintained and stored in the general user settings. These formats are included in the list of accepted formats for automatic recognition and for importation. They cannot be used for export.
Format specifications are saved to and restored from files with extension 'ascfmt' (Import and Export buttons). It is recommended to export your format specifications before a software upgrade or when resetting user settings. If you constructed a specification for a format that can be of interest for other users, you can submit it in the Examples section (or by email).
Creating a new format
If there are already some formats in the list, select the closest to the new one you are going to create. All the attributes of this model format are loaded.
To ease adjustment of attributes of a format specification it is easier to work on a file example. Enter a file name in Example or click on the browse button on the right side of the Example field.
Set a descriptive Name and eventually add an extension (do not include the dot). The extension is not mandatory. It is used only during automatic format recognition. If there is a match on the file name extension, the format is identified without even opening the file and checking its content. Custom ASCII file format extension are checked after all other formats, hence there is no risk to supersede existing rules.
There are basically four things to do in this order:
- define the header size (Header definition)
- map header information to signal properties (Rules)
- define component naming convention (Components)
- set the time format (Time format)
Header definition
Rules
Component table
Time format
Editing an existing format
It works the same way as for the creation of a new format. Select it in the list, click on Edit,edit the attributes and click on Ok from the editor dialog box. Changes are committed to the main internal list only after clicking on Ok from the list dialog box.
Examples
- Titan with corrected starting time (exported by rtitan2 with option -asc) TitanCorrectedT0.ascfmt
- Tromino ... [does anyone have a file example?]