[daip] Spaces in a source name.
Eric Greisen
egreisen at nrao.edu
Thu Dec 11 10:56:50 EST 2008
marcel clemens wrote:
> Dear NRAO astronomer,
>
> I am trying to run 'split' on a multi-source file from the GMRT.
> For some sources I get the (familiar) message:
>
> ALL SOURCES REJECTED BY SELECTION CRITERIA.
>
> This only happens for some sources in the dataset. The sources that give
> problems seem to have names that contain spaces.
>
> LISTR output for example:
>
> 1 0321+123 : 0000 03:21:53.1066 12:21:14.025 16095
> 2 UGC2369 : 0000 02:54:01.8166 14:58:14.529 47415
> 3 3C147 : 0000 05:42:36.1330 49:51:07.165 24360
> 4 0909+428 : 0000 09:09:33.5078 42:53:46.471 59595
>
> You see, UGC2369 seems to have spaces in the name.
>
> However, spaces seem to get ignored when I enter source name in SPLIT:
>
> sources 'UGC2369 ' becomes sources 'UGC2369'
>
> What is the best way around this problem?
I do not see spaces in the names other than trailing blanks which do not
count anywhere in AIPS. The formating of your LISTR bit above is
curious and makes me wonder if there are unprintable characters (e.g.
tabs) in the source names. There is no way that you can enter that with
POPS and it should be illegal (it is at the VLA and VLBA).
You could use TABPUT in the SU table to force the names to be what you
expect. Of course, you could also run SPLIT with SOURCES blank which
will do all sources.
Of course, the ALL SOURCES REJECTED message comes about for a great many
reasons. Try UVPRT with SOURCE specified but all calibration turned
off. Do you get anything? If so, try turning the cal adverbs on to see
if you still get anything. If not, then there is something odd about
the strings now stored in the SU table.
Eric Greisen
More information about the Daip
mailing list