![]() |
Tutorial | |
|
Conversion ToolsData FormatsThe next generation software uses a self-describing file format designed specifically for SuperDARN. A brief description of the new format is given here. One of the long term aims of SuperDARN has always been to provide data in one of the "standard" formats used by the broader space physics community, such as CDF or netCDF. Incorporated in the new software are the tools to do just that. OverviewOne of the great advantages of self-describing formats is that it is possible to write a general purpose converter that translates one format to another - Any changes to the file format do not require the translator to be modified. The tools included in the SuperDARN software convert from the SuperDARN internal format to netCDF or CDF, two of the most widely used formats. (HDF has a netCDF interface and works quite happily with netCDF files). Converting to these two formats also unlocks a host of other utilities and tools for working with the data. The SuperDARN format was designed for storage efficiency and so does not include the extra meta-data components that are found in CDF and netCDF, however the software allows the user to add meta-data during the conversion process. There are some problems with general purpose translators as they do not know of any implicit relationships between items in a data file. For example; SuperDARN data files are composed of records containing the radar operating parameters and observations. The time of each record is stored in the form of one variable each for year,month,day,hour,minute,second and usecond. When converting from the SuperDARN format to CDF, it would be nice to convert this time to a single variable witth the type "CDFEpoch", but a general purpose translator is incapable of doing this as it does not understand the relationship between the time variables. TutorialThe following is a brief overview and tutorial describing how the new file format data is converted to both netCDF and CDF. dmapdumpThe ".fitacf" and ".rawacf" files use the same self-describing file format called "dmap". (The illogical reason for this is that the library that works with these files generates a mapping from a data structures into a block of memory). A useful utility is
Note: By default The remainder of this tutorial is split into two parts: Converting to netCDFConverting to CDF
|