IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 26, 2012, 11:46:01 AM (14 years ago)
Author:
eugene
Message:

updates for pedantic gcc, mods to relphot average mags to handle GPC1 stacks

Location:
trunk/Ohana/src/getstar/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/getstar/src/GetFileMode.c

    r27435 r34088  
    1414  gfits_scan_alt (header, "EXTEND", "%t", 1, &extend);
    1515   
    16   if ((Naxis == 2) || !simple) {
    17     if (!strcmp (&ctype[4], "-WRP")) {
     16  if (haveNaxis && ((Naxis == 2) || !simple)) {
     17    if (haveCTYPE && !strcmp (&ctype[4], "-WRP")) {
    1818      return MOSAIC_CMP;
    1919    }
  • trunk/Ohana/src/getstar/src/ReadImageFiles.c

    r29557 r34088  
    11# include "dvoImageOverlaps.h"
    2 # define DVO_IMAGE_NAME_LEN 128
    32
    43Image *ReadImageFiles (char *filename, off_t *Nimages) {
  • trunk/Ohana/src/getstar/src/edge_check.c

    r12774 r34088  
    44
    55  double theta1, theta2;
    6   double Theta1, Theta2;
    76
    87  theta1 = opening_angle (x1[0], y1[0], x2[0], y2[0], x1[1], y1[1]);
     
    1716  }
    1817
    19   Theta1 = theta1;
    20   Theta2 = theta2;
    2118  theta1 = opening_angle (x2[0], y2[0], x1[1], y1[1], x2[1], y2[1]);
    2219  theta2 = opening_angle (x2[0], y2[0], x1[1], y1[1], x1[0], y1[0]);
  • trunk/Ohana/src/getstar/src/select_by_region.c

    r31669 r34088  
    44int select_by_region (Catalog *output, Catalog *catalog, SkyRegion *region, int start, int end) {
    55
    6   int i, j, Nm, offset, m, Nsecfilt, code, Nsec;
     6  int i, j, offset, m, Nsecfilt, code, Nsec;
    77  int Nave, NAVE, Nmeas, NMEAS, needMeas;
    88  double R, D, AREA;
     
    140140    }
    141141
    142     Nm = 0;
    143     offset = catalog[0].average[i].measureOffset;
    144 
    145142    if (needMeas) {
     143      offset = catalog[0].average[i].measureOffset;
    146144      for (j = 0; j < catalog[0].average[i].Nmeasure; j++) {
    147145        output[0].measure[Nmeas] = catalog[0].measure[offset + j];
Note: See TracChangeset for help on using the changeset viewer.