IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 24, 2010, 11:22:25 AM (16 years ago)
Author:
eugene
Message:

large update merging in changes for Ohana to support large files

Location:
trunk/Ohana
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana

  • trunk/Ohana/src/opihi/dvo/avextract.c

    r24233 r27435  
    33int avextract (int argc, char **argv) {
    44 
    5   int i, j, n, m, N, Npts, NPTS, last, next, state, Nfields, Nreturn, Ncstack, Nstack;
     5  off_t i, j, n, m;
     6  int N, Npts, NPTS, last, next, state, Nfields, Nreturn, Ncstack, Nstack;
    67  int Nsecfilt, mode, VERBOSE;
    78  char **cstack, name[1024];
     
    7980
    8081  /* create output storage vectors */
     82  Npts = 0;
     83  NPTS = 100;
    8184  ALLOCATE (values, dbValue, Nfields);
    8285  ALLOCATE (vec, Vector *, Nreturn);
     
    9093    ResetVector (vec[i], fields[i].type, NPTS);
    9194  }
    92 
    93   Npts = 0;
    94   NPTS = 1;
    9595
    9696  // grab data from all selected sky regions
     
    103103    catalog.Nsecfilt = 0;
    104104
    105     if (VERBOSE) gprint (GP_ERR, "trying %s (%d of %d)\n", catalog.filename, i, skylist[0].Nregions);
     105    if (VERBOSE) gprint (GP_ERR, "trying %s (%lld of %lld)\n", catalog.filename, (long long) i, (long long) skylist[0].Nregions);
    106106     
    107107    // an error exit status here is a significant error
Note: See TracChangeset for help on using the changeset viewer.