IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 38688


Ignore:
Timestamp:
Aug 28, 2015, 4:03:51 PM (11 years ago)
Author:
eugene
Message:

update AstromOffsetMapLoad API

Location:
branches/eam_branches/ipp-20150625/Ohana/src
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20150625/Ohana/src/libfits/Makefile

    r38441 r38688  
    2525TEST_CPPFLAGS = $(BASE_CPPFLAGS)
    2626TEST_LDFLAGS  = $(BASE_LDFLAGS) -lFITS -lohana -ltap_ohana
    27 
    2827
    2928TESTXTRA = tcomptiming
  • branches/eam_branches/ipp-20150625/Ohana/src/photdbc/src/copy_images.c

    r38441 r38688  
    5959  char mapfile[DVO_MAX_PATH];
    6060  snprintf (mapfile, DVO_MAX_PATH, "%s/AstroMap.fits", CATDIR);
    61   AstromOffsetTable *table_src = AstromOffsetMapLoad (mapfile, VERBOSE);
     61  AstromOffsetTable *table_src = AstromOffsetMapLoad (mapfile, 100000, VERBOSE);
    6262
    6363  // assign images.coords.offsetMap -> table->map[i]
  • branches/eam_branches/ipp-20150625/Ohana/src/relastro/src/assign_images.c

    r38441 r38688  
    2626  char mapfile[DVO_MAX_PATH];
    2727  snprintf (mapfile, DVO_MAX_PATH, "%s/AstroMap.fits", CATDIR);
    28   AstromOffsetTable *table = AstromOffsetMapLoad (mapfile, VERBOSE);
     28  AstromOffsetTable *table = AstromOffsetMapLoad (mapfile, 100000, VERBOSE);
    2929
    3030  // assign images.coords.offsetMap -> table->map[i]
  • branches/eam_branches/ipp-20150625/Ohana/src/relastro/src/load_images.c

    r38441 r38688  
    2929  char mapfile[DVO_MAX_PATH];
    3030  snprintf (mapfile, DVO_MAX_PATH, "%s/AstroMap.fits", CATDIR);
    31   table = AstromOffsetMapLoad (mapfile, VERBOSE);
     31  table = AstromOffsetMapLoad (mapfile, 100000, VERBOSE);
    3232
    3333  // assign images.coords.offsetMap -> table->map[i]
  • branches/eam_branches/ipp-20150625/Ohana/src/relastro/src/relastro_parallel_images.c

    r38664 r38688  
    4040  char mapfile[DVO_MAX_PATH];
    4141  snprintf (mapfile, DVO_MAX_PATH, "%s/AstroMap.%d.fits", CATDIR, REGION_HOST_ID);
    42   AstromOffsetTable *table = AstromOffsetMapLoad (mapfile, VERBOSE);
     42  AstromOffsetTable *table = AstromOffsetMapLoad (mapfile, 100000, VERBOSE);
    4343
    4444  // assign images.coords.offsetMap -> table->map[i]
  • branches/eam_branches/ipp-20150625/Ohana/src/relastro/src/share_images_pos.c

    r38062 r38688  
    115115    snprintf (mapname, 1024, "%s/AstroMapUpdate.%d.fits", CATDIR, regionHosts->hosts[i].hostID);
    116116   
    117     AstromOffsetTable *table = AstromOffsetMapLoad (mapname, VERBOSE);
     117    AstromOffsetTable *table = AstromOffsetMapLoad (mapname, 100000, VERBOSE);
    118118    LOGRTIME("image_maps_load host %d loop %d on %s, host %d: %f sec\n", i, nloop, myHostName, REGION_HOST_ID, dtime);
    119119 
  • branches/eam_branches/ipp-20150625/Ohana/src/relphot/src/load_images.c

    r38441 r38688  
    3131  MARKTIME("build chip match for %d images: %f sec\n", (int) Nimage, dtime);
    3232
     33  // XXX consider allowing relphot to skip the AstroMap load (do we need precise astrometry here?)
     34
    3335  char mapfile[DVO_MAX_PATH];
    3436  snprintf (mapfile, DVO_MAX_PATH, "%s/AstroMap.fits", CATDIR);
    35   AstromOffsetTable *table = AstromOffsetMapLoad (mapfile, VERBOSE);
     37  AstromOffsetTable *table = AstromOffsetMapLoad (mapfile, 100000, VERBOSE);
    3638
    3739  // assign images.coords.offsetMap -> table->map[i]
Note: See TracChangeset for help on using the changeset viewer.