Opened 6 years ago

Closed 6 years ago

#1980 closed defect (fixed)

wcst_import should initialize array with null value instead of 0

Reported by: Dimitar Misev Owned by: Bang Pham Huu
Priority: major Milestone: 9.8
Component: petascope Version: 9.7
Keywords: Cc: Vlad Merticariu
Complexity: Medium

Description (last modified by Dimitar Misev)

When creating a coverage, the array that will hold the data is initialized first like this:

INSERT INTO test_1
VALUES <[0:0,0:0,0:0] {0l,0l,0l,0l,0l,0l,0l,0l,0l}> 
TILING ALIGNED [0:47, 0:19, 0:19] TILE SIZE 19200

The problem is that it is initialized with 0s as values. If the ingredients has a null value, wcst_import should initialize it with the null value (take first lower bound if it's an interval).

Change History (2)

comment:1 by Dimitar Misev, 6 years ago

Description: modified (diff)
Summary: Petascope should initialize array with null value instead of 0wcst_import should initialize array with null value instead of 0

comment:2 by Bang Pham Huu, 6 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.