Wcs2kml with 0.43 and Ubuntu 12.4

35 views
Skip to first unread message

Jean-Paul Godard

unread,
Apr 20, 2013, 8:06:02 AM4/20/13
to astro...@googlegroups.com
Hi Dustin,
 
I'm working with Apod4.jpg trying to get a kmz file...(with 0.43 and Ubuntu 12.4)
 
I get this at execution
[...]
  The star 86UMa
  The star 13Boo
Writing kmz file...
Reading image /tmp/tmp.png.PVkZHy...
Input image is size 719 x 507
Reading FITS file temp/in.wcs...
 
Can't open FITS file 'temp/in.wcs'
solve-field.c:623:after_solved Failed to write KMZ.
 solve-field.c:224:write_kmz wcs2kml failed
 ioutils.c:669:run_command_get_outputs Command failed: return value 1

When I work directly with wcs2kml (ie wcs2kml --fitsfile=in.wcs --imagefile=in-ngc.png), everything works...
Do you have a hint or a fix to solve his?
 
Thanks
JPG

 

Dustin Lang

unread,
Apr 20, 2013, 8:20:04 AM4/20/13
to astro...@googlegroups.com
Could you run solve-field with --verbose and --no-delete-temp ?

When running wcs2kml, we create a temp directory, put the files wcs2kml needs in it, and then call wcs2kml to create the kmz file.

It looks like wcs2kml is not able to find the temp file -- maybe we're in the wrong directory, or something went wrong in creating the temp directory?  With --verbose you should get the exact command we're trying to run, and with --no-delete-temp the temp files should still be there after solve-field exits so you can check it out.

cheers,
dustin
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
0 new messages