Changeset 42389 for trunk/Ohana/src/relastro
- Timestamp:
- Feb 8, 2023, 12:17:35 PM (4 years ago)
- Location:
- trunk/Ohana
- Files:
-
- 11 edited
-
. (modified) (1 prop)
-
src/relastro/src (modified) (1 prop)
-
src/relastro/src/ConfigInit.c (modified) (2 diffs)
-
src/relastro/src/FrameCorrection.c (modified) (3 diffs)
-
src/relastro/src/ICRF.c (modified) (1 diff)
-
src/relastro/src/assign_images.c (modified) (1 diff)
-
src/relastro/src/bcatalog.c (modified) (2 diffs)
-
src/relastro/src/launch_region_hosts.c (modified) (2 diffs)
-
src/relastro/src/load_images.c (modified) (2 diffs)
-
src/relastro/src/relastro_parallel_images.c (modified) (1 diff)
-
src/relastro/src/share_images_pos.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana
-
trunk/Ohana/src/relastro/src
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20220316/Ohana/src/relastro/src (added) merged: 42345,42361
- Property svn:mergeinfo changed
-
trunk/Ohana/src/relastro/src/ConfigInit.c
r39926 r42389 61 61 ScanConfig(config, "WHERE_B", "%s", 0, WHERE_B); 62 62 63 snprintf (ImageCat, DVO_MAX_PATH, "%s/Images.dat", CATDIR);63 snprintf_nowarn (ImageCat, DVO_MAX_PATH, "%s/Images.dat", CATDIR); 64 64 65 65 if (!ScanConfig (config, "SKY_DEPTH", "%d", 0, &SKY_DEPTH)) SKY_DEPTH = 2; … … 77 77 78 78 /* update master photcode table if not defined */ 79 snprintf (CatdirPhotcodeFile, DVO_MAX_PATH, "%s/Photcodes.dat", CATDIR);79 snprintf_nowarn (CatdirPhotcodeFile, DVO_MAX_PATH, "%s/Photcodes.dat", CATDIR); 80 80 if (!LoadPhotcodes (CatdirPhotcodeFile, NULL, FALSE)) { 81 81 fprintf (stderr, "error loading photcode table %s\n", CatdirPhotcodeFile); -
trunk/Ohana/src/relastro/src/FrameCorrection.c
r38986 r42389 80 80 static int version = 0; 81 81 char filename[1024]; 82 snprintf (filename, 1024, "%s/frame.%03d.corr.fits", CATDIR, version);82 snprintf_nowarn (filename, 1024, "%s/frame.%03d.corr.fits", CATDIR, version); 83 83 FrameCorrectionSetSave (filename, set); 84 84 version ++; … … 217 217 static int version = 0; 218 218 char filename[1024]; 219 snprintf (filename, 1024, "%s/sh.%02d.dat", CATDIR, version);219 snprintf_nowarn (filename, 1024, "%s/sh.%02d.dat", CATDIR, version); 220 220 FILE *f = fopen (filename, "w"); 221 221 myAssert (f, "oops"); … … 519 519 static int version = 0; 520 520 char filename[1024]; 521 snprintf (filename, 1024, "%s/map.%02d.dat", CATDIR, version);521 snprintf_nowarn (filename, 1024, "%s/map.%02d.dat", CATDIR, version); 522 522 FILE *f = fopen (filename, "w"); 523 523 version ++; -
trunk/Ohana/src/relastro/src/ICRF.c
r39375 r42389 56 56 57 57 char filename[1024]; 58 snprintf (filename, 1024, "%s/test.icrf.dat", CATDIR);58 snprintf_nowarn (filename, 1024, "%s/test.icrf.dat", CATDIR); 59 59 FILE *f = fopen (filename, "w"); 60 60 -
trunk/Ohana/src/relastro/src/assign_images.c
r39926 r42389 25 25 26 26 char mapfile[DVO_MAX_PATH]; 27 snprintf (mapfile, DVO_MAX_PATH, "%s/AstroMap.fits", CATDIR);27 snprintf_nowarn (mapfile, DVO_MAX_PATH, "%s/AstroMap.fits", CATDIR); 28 28 AstromOffsetTable *table = AstromOffsetMapLoad (mapfile, 100000, VERBOSE); 29 29 -
trunk/Ohana/src/relastro/src/bcatalog.c
r39995 r42389 64 64 if (VERBOSE2 && ExcludeBogus && (fbogus == NULL)) { 65 65 char name[1024]; 66 snprintf (name, 1024, "%s/bogus.%02d.dat", CATDIR, HOST_ID);66 snprintf_nowarn (name, 1024, "%s/bogus.%02d.dat", CATDIR, HOST_ID); 67 67 fbogus = fopen (name, "w"); 68 68 if (!fbogus) { … … 533 533 if (dumpit) { 534 534 char name[64]; 535 snprintf (name, 64, "cat.%05d.dump.dat", oldcatalog[0].catID);535 snprintf_nowarn (name, 64, "cat.%05d.dump.dat", oldcatalog[0].catID); 536 536 FILE *fdump = fopen (name, "w"); 537 537 for (i = 0; i < Nkeep; i++) { -
trunk/Ohana/src/relastro/src/launch_region_hosts.c
r40415 r42389 63 63 // subset images per host : CATDIR/Image.HOSTNAME.fits 64 64 char filename[1024]; 65 snprintf (filename, 1024, "%s/Image.%d.fits", CATDIR, host->hostID);65 snprintf_nowarn (filename, 1024, "%s/Image.%d.fits", CATDIR, host->hostID); 66 66 if (unlink (filename)) fprintf (stderr, "trouble clearing image %s\n", filename); 67 67 … … 71 71 if (host->astromTable) { 72 72 char mapname[1024]; 73 snprintf (mapname, 1024, "%s/AstroMap.%d.fits", CATDIR, host->hostID);73 snprintf_nowarn (mapname, 1024, "%s/AstroMap.%d.fits", CATDIR, host->hostID); 74 74 75 75 // write the image subset for this host -
trunk/Ohana/src/relastro/src/load_images.c
r39926 r42389 56 56 57 57 char mapfile[DVO_MAX_PATH]; 58 snprintf (mapfile, DVO_MAX_PATH, "%s/AstroMap.fits", CATDIR);58 snprintf_nowarn (mapfile, DVO_MAX_PATH, "%s/AstroMap.fits", CATDIR); 59 59 table = AstromOffsetMapLoad (mapfile, 100000, VERBOSE); 60 60 … … 96 96 97 97 char mapfile[DVO_MAX_PATH]; 98 snprintf (mapfile, DVO_MAX_PATH, "%s/AstroMap.fits", CATDIR);98 snprintf_nowarn (mapfile, DVO_MAX_PATH, "%s/AstroMap.fits", CATDIR); 99 99 AstromOffsetMapSave (table, mapfile); 100 100 -
trunk/Ohana/src/relastro/src/relastro_parallel_images.c
r40415 r42389 43 43 44 44 char mapfile[DVO_MAX_PATH]; 45 snprintf (mapfile, DVO_MAX_PATH, "%s/AstroMap.%d.fits", CATDIR, REGION_HOST_ID);45 snprintf_nowarn (mapfile, DVO_MAX_PATH, "%s/AstroMap.%d.fits", CATDIR, REGION_HOST_ID); 46 46 AstromOffsetTable *table = AstromOffsetMapLoad (mapfile, 100000, VERBOSE); 47 47 -
trunk/Ohana/src/relastro/src/share_images_pos.c
r39457 r42389 38 38 if (table) { 39 39 char mapname[1024]; 40 snprintf (mapname, 1024, "%s/AstroMapUpdate.%d.fits", CATDIR, REGION_HOST_ID);40 snprintf_nowarn (mapname, 1024, "%s/AstroMapUpdate.%d.fits", CATDIR, REGION_HOST_ID); 41 41 42 42 // write the image subset for this host … … 113 113 114 114 char mapname[1024]; 115 snprintf (mapname, 1024, "%s/AstroMapUpdate.%d.fits", CATDIR, regionHosts->hosts[i].hostID);115 snprintf_nowarn (mapname, 1024, "%s/AstroMapUpdate.%d.fits", CATDIR, regionHosts->hosts[i].hostID); 116 116 117 117 AstromOffsetTable *table = AstromOffsetMapLoad (mapname, 100000, VERBOSE);
Note:
See TracChangeset
for help on using the changeset viewer.
