IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 18 years ago

#1086 new defect

Inconsistent allowed variable names and parsing: CTIO4m.I.MOSAIC2

Reported by: Michael Wood-Vasey Owned by: eugene
Priority: high Milestone:
Component: DVO Version: 2.5
Severity: normal Keywords:
Cc:

Description

DVO appears to be inconsistent with its allowed vector names and command-line parsing in the context of variable names with periods in them, which arise quite naturally in specifying photcodes:

dvo: mextract ra, dec, nmeas, CTIO4m.I.MOSAIC2 -region where nmeas >= 6
dvo: echo ra[$i]
352.493805
dvo: vectors

N name size
0 ra 2792
1 dec 2792
2 nmeas 2792
3 CTIO4m.I.MOSAIC2 2792

dvo: echo $i
100
dvo: echo ra[$i]
352.493805
dvo: echo CTIO4m.I.MOSAIC2[$i]
invalid vector MOSAIC2
CTIO4m.I.MOSAIC2[100]
dvo: set a = CTIO4m.I.MOSAIC2
dvo: echo a[$i]
25.0087509

Am I misunderstanding something about how this is supposed to work?

Change History (0)

Note: See TracTickets for help on using tickets.