Yes, it works in interactive mode :
MacBookJB:Downloads marquett$ wcstran lm04510_newwcs.fits framein=pixel frameout=sky
POSIN - Position to be transformed /'500,500'/ > 500,500
p1 = 500.0 p2 = 500.0 --> RA = 5:19:58.0 Dec = -65:07:18
My point is that I will have 15 Tb of images to autoastrom to get the QV keywords, and then to rebuild a catalogue of 87 million objects using wcstran, so I do need the command-line mode. Also, how to modify the number of digits on seconds on the output to get ss.ss on RA and ss.s on DEC ?
Anyway, thanks for your help,
> On 23 November 2010 17:45, Jean-Baptiste Marquette <[log in to unmask]> wrote:
>> Doesn't work as well :
>>
>> MacBookJB:Downloads marquett$ wcstran lm04510_newwcs '"500., 500."' framein=pixel frameout=sky
>> !! Failed to get a valid pixel coordinate 2 value for axis 2 using parameter
>> ! POSIN - '500. 500.'.
>> Please supply a new PIXEL Domain position for parameter POSIN.
>
> Hmmm - it works for me on Linux so maybe it's a MacOS X thing. [Tim,
> does it work for you?] You could try removing the space between the
> coordinate values, although that is not an issue on Linux. Also, does
> it work if you allow wcstran to prompt for parameter values rather
> than supplying them on the command line? That is, if you do
>
> % wcstran lm04510_newwcs framein=pixel frameout=sky
>
> you should get a prompt for POSIN, to which you supply the pixel coordinates:
>
> POSIN - Position to be transformed > 500,500
>
> Does it work if you do that?
>
> David
================================================
Bien cordialement/Very truly yours/Mit freundlichen Gruessen,
Jean-Baptiste Marquette
Institut d'Astrophysique de Paris
CNRS - UMR 7095
Université Pierre & Marie Curie
98bis Bd Arago
75014 Paris - France
================================================
|