View Issue Details

IDProjectCategoryView StatusLast Update
0000663SkyChart1-Softwarepublic10-10-30 10:10
ReporterRobert Sheaffer Assigned ToPatrick Chevalley  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Platformx86OSWindowsOS VersionXP
Product Version3.1 SVN 
Target Version3.2Fixed in Version3.1 SVN 
Summary0000663: Command Line parameters cannot be combined
DescriptionSome command line parameters work by themselves, but cannot be combined with other parameters to produce the desired first active chart. See the results of the test logs below.
Steps To Reproduce           skychart.exe --unique --setra=13.40 OK


    skychart.exe --unique --setdec=54.925 OK

    skychart.exe --unique --setra=13.40 --setdec=54.925 OK

    skychart.exe --unique --setra=13.40 --setdec=54.925 --setfov=25 OK

    skychart.exe --unique --setra=13.40 --setdec=54.925 --setfov=25
           --setdate=2010-05-21T12:00:00 NO: date & time & FOV are set,
             but not RA, Dec

    skychart.exe --unique --setdate=2010-05-21T12:00:00 --setra=13.40
           --setdec=54.925 --setfov=25 NO: (same)

    skychart.exe --unique --setdate=2010-06-30T12:00:00 OK
                      (date is set, pointer at same Alt/Az )

    skychart.exe --unique --setdate=2010-06-30T12:00:00 --setra=13.40
           --setdec=54.925 --setfov=25
             NO: (date is set, FOV, Dec is correct, RA is not)

    

    

Additional InformationProblem first noted when programming Command Line parameters into RTGUI. Problems analyzed and confirmed using Command Prompt (cut and paste commands into Prompt).
TagsNo tags attached.

Activities

Patrick Chevalley

10-09-09 22:04

administrator   ~0001276

The problem is because your map use alt/az projection and because of the sequence the program change the parameters.
I thing it first go to the correct alt/az position (related to the given ra dec) and then change the date afterward, so the wrong final equatorial position.

Maybe I need to force a redraw after it set the date. I will look at that more in detail but the following always work :

skychart.exe --unique --setdate=2010-05-21T12:00:00 --setra=13.40 --setdec=54.925 --setfov=25 --setproj=EQUAT

or to stay with alt/az :

skychart.exe --unique --setdate=2010-05-21T12:00:00 --setproj=ALTAZ
skychart-exe --unique --setra=13.40 --setdec=54.925 --setfov=25

Patrick Chevalley

10-09-10 11:50

administrator   ~0001277

This is fixed by revision 1452
http://svn.origo.ethz.ch/viewvc/skychart?view=rev&revision=1452

Now the setdate and settz options force a direct redraw of the map.

Also the command execution are now prioritized, any order they are specified on the command line:
--load is executed first.
then --setobs --settz --setdate.
then --search --setproj --setfov --setra --setdec --resize
and finally --saveimg

Issue History

Date Modified Username Field Change
10-09-09 21:44 Robert Sheaffer New Issue
10-09-09 22:04 Patrick Chevalley Note Added: 0001276
10-09-09 22:04 Patrick Chevalley Assigned To => Patrick Chevalley
10-09-09 22:04 Patrick Chevalley Status new => feedback
10-09-09 22:04 Patrick Chevalley Target Version 0.3.0 => 3.2
10-09-09 22:04 Patrick Chevalley Description Updated
10-09-09 22:04 Patrick Chevalley Steps to Reproduce Updated
10-09-09 22:04 Patrick Chevalley Additional Information Updated
10-09-10 11:50 Patrick Chevalley Note Added: 0001277
10-09-10 11:50 Patrick Chevalley Status feedback => resolved
10-09-10 11:50 Patrick Chevalley Resolution open => fixed
10-09-10 11:50 Patrick Chevalley Fixed in Version 0.3.0 => 3.1 SVN
10-10-30 10:10 Patrick Chevalley Status resolved => closed