Rawtools

Contents:

Introduction

Rawtools is the package dedicated to the processing of the so-called “raw” data files, i. e., the files holding some machine representation of the data, without any associated header information contained inside of them. This package is to facilitate some common tasks on raw data files, such as format (representation) conversion, partitioning, etc.

The tools

Currently, there're two tools available:

rawxform
-- applies an arbitrary table transformation to the stream of floating-point numbers, producing another stream of numbers in the same or different machine format; table could be omitted, allowing one to perform format conversion only;
rawilv
-- interleaves the data of an arbitrary number of inputs to produce an output stream, or de-interleaves the data of a sole input stream to produce output streams; the data is interpreted as a sequence of blocks, which sizes are specified by the ‘--block-sizes’ (‘-s’) option.

One of the possible uses for these tools is to interface the fornav program from the MS2GT package with the proj filter from PROJ.4. The filter thus could be used to replace the Mapx-based ll2cr program. The support for destination grid rotation could be provided with a (yet to be written) rawmatrix program.

See README for more details.

Open issues (TODO)

The package currently lacks the documentation (except for the README file.)

The code wasn't supposed to be portable, and currently relies highly on the GNU C Library facilities.

The set of tools and their functionality should be expanded. E. g., rawxform should allow use of raw integer formats for input. (The code is mostly there, check the lib/numconv.c file.)

Although being internationalized, it currently lacks actual localization by means of message translation (i. e. gettext) catalogs. (Indeed, a partial Russian ru.po catalog is available.)

Download

Unreleased!

There were no releases of the code so far. However, you could use the development version, available from a GNU Arch archive rawtools@sv.nongnu.org--rawtools at Savannah, available from http://arch.sv.nongnu.org/archives/rawtools/rawtools/.

Links


Valid CSS! Valid HTML 4.01 Strict

Copyright © 2007 Ivan Shmakov.

The contents of this page is available under the terms of the GNU Free Documentation License. The pages linked might have other distribution conditions.

Ivan Shmakov