![]() |
Tutorial | |
|
Reformatting Data Filesfit and dat FilesFor many years the primary archival data file types for SuperDARN have been the "fit" and "dat" files. The "dat" files store the raw ACF data derived from the radar observations, and the "fit" files store the fitted parameters generated by the FitACF algorithm. The formats for these file types were defined many years ago and require special software to read and write the binary format. Although these formats have served SuperDARN well over the years, the limitations that they impose are starting to become a burden. fitacf and rawacf filesThe next generation of radar software will use a new self-describing format called "dmap" for storing both the raw ACF data and the fitted parameters. To distinguish the new format data from the old the suffixes "rawacf" and "fitacf" have been adopted. Obviously there is a lot of legacy data in the old format and also a lot of legacy software that will only work with the old format. To solve this problem, tools have been developed for transforming the old data format into the new and vice versa. dattorawacf and rawacftodatTo convert a
The utility reads the The only command line flag is the "-vb" verbose option. To convert a
The utility reads the The fittofitacf and fitacftofitTo convert a
The utility reads the The only command line flag is the "-vb" verbose option. To convert a
The utility reads the The only command line flag is the "-vb" verbose option. dmapdumpThe
By default Comparing dat and fit FilesOne of the obvious issues when converting from one file format to another is to make sure that the transformation does not effect the values of the data in the file. The best way of checking this is to compare the differences between an existing file and a copy created by converting it first to the new format and then converting it back to the old. Unfortunately, due to the way fit and dat files are written it is impossible to do a byte by byte comparison. Instead, the two utilities
The utilities compare the
|