Menu

command line plate solve not updating fits file

2024-05-04
2024-05-04
  • Ken Mascola

    Ken Mascola - 2024-05-04

    successful with dos command line to plate solve and used the following
    CMDLINE="C:\Program Files\astap\astap_cli.exe" -f "F:\EAA\SeeStarS50\MyWorks\NGC 4884\IC 4040 sub 20240426\result\preprocessed_result_astap.fit" -r 3 -d "C:\Program Files\astap" -D d80 -o "F:\EAA\SeeStarS50\MyWorks\NGC 4884\IC 4040 sub 20240426\result\preprocessed_result_astap_solved.fit" -wcs -update

    I received the wcs formatted file but the output file preprocessed_result_astap_solved.fit did not get created and as expected the input file did not change to reflect the successful platesolving. Its almost like I need to be able to manually add the wcs file to the fit header. Sorry for such a nub question but I would have thought running this command would have yielded a plate solved fit file but it did not. Any guidance would be helpful.

    following is the ini file created. will include the wcs formated wcs file if required
    PLTSOLVD=T
    CRPIX1= 5.4050000000000000E+002
    CRPIX2= 9.6050000000000000E+002
    CRVAL1= 1.9519167829978565E+002
    CRVAL2= 2.8013469906774905E+001
    CDELT1= 6.6030173005414547E-004
    CDELT2= 6.6035696713188962E-004
    CROTA1= 1.2550580077329282E+002
    CROTA2= 1.2551984500820033E+002
    CD1_1=-3.8349358849748300E-004
    CD1_2=-5.3752306210414890E-004
    CD2_1= 5.3747400297148051E-004
    CD2_2=-3.8365742553668963E-004
    CMDLINE="C:\Program Files\astap\astap_cli.exe" -f "F:\EAA\SeeStarS50\MyWorks\NGC 4884\IC 4040 sub 20240426\result\preprocessed_result_astap.fit" -r 3 -d "C:\Program Files\astap" -D d80 -o "F:\EAA\SeeStarS50\MyWorks\NGC 4884\IC 4040 sub 20240426\result\preprocessed_result_astap_solved.fit" -wcs -update

    the following is my dos command output

    Using star database D80
    ASTAP solver version CLI-2024.05.01
    Search radius: 3 degrees,
    Start position: 13: 01 56.0, +27d 54 46
    Image height: 1.28 degrees
    Binning: 1x1
    Image dimensions: 1080x1920
    Quad tolerance: 0.007
    Minimum star size: 1.5"
    Speed: normal
    246 stars, 175 quads selected in the image. 437 database stars, 311 database quads required for the square search field of 1.3d. Search window at 100% based on the number of quads. Step size at 100% of image height

    24 of 24 quads selected matching within 0.007 tolerance.
    Solution["] x:=1.380320x+ 1.935266y+ -2601.606190, y:=1.934723x+ -1.381424y+ 281.674427
    Solution found: 13: 00 46.0 +28d 00 48
    Solved in 0.1 sec offset was 16.6'. Mount offsetRA=15.5', offsetDEC=-6.0'. Used stars down to magnitude: 16.6

     
  • han.k

    han.k - 2024-05-04

    The option -o to create a different output files was intended for the small solution files .ini and .wcs only. To create also a new FITS file at the -o location was not foreseen.

    If you omit the -o option in your command line then the input file

    "F:\EAA\SeeStarS50\MyWorks\NGC 4884\IC 4040 sub 20240426\result\preprocessed_result_astap.fit"

    is updated.

    There is code problem that -update and -o do not work together. I will change the code such that the your command line with produce both the .wcs and .ini files at the specified location but that also the input file is updated.

    Han

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.