X-Git-Url: https://cads.iiap.res.in/gitview/?p=zodiacal_model.git;a=blobdiff_plain;f=src%2Fzodiacal_model.c;h=e1f8724bf59128ad8a936146b477a69c9b40b33b;hp=300e6443f6e42465f32f67d023ee706d2231376b;hb=12ea0b1d059cd6df83aa419cc2e520c3bf6f51f9;hpb=a46eff3fc435c8adcd5b8c9b381a91efdf6d19f7 diff --git a/src/zodiacal_model.c b/src/zodiacal_model.c index 300e644..e1f8724 100644 --- a/src/zodiacal_model.c +++ b/src/zodiacal_model.c @@ -63,10 +63,8 @@ JM: Sep. 27, 2007 3. Removed parse_par => no command line options 4. Can handle comments in spectrum file and removed the 'rather strict' ZOD_SPEC number of elements in spectrum :) + 5. More gnu-autotools friendly. Path to input data files are taken care of *--------------------------------------------------------------------------*/ -#ifdef HAVE_CONFIG_H -#include -#endif #include #include #include @@ -95,9 +93,9 @@ void usage() printf (" If no parameter file exists, new one will be created\n"); printf (" which may be edited as required\n\n"); printf ("-----------------------------------------------------------\n"); - printf ("Copyright (c) 2012, The CADS Team. [GPL v2.0 or later]\n"); - printf ("Bug Reports : cads.iiap.res.in/dropbux \n"); - printf ("Documentation : cads.iiap.res.in/software\n\n"); + printf ("Copyright (c) 2012 The CADS Team, IIAp. [GPL v3.0 or later]\n"); + printf ("Report Bugs to: http://cads.iiap.res.in/bugzilla \n"); + printf ("Documentation : http://cads.iiap.res.in/software\n\n"); }/*End usage */ /* ------------------------------------------------------------------------- */ @@ -131,7 +129,7 @@ void get_sun_hecl(float t_ut, int day, int month, int year, /* things are symmetric around 0 latitude here.. */ f_temp = fabs(eclcoords.lng - sun_ecl.lng); - + /* wrap coordinates around 180 deg.*/ if (f_temp > 180) f_temp = 360 - f_temp; @@ -207,7 +205,7 @@ int main (int argc, char *argv[]) hbeta_index = 0; while (table_beta[hbeta_index] < fabs(helio_beta)) ++hbeta_index; - + zod_intensity = zod_dist[hecl_index + hbeta_index*ZOD_XSIZE]; /*Scale zodiacal light spectrum*/