Print

Print


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