[Kst] branches/kstars/summer/kdeedu/kstars/kstars/data

Brisset, Nicolas Nicolas.Brisset at eurocopter.com
Mon Jun 2 09:57:34 CEST 2008


Dear Akarsh Simha, I'm glad to see that there's someone working actively on kstars, which is by the way an excellent app. But as a long-time subscriber to kst's mailing list, I wonder whether it is normal that all your commits are cc'd to kst's list ? 
Not that I really mind, it's just that I'm surprised... especially as your work does not seem to be that closely related with kst, which is a plotting app, even though the community seems to have lots of astronomers :-)

Have a nice day, and a nice Summer of Code :-)

Nicolas

> -----Message d'origine-----
> De : Akarsh Simha [mailto:akarshsimha at gmail.com] 
> Envoyé : Monday, June 02, 2008 9:50 AM
> À : kde-commits at kde.org
> Cc : kstars-devel at kde.org; kst at kde.org
> Objet : [Kst] branches/kstars/summer/kdeedu/kstars/kstars/data
> 
> SVN commit 815557 by asimha:
> 
> Fixing faulty data and data generation utility 
> (datatomysql.pl) that was assigning wrong trixels to stars.
> 
> Instead of using the trivial $star->{ra}, I was trying to do 
> some inaccurate conversion of RA in HH:MM format into RA hours.
> 
> CCMAIL: kstars-devel at kde.org
> 
> 
> 
>  M             deepstars.dat  
>  M             shallowstars.dat  
>  M             starnames.dat  
>  M  +2 -6      tools/datatomysql.pl  
> 
> 
> --- 
> branches/kstars/summer/kdeedu/kstars/kstars/data/tools/datatom
> ysql.pl #815556:815557 @@ -79,12 +79,8 @@
>      $star->{line} = $.;
>  
>      $VERBOSE and print_star_line($star);
> -    my $rah;
> -    my $ram;
> -    $star->{ra_hm} =~ /^(\d\d):/ and $rah = $1 or print 
> "Format error in RA HM string\n";
> -    $star->{ra_hm} =~ /:(\d\d)$/ and $ram = $1 or print 
> "Format error in RA HM string\n";
> -    $star->{trixel} = $mesh->lookup_name($rah + $ram/60.0, 
> $star->{dec});
> -    $VERBOSE > 1 and print "Looked up " . ($rah + $ram/60.0) 
> . " and " . $star->{dec} . " and got trixel = " . $star->{trixel};
> +
> +    $star->{trixel} = $mesh->lookup_name($star->{ra}, $star->{dec});
>      $star->{var_range} eq '' and $star->{var_range} = '0';
>      $star->{var_period} eq '' and $star->{var_period} = '0';
>   
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
> 


More information about the Kst mailing list