Grib message domains should be relative to the file domain
|Reported by:||vmerticariu||Owned by:||vmerticariu|
Currently, the grib message domains that are passed in the decode() function to rasdaman are relative to the domain of the object. They should be relative to the domain of the file for the decoder to work correctly.
E.g.: given 2 grib files of domain [0:1000,0:10,0:10], that together form an array of domain [0:2000,0:10,0:10], the grib message domains of file 1 should be [0:0, 0:10, 0:10], [1:1, 0:10,0:10], ..., [1000:1000, 0:10,0:10]. The message domain corresponding to file2 should also be [0:0, 0:10, 0:10], [1:1, 0:10,0:10], ..., [1000:1000, 0:10,0:10], and NOT [1000:1000, 0:10, 0:10], ..., [2000:2000, 0:10,0:10], otherwise the decoder will try to read from potion 2000 on the first dimension of file2, which is out of bounds.