#1387 closed defect (fixed)

Grib message domains should be relative to the file domain

Reported by: vmerticariu Owned by: vmerticariu
Priority: major Milestone: 9.3
Component: petascope Version: development
Keywords: Cc:
Complexity: Medium


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.

Change History (1)

comment:1 Changed 12 months ago by bphamhuu

  • Milestone set to 9.3
  • Resolution set to fixed
  • Status changed from new to closed

close as patch was accepted.

Note: See TracTickets for help on using tickets.