Open JSKenyon opened 5 months ago
The workaround is to specify them as follows -dec=-30d0m0s
. Note that string quoting the quantity doesn't seem to fix the problem (surprisingly).
Yea it looks like an argparse specific issue, not quite sure how to fix this one or if there is another escape you should be using. It is already set to accept strings. https://github.com/ratt-ru/simms/blob/968599de10524917479fdd10d941b13394984d42/simms/core.py#L310C1-L317C6
The other workaround I should mention is to just use j2000 strings using the -dir argument. I don't think I'm going to bother fixing - will just leave this open so that it is documented. A worked example is:
simms -dir "J2000,19h39m25.02671s,-63d42m45.6255s" -T meerkat -dt 2 -st 0.5 -nc 512 -f0 856MHz -df 1.671875MHz -pl XX XY YX YY -n mk64.0.1hr.2s.856.1.67Mhz.512chan.1939-6342.cross.ms
While simulating a MeerKAT observation of a calibrator at a negative declination,
simms
claims that-dec
did not receive the correct number of arguments. The same is true from the example command given in the readme i.e.will fail with