IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 15 years ago

#1482 new defect

DVO mextract null vectors

Reported by: ndeacon Owned by: eugene
Priority: low Milestone:
Component: DVO Version: unspecified
Severity: minor Keywords: DVO
Cc:

Description

mextract seems to return a one entry vector instead of a null vector when no
matches are found. The vector's entry is the first entry of a previous
vector of the same name. See commands below,

dvo: catdir /data/ipp022.0/ndeacon/hispeedzy-feb11
dvo: skyregion 190 191 -2 -1
dvo: avextract ra dec
dvo: echo ra[0]
190.028796778
dvo: echo ra[]
108
dvo: skyregion 190 191 -62 -61
dvo: mextract ra dec where (y>0.0)
dvo: echo ra[0]
190.028796778
dvo: echo ra[]
1

The bug does not appear to be present in avextract,

dvo: catdir /data/ipp022.0/ndeacon/hispeedzy-feb11
dvo: skyregion 190 191 -2 -1
dvo: avextract ra dec
dvo: echo ra[0]
190.028796778
dvo: echo ra[]
108
dvo: skyregion 190 191 -62 -61
dvo: avextract ra dec where (y>0.0)
dvo: echo ra[]
0

Change History (0)

Note: See TracTickets for help on using tickets.