On Januari the 1st of 2008 GeoDelft has become Deltares
Home  Dutch site  Contact  Sitemap 
Experiments

Skipscans

Skipscans

Skipscans allows the user to reduce the number of scans in a file. As a rule of thumb drawing a graph, 1000 data points in an A3 sized graph will be sufficient. A black dot on a sheet of paper remains black, even when another black dot is superimposed on it. An exception to this rule occurs when a signal is subjected to rapid variations.

To reduce the number of scans within a file, without removing an entire range of scans, another technique is used. Intermittently scans are deleted, over the entire range of . E.g. each second, third or fourth scan is kept within the file, reducing the number of scans by two, three or four.

Installation

You can dowload the program by clicking with the right mouse button on 'download it now'. Installation is straight forward, more or less non-existent: create a subdirectory on any disk you like and copy the file you just have downloaded into this directory. That's all. Optionally you can create a shortcut on your desktop. If you are not familiar with this technique, ask your administrator how to do it, or let him do it.

Usage

Run the program from the command line or double click it. A window will pop up:

  1. Load the file in which you want to skip scans. Press button "Invoerbestand kiezen". A file dialog will popup, which allows you to browse to your file. When you have pressed OK, the file is read. In the box reading "Informatie" a message will appear, stating that the file has been read ("Invoerbestand is ingelezen"). If not, an error has occurred and nothing will be done.
  2. Choose the skipfactor, the factor for the reduction of the number of scans. Any integer number larger than 1 will do. Fractions are not allowed.
  3. Choose the name of the output file, by pressing the button "Geskipt bestand opslaan". A file 'save as' dialog will appear. Browse to the directory where you want to save your data. Never overwrite your original file, it's not just that you will overwrite your original file, but also the program will crash! In the box reading "Informatie" two messages will appear: "Succesvol afgesloten. Stoppen of nog een.": Finished with success, do you want to process another file?
  4. By pressing button "Stoppen" or Cancel you can end the program. If you have another file, go to 1.


Remarks

This program will only process binary files. It is designed not to read all data, allowing the user to reduce the size of files, which are too large for the available amount of memory in your PC. If the header of an ASCII flavoured GEF file has been read, an error message will appear in the "Informatie" window:

File D:\ver\allegef\01A.gef is non binary. The file will not be processed in order to prevent mangling of the data.