Asterix is a software developed in C and tested on Linux by a research group from ISMMA.

This actual module processes the data from a square raster file and provides the data for a regular hexagonal raster.

The algorithm is based on an interpolation technique, 2D and 1D, described in [2] and [1], respectively. This is a bi-cubic interpolation scheme which works not only on regular but on quasi-regular grids of data also (row like grids, see [2]).

The archive containing the code corresponding to this module can be downloaded from here, and accompanies the article [2]. To extract the code, use the command
>> tar -xJf asterix_porting_data.tar.xz

[1] Stelian Ion and Dorin Marinescu, Spline Wavelets Analysis of Reticulated Functions on Bounded Interval, Mathematical Reports, Tom.54, Vol.4, No.2, 2002, pp. 191-205.

[2] Stelian Ion, Dorin Marinescu, Stefan-Gicu Cruceanu, Virgil Iordache, A data porting tool for coupling models with different discretization needs, Environmental Modelling & Software, Vol. 62, Dec. 2014, pp. 240-252, DOI: 10.1016/j.envsoft.2014.09.012, Preprint: arXiv:1407.2925, Jul. 2014.

Please note that the entire code here is under the terms of GNU public licence. By downloading the code, you agree to gnu general public license.