IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 27, 2005, 10:38:30 AM (21 years ago)
Author:
eugene
Message:

implementing SkyRegions in all DVO programs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/addstar/src/get2mass.c

    r5443 r5448  
    5656
    5757  int Nregions, NREGIONS;
    58   char accelfile[1024], line[256], filename[128];
     58  char accelfile[1024], line[256], filename[128], datafile[256];
    5959  FILE *f;
    6060  double Rs, Re, Ds, De;
     
    8383    if (Ds > patch[0].Dmax) continue;
    8484    if (De < patch[0].Dmin) continue;
    85     sprintf (regions[Nregions].name, "%s/%s", path, filename);
     85    sprintf (datafile, "%s/%s", path, filename);
     86    regions[Nregions].filename = strcreate (datafile);
    8687    regions[Nregions].Rmin = Rs;
    8788    regions[Nregions].Rmax = Re;
Note: See TracChangeset for help on using the changeset viewer.