Changeset 42803
- Timestamp:
- May 7, 2025, 2:41:21 PM (15 months ago)
- Location:
- branches/eam_branches/ipp-ppmerge-20241229
- Files:
-
- 50 edited
- 17 copied
-
. (modified) (1 prop)
-
Nebulous/bin/whichnode (modified) (1 diff)
-
Ohana (modified) (1 prop)
-
Ohana/src/addstar/src/grefstars.c (modified) (1 diff)
-
Ohana/src/libautocode/Makefile.Targets (modified) (10 diffs)
-
Ohana/src/libautocode/def/average-ps1-ref-v2.d (copied) (copied from trunk/Ohana/src/libautocode/def/average-ps1-ref-v2.d )
-
Ohana/src/libautocode/def/average-ps1-ref-v3.d (copied) (copied from trunk/Ohana/src/libautocode/def/average-ps1-ref-v3.d )
-
Ohana/src/libautocode/def/image-ps1-ref-v2.d (copied) (copied from trunk/Ohana/src/libautocode/def/image-ps1-ref-v2.d )
-
Ohana/src/libautocode/def/image-ps1-ref-v3.d (copied) (copied from trunk/Ohana/src/libautocode/def/image-ps1-ref-v3.d )
-
Ohana/src/libautocode/def/measure-ps1-ref-v2.d (copied) (copied from trunk/Ohana/src/libautocode/def/measure-ps1-ref-v2.d )
-
Ohana/src/libautocode/def/measure-ps1-ref-v3.d (copied) (copied from trunk/Ohana/src/libautocode/def/measure-ps1-ref-v3.d )
-
Ohana/src/libautocode/def/photcode-ps1-ref-v2.d (copied) (copied from trunk/Ohana/src/libautocode/def/photcode-ps1-ref-v2.d )
-
Ohana/src/libautocode/def/photcode-ps1-ref-v3.d (copied) (copied from trunk/Ohana/src/libautocode/def/photcode-ps1-ref-v3.d )
-
Ohana/src/libautocode/def/secfilt-ps1-ref-v2.d (copied) (copied from trunk/Ohana/src/libautocode/def/secfilt-ps1-ref-v2.d )
-
Ohana/src/libautocode/def/secfilt-ps1-ref-v3.d (copied) (copied from trunk/Ohana/src/libautocode/def/secfilt-ps1-ref-v3.d )
-
Ohana/src/libdvo/Makefile (modified) (2 diffs)
-
Ohana/src/libdvo/include/dvo.h (modified) (3 diffs)
-
Ohana/src/libdvo/include/ps1_ref_v2_defs.h (copied) (copied from trunk/Ohana/src/libdvo/include/ps1_ref_v2_defs.h )
-
Ohana/src/libdvo/include/ps1_ref_v3_defs.h (copied) (copied from trunk/Ohana/src/libdvo/include/ps1_ref_v3_defs.h )
-
Ohana/src/libdvo/src/LoadPhotcodesFITS.c (modified) (1 diff)
-
Ohana/src/libdvo/src/dvo_catalog.c (modified) (1 diff)
-
Ohana/src/libdvo/src/dvo_catalog_raw.c (modified) (8 diffs)
-
Ohana/src/libdvo/src/dvo_convert.c (modified) (19 diffs)
-
Ohana/src/libdvo/src/dvo_convert_PS1_REF_V2.c (copied) (copied from trunk/Ohana/src/libdvo/src/dvo_convert_PS1_REF_V2.c )
-
Ohana/src/libdvo/src/dvo_convert_PS1_REF_V3.c (copied) (copied from trunk/Ohana/src/libdvo/src/dvo_convert_PS1_REF_V3.c )
-
Ohana/src/libdvo/src/dvo_image.c (modified) (1 diff)
-
Ohana/src/libdvo/src/dvo_image_raw.c (modified) (2 diffs)
-
Ohana/src/relphot (modified) (1 prop)
-
Ohana/src/relphot/Makefile (modified) (1 diff)
-
Ohana/src/relphot/include/relphot.h (modified) (3 diffs)
-
Ohana/src/relphot/src/DumpAllMags.c (copied) (copied from trunk/Ohana/src/relphot/src/DumpAllMags.c )
-
Ohana/src/relphot/src/GridIO.c (modified) (1 diff)
-
Ohana/src/relphot/src/GridOps.c (modified) (9 diffs)
-
Ohana/src/relphot/src/MagResidSave.c (modified) (1 diff)
-
Ohana/src/relphot/src/relphot_images.c (modified) (1 diff)
-
Ohana/src/relphot/src/setMrelCatalog.c (modified) (1 diff)
-
PS-IPP-Config (modified) (1 prop)
-
PS-IPP-Config/lib/PS/IPP/Config.pm (modified) (1 diff)
-
extsrc/gpcsw/gpcsrc/fits/burntool/persistio.c (modified) (2 diffs)
-
extsrc/gpcsw/gpcsrc/fits/burntool/stardetect.c (modified) (3 diffs)
-
extsrc/gpcsw/gpcsrc/fits/burntool/trailfit.c (modified) (2 diffs)
-
ippMonitor (modified) (1 prop)
-
ippMonitor/INSTALL (modified) (1 diff)
-
ippMonitor/Makefile.in (modified) (1 diff)
-
ippMonitor/czartool/czarpoll.pl (modified) (2 diffs)
-
ippMonitor/czartool/czartool/Nebulous.pm (modified) (1 diff)
-
ippMonitor/czartool/czartool/Pantasks.pm (modified) (3 diffs)
-
ippMonitor/czartool/extra_labels.dat (modified) (1 diff)
-
ippMonitor/raw/czartool_labels.php (modified) (2 diffs)
-
ippMonitor/raw/dataquality.php (copied) (copied from trunk/ippMonitor/raw/dataquality.php )
-
ippMonitor/raw/ipp.czar.dat (modified) (1 diff)
-
ippMonitor/raw/ipp.php (modified) (1 diff)
-
ippMonitor/raw/pointing.php (copied) (copied from trunk/ippMonitor/raw/pointing.php )
-
ippMonitor/scripts/czartool_getServerStatus.pl (modified) (3 diffs)
-
ippTasks/mergedvodb.pro (modified) (2 diffs)
-
ippTasks/summit.copy.pro (modified) (1 diff)
-
ippTools (modified) (1 prop)
-
ippTools/src (modified) (1 prop)
-
ippTools/src/pxtools.c (modified) (1 diff)
-
ippconfig (modified) (1 prop)
-
ippconfig/Makefile.am (modified) (3 diffs)
-
ppImage (modified) (1 prop)
-
ppImage/src/ppImageBurntoolApply.c (modified) (2 diffs)
-
psLib (modified) (1 prop)
-
psLib/src/db/psDB.c (modified) (1 diff)
-
psconfig (modified) (1 prop)
-
psconfig/tagsets/ipp-ubuntu.dist (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-ppmerge-20241229
- Property svn:mergeinfo changed
/trunk (added) merged: 42779-42782,42784-42796,42798-42802
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-ppmerge-20241229/Nebulous/bin/whichnode
r40387 r42803 1 #!/ bin/env perl1 #!/usr/bin/env perl 2 2 3 3 # This script is a temporary "solution" to allow a client to determine whether -
branches/eam_branches/ipp-ppmerge-20241229/Ohana
- Property svn:mergeinfo changed
/trunk/Ohana (added) merged: 42788,42792-42793
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-ppmerge-20241229/Ohana/src/addstar/src/grefstars.c
r41801 r42803 41 41 catalog->average[N].R = ohana_normalize_angle (catalog->average[N].R); 42 42 43 catalog->measure[N].McalPSF = 0.0; 44 catalog->measure[N].McalAPER = 0.0; 45 catalog->measure[N].dMcal = 0.0; 46 43 47 catalog->measure[N].R = catalog->average[N].R; 44 48 catalog->measure[N].D = catalog->average[N].D; -
branches/eam_branches/ipp-ppmerge-20241229/Ohana/src/libautocode/Makefile.Targets
r40291 r42803 18 18 $(ASRC)/average-ps1-sim.$(ARCH).o \ 19 19 $(ASRC)/average-ps1-ref.$(ARCH).o \ 20 $(ASRC)/average-ps1-ref-v2.$(ARCH).o \ 21 $(ASRC)/average-ps1-ref-v3.$(ARCH).o \ 20 22 $(ASRC)/secfilt.$(ARCH).o \ 21 23 $(ASRC)/secfilt-loneos.$(ARCH).o \ … … 34 36 $(ASRC)/secfilt-ps1-sim.$(ARCH).o \ 35 37 $(ASRC)/secfilt-ps1-ref.$(ARCH).o \ 38 $(ASRC)/secfilt-ps1-ref-v2.$(ARCH).o \ 39 $(ASRC)/secfilt-ps1-ref-v3.$(ARCH).o \ 36 40 $(ASRC)/measure.$(ARCH).o \ 37 41 $(ASRC)/measure-loneos.$(ARCH).o \ … … 50 54 $(ASRC)/measure-ps1-sim.$(ARCH).o \ 51 55 $(ASRC)/measure-ps1-ref.$(ARCH).o \ 56 $(ASRC)/measure-ps1-ref-v2.$(ARCH).o \ 57 $(ASRC)/measure-ps1-ref-v3.$(ARCH).o \ 52 58 $(ASRC)/lensing.$(ARCH).o \ 53 59 $(ASRC)/lensing-ps1-v5-r0.$(ARCH).o \ … … 86 92 $(ASRC)/photcode-ps1-v5-ld.$(ARCH).o \ 87 93 $(ASRC)/photcode-ps1-ref.$(ARCH).o \ 94 $(ASRC)/photcode-ps1-ref-v2.$(ARCH).o \ 95 $(ASRC)/photcode-ps1-ref-v3.$(ARCH).o \ 88 96 $(ASRC)/image-loneos.$(ARCH).o \ 89 97 $(ASRC)/image-elixir.$(ARCH).o \ … … 102 110 $(ASRC)/image-ps1-sim.$(ARCH).o \ 103 111 $(ASRC)/image-ps1-ref.$(ARCH).o \ 112 $(ASRC)/image-ps1-ref-v2.$(ARCH).o \ 113 $(ASRC)/image-ps1-ref-v3.$(ARCH).o \ 104 114 $(ASRC)/regimage.$(ARCH).o \ 105 115 $(ASRC)/detreg.$(ARCH).o \ … … 149 159 $(AINC)/average-ps1-sim.h \ 150 160 $(AINC)/average-ps1-ref.h \ 161 $(AINC)/average-ps1-ref-v2.h \ 162 $(AINC)/average-ps1-ref-v3.h \ 151 163 $(AINC)/secfilt.h \ 152 164 $(AINC)/secfilt-loneos.h \ … … 165 177 $(AINC)/secfilt-ps1-sim.h \ 166 178 $(AINC)/secfilt-ps1-ref.h \ 179 $(AINC)/secfilt-ps1-ref-v2.h \ 180 $(AINC)/secfilt-ps1-ref-v3.h \ 167 181 $(AINC)/measure.h \ 168 182 $(AINC)/measure-loneos.h \ … … 181 195 $(AINC)/measure-ps1-sim.h \ 182 196 $(AINC)/measure-ps1-ref.h \ 197 $(AINC)/measure-ps1-ref-v2.h \ 198 $(AINC)/measure-ps1-ref-v3.h \ 183 199 $(AINC)/lensing.h \ 184 200 $(AINC)/lensing-ps1-v5-r0.h \ … … 217 233 $(AINC)/photcode-ps1-v5-ld.h \ 218 234 $(AINC)/photcode-ps1-ref.h \ 235 $(AINC)/photcode-ps1-ref-v2.h \ 236 $(AINC)/photcode-ps1-ref-v3.h \ 219 237 $(AINC)/image-loneos.h \ 220 238 $(AINC)/image-elixir.h \ … … 233 251 $(AINC)/image-ps1-sim.h \ 234 252 $(AINC)/image-ps1-ref.h \ 253 $(AINC)/image-ps1-ref-v2.h \ 254 $(AINC)/image-ps1-ref-v3.h \ 235 255 $(AINC)/regimage.h \ 236 256 $(AINC)/detreg.h \ -
branches/eam_branches/ipp-ppmerge-20241229/Ohana/src/libdvo/Makefile
r42477 r42803 53 53 $(DESTINC)/ps1_v5_ld_defs.h \ 54 54 $(DESTINC)/ps1_ref_defs.h \ 55 $(DESTINC)/ps1_ref_v2_defs.h \ 56 $(DESTINC)/ps1_ref_v3_defs.h \ 55 57 $(DESTINC)/ps1_sim_defs.h \ 56 58 $(DESTINC)/cmf-ps1-dv3.h \ … … 105 107 $(SRC)/dvo_convert_PS1_V5_LOAD.$(ARCH).o \ 106 108 $(SRC)/dvo_convert_PS1_REF.$(ARCH).o \ 109 $(SRC)/dvo_convert_PS1_REF_V2.$(ARCH).o \ 110 $(SRC)/dvo_convert_PS1_REF_V3.$(ARCH).o \ 107 111 $(SRC)/dvo_convert_PS1_SIM.$(ARCH).o \ 108 112 $(SRC)/flatcorr_io.$(ARCH).o \ -
branches/eam_branches/ipp-ppmerge-20241229/Ohana/src/libdvo/include/dvo.h
r42477 r42803 27 27 DVO_FORMAT_PS1_DEV_3, 28 28 DVO_FORMAT_PS1_REF, 29 DVO_FORMAT_PS1_REF_V2, 30 DVO_FORMAT_PS1_REF_V3, 29 31 DVO_FORMAT_PS1_SIM, 30 32 DVO_FORMAT_PS1_V1, … … 251 253 252 254 ID_SECF_OBJ_EXT = 0x01000000, // extended in this band 255 256 //ID_SECF_PHO_SYNTH = 0x00000001, // this photcode has SYNTH photometry, turn on only for reference catalog 257 //ID_SECF_PHO_ATLAS = 0x00000002, // this photcode has ATLAS photometry, turn on only for reference catalog 258 //ID_SECF_PHO_PV3 = 0x00000004, // this photcode has PV3 photometry, turn on only for reference catalog 259 //ID_SECF_PHO_SOUTH = 0x00000008, // this photcode has SOUTH photometry, turn on only for reference catalog 253 260 254 261 ID_SECF_CHIP_FLAGS = 0x01003f1f, // all chip-related bits (used to reset the correct bits only) … … 1087 1094 # include "ps1_v5_ld_defs.h" 1088 1095 # include "ps1_ref_defs.h" 1096 # include "ps1_ref_v2_defs.h" 1097 # include "ps1_ref_v3_defs.h" 1089 1098 # include "ps1_sim_defs.h" 1090 1099 -
branches/eam_branches/ipp-ppmerge-20241229/Ohana/src/libdvo/src/LoadPhotcodesFITS.c
r40291 r42803 59 59 CONVERT_FORMAT("DVO_PHOTCODE_PS1_DEV_3", PS1_DEV_3); 60 60 CONVERT_FORMAT("DVO_PHOTCODE_PS1_REF", PS1_REF); 61 CONVERT_FORMAT("DVO_PHOTCODE_PS1_REF_V2", PS1_REF_V2); 62 CONVERT_FORMAT("DVO_PHOTCODE_PS1_REF_V3", PS1_REF_V3); 61 63 CONVERT_FORMAT("DVO_PHOTCODE_PS1_V1", PS1_V1); 62 64 CONVERT_FORMAT("DVO_PHOTCODE_PS1_V2", PS1_V2); -
branches/eam_branches/ipp-ppmerge-20241229/Ohana/src/libdvo/src/dvo_catalog.c
r40291 r42803 60 60 if (!strcasecmp (catformat, "PS1_V5_LOAD")) return (DVO_FORMAT_PS1_V5_LOAD); 61 61 if (!strcasecmp (catformat, "PS1_REF")) return (DVO_FORMAT_PS1_REF); 62 if (!strcasecmp (catformat, "PS1_REF_V2")) return (DVO_FORMAT_PS1_REF_V2); 63 if (!strcasecmp (catformat, "PS1_REF_V3")) return (DVO_FORMAT_PS1_REF_V3); 62 64 if (!strcasecmp (catformat, "PS1_SIM")) return (DVO_FORMAT_PS1_SIM); 63 65 return (DVO_FORMAT_UNDEF); -
branches/eam_branches/ipp-ppmerge-20241229/Ohana/src/libdvo/src/dvo_catalog_raw.c
r40291 r42803 94 94 FORMAT_CASE (PS1_V5_LOAD, PS1_V5_LOAD); 95 95 FORMAT_CASE (PS1_REF, PS1_REF); 96 FORMAT_CASE (PS1_REF_V2, PS1_REF_V2); 97 FORMAT_CASE (PS1_REF_V3, PS1_REF_V3); 96 98 FORMAT_CASE (PS1_SIM, PS1_SIM); 97 99 … … 292 294 if (catalog[0].catformat == DVO_FORMAT_PS1_V5_LOAD) gfits_modify (&catalog[0].header, "FORMAT", "%s", 1, "PS1_V5_LOAD"); 293 295 if (catalog[0].catformat == DVO_FORMAT_PS1_REF) gfits_modify (&catalog[0].header, "FORMAT", "%s", 1, "PS1_REF"); 296 if (catalog[0].catformat == DVO_FORMAT_PS1_REF_V2) gfits_modify (&catalog[0].header, "FORMAT", "%s", 1, "PS1_REF_V2"); 297 if (catalog[0].catformat == DVO_FORMAT_PS1_REF_V3) gfits_modify (&catalog[0].header, "FORMAT", "%s", 1, "PS1_REF_V3"); 294 298 if (catalog[0].catformat == DVO_FORMAT_PS1_SIM) gfits_modify (&catalog[0].header, "FORMAT", "%s", 1, "PS1_SIM"); 295 299 … … 399 403 FORMAT_CASE (PS1_V5_LOAD, PS1_V5_LOAD); 400 404 FORMAT_CASE (PS1_REF, PS1_REF); 405 FORMAT_CASE (PS1_REF_V2, PS1_REF_V2); 406 FORMAT_CASE (PS1_REF_V3, PS1_REF_V3); 401 407 FORMAT_CASE (PS1_SIM, PS1_SIM); 402 408 … … 454 460 FORMAT_CASE (PS1_V5_LOAD, PS1_V5_LOAD); 455 461 FORMAT_CASE (PS1_REF, PS1_REF); 462 FORMAT_CASE (PS1_REF_V2, PS1_REF_V2); 463 FORMAT_CASE (PS1_REF_V3, PS1_REF_V3); 456 464 FORMAT_CASE (PS1_SIM, PS1_SIM); 457 465 … … 512 520 FORMAT_CASE (PS1_V5_LOAD, PS1_V5_LOAD); 513 521 FORMAT_CASE (PS1_REF, PS1_REF); 522 FORMAT_CASE (PS1_REF_V2, PS1_REF_V2); 523 FORMAT_CASE (PS1_REF_V3, PS1_REF_V3); 514 524 FORMAT_CASE (PS1_SIM, PS1_SIM); 515 525 … … 567 577 FORMAT_CASE (PS1_V5_LOAD, PS1_V5_LOAD); 568 578 FORMAT_CASE (PS1_REF, PS1_REF); 579 FORMAT_CASE (PS1_REF_V2, PS1_REF_V2); 580 FORMAT_CASE (PS1_REF_V3, PS1_REF_V3); 569 581 FORMAT_CASE (PS1_SIM, PS1_SIM); 570 582 … … 626 638 FORMAT_CASE (PS1_V5_LOAD, PS1_V5_LOAD); 627 639 FORMAT_CASE (PS1_REF, PS1_REF); 640 FORMAT_CASE (PS1_REF_V2, PS1_REF_V2); 641 FORMAT_CASE (PS1_REF_V3, PS1_REF_V3); 628 642 FORMAT_CASE (PS1_SIM, PS1_SIM); 629 643 … … 681 695 FORMAT_CASE (PS1_V5_LOAD, PS1_V5_LOAD); 682 696 FORMAT_CASE (PS1_REF, PS1_REF); 697 FORMAT_CASE (PS1_REF_V2, PS1_REF_V2); 698 FORMAT_CASE (PS1_REF_V3, PS1_REF_V3); 683 699 FORMAT_CASE (PS1_SIM, PS1_SIM); 684 700 -
branches/eam_branches/ipp-ppmerge-20241229/Ohana/src/libdvo/src/dvo_convert.c
r40291 r42803 45 45 CONVERT_FORMAT ("DVO_AVERAGE_PS1_V5_LOAD", PS1_V5_LOAD); 46 46 CONVERT_FORMAT ("DVO_AVERAGE_PS1_REF", PS1_REF); 47 CONVERT_FORMAT ("DVO_AVERAGE_PS1_REF_V2", PS1_REF_V2); 48 CONVERT_FORMAT ("DVO_AVERAGE_PS1_REF_V3", PS1_REF_V3); 47 49 CONVERT_FORMAT ("DVO_AVERAGE_PS1_SIM", PS1_SIM); 48 50 # undef CONVERT_FORMAT … … 137 139 CONVERT_FORMAT ("DVO_AVERAGE_PS1_V5_LOAD", PS1_V5_LOAD, PS1_V5_LOAD); 138 140 CONVERT_FORMAT ("DVO_AVERAGE_PS1_REF", PS1_REF, PS1_REF); 141 CONVERT_FORMAT ("DVO_AVERAGE_PS1_REF_V2", PS1_REF_V2, PS1_REF_V2); 142 CONVERT_FORMAT ("DVO_AVERAGE_PS1_REF_V3", PS1_REF_V3, PS1_REF_V3); 139 143 CONVERT_FORMAT ("DVO_AVERAGE_PS1_SIM", PS1_SIM, PS1_SIM); 140 144 # undef CONVERT_FORMAT … … 176 180 FORMAT_CASE (PS1_V5_LOAD, PS1_V5_LOAD); 177 181 FORMAT_CASE (PS1_REF, PS1_REF); 182 FORMAT_CASE (PS1_REF_V2, PS1_REF_V2); 183 FORMAT_CASE (PS1_REF_V3, PS1_REF_V3); 178 184 FORMAT_CASE (PS1_SIM, PS1_SIM); 179 185 # undef FORMAT_CASE … … 276 282 CONVERT_FORMAT ("DVO_MEASURE_PS1_V5_LOAD", PS1_V5_LOAD, PS1_V5_LOAD, TRUE); 277 283 CONVERT_FORMAT ("DVO_MEASURE_PS1_REF", PS1_REF, PS1_REF, FALSE); 284 CONVERT_FORMAT ("DVO_MEASURE_PS1_REF_V2", PS1_REF_V2, PS1_REF_V2, FALSE); 285 CONVERT_FORMAT ("DVO_MEASURE_PS1_REF_V3", PS1_REF_V3, PS1_REF_V3, FALSE); 278 286 CONVERT_FORMAT ("DVO_MEASURE_PS1_SIM", PS1_SIM, PS1_SIM, TRUE); 279 287 # undef CONVERT_FORMAT … … 317 325 FORMAT_CASE (PS1_V5_LOAD, PS1_V5_LOAD, TRUE); 318 326 FORMAT_CASE (PS1_REF, PS1_REF, FALSE); 327 FORMAT_CASE (PS1_REF_V2, PS1_REF_V2, FALSE); 328 FORMAT_CASE (PS1_REF_V3, PS1_REF_V3, FALSE); 319 329 FORMAT_CASE (PS1_SIM, PS1_SIM, TRUE); 320 330 # undef FORMAT_CASE … … 385 395 SKIPPING_FORMAT ("DVO_MISSING_PS1_SIM", PS1_SIM, PS1_SIM); 386 396 SKIPPING_FORMAT ("DVO_MISSING_PS1_REF", PS1_REF, PS1_REF); 397 SKIPPING_FORMAT ("DVO_MISSING_PS1_REF_V2", PS1_REF_V2, PS1_REF_V2); 398 SKIPPING_FORMAT ("DVO_MISSING_PS1_REF_V3", PS1_REF_V3, PS1_REF_V3); 387 399 SKIPPING_FORMAT ("DVO_MISSING_ELIXIR", ELIXIR, Elixir); 388 400 SKIPPING_FORMAT ("DVO_MISSING_LONEOS", LONEOS, Loneos); … … 475 487 CONVERT_FORMAT ("DVO_SECFILT_PS1_V5_LOAD", PS1_V5_LOAD, PS1_V5_LOAD); 476 488 CONVERT_FORMAT ("DVO_SECFILT_PS1_REF", PS1_REF, PS1_REF); 489 CONVERT_FORMAT ("DVO_SECFILT_PS1_REF_V2", PS1_REF_V2, PS1_REF_V2); 490 CONVERT_FORMAT ("DVO_SECFILT_PS1_REF_V3", PS1_REF_V3, PS1_REF_V3); 477 491 CONVERT_FORMAT ("DVO_SECFILT_PS1_SIM", PS1_SIM, PS1_SIM); 478 492 # undef CONVERT_FORMAT … … 514 528 FORMAT_CASE (PS1_V5_LOAD, PS1_V5_LOAD); 515 529 FORMAT_CASE (PS1_REF, PS1_REF); 530 FORMAT_CASE (PS1_REF_V2, PS1_REF_V2); 531 FORMAT_CASE (PS1_REF_V3, PS1_REF_V3); 516 532 FORMAT_CASE (PS1_SIM, PS1_SIM); 517 533 # undef FORMAT_CASE … … 609 625 610 626 SKIPPING_FORMAT ("DVO_LENSING_PS1_REF", PS1_REF, PS1_REF); 627 SKIPPING_FORMAT ("DVO_LENSING_PS1_REF_V2", PS1_REF_V2, PS1_REF_V2); 628 SKIPPING_FORMAT ("DVO_LENSING_PS1_REF_V3", PS1_REF_V3, PS1_REF_V3); 611 629 SKIPPING_FORMAT ("DVO_LENSING_ELIXIR", ELIXIR, Elixir); 612 630 SKIPPING_FORMAT ("DVO_LENSING_LONEOS", LONEOS, Loneos); … … 650 668 651 669 // FORMAT_CASE (PS1_REF, PS1_REF); 670 // FORMAT_CASE (PS1_REF_V2, PS1_REF_V2); 671 // FORMAT_CASE (PS1_REF_V3, PS1_REF_V3); 652 672 // FORMAT_CASE (ELIXIR, Elixir); 653 673 // FORMAT_CASE (LONEOS, Loneos); … … 731 751 732 752 SKIPPING_FORMAT ("DVO_LENSOBJ_PS1_REF", PS1_REF, PS1_REF); 753 SKIPPING_FORMAT ("DVO_LENSOBJ_PS1_REF_V2", PS1_REF_V2, PS1_REF_V2); 754 SKIPPING_FORMAT ("DVO_LENSOBJ_PS1_REF_V3", PS1_REF_V3, PS1_REF_V3); 733 755 SKIPPING_FORMAT ("DVO_LENSOBJ_ELIXIR", ELIXIR, Elixir); 734 756 SKIPPING_FORMAT ("DVO_LENSOBJ_LONEOS", LONEOS, Loneos); … … 772 794 773 795 // FORMAT_CASE (PS1_REF, PS1_REF); 796 // FORMAT_CASE (PS1_REF_V2, PS1_REF_V2); 797 // FORMAT_CASE (PS1_REF_V3, PS1_REF_V3); 774 798 // FORMAT_CASE (ELIXIR, Elixir); 775 799 // FORMAT_CASE (LONEOS, Loneos); … … 841 865 CONVERT_FORMAT ("DVO_STARPAR_PS1_SIM", PS1_SIM, PS1_SIM); 842 866 SKIPPING_FORMAT ("DVO_STARPAR_PS1_REF", PS1_REF, PS1_REF); 867 SKIPPING_FORMAT ("DVO_STARPAR_PS1_REF_V2", PS1_REF_V2, PS1_REF_V2); 868 SKIPPING_FORMAT ("DVO_STARPAR_PS1_REF_V3", PS1_REF_V3, PS1_REF_V3); 843 869 SKIPPING_FORMAT ("DVO_STARPAR_ELIXIR", ELIXIR, Elixir); 844 870 SKIPPING_FORMAT ("DVO_STARPAR_LONEOS", LONEOS, Loneos); … … 882 908 FORMAT_CASE (PS1_SIM, PS1_SIM); 883 909 // FORMAT_CASE (PS1_REF, PS1_REF); 910 // FORMAT_CASE (PS1_REF_V2, PS1_REF_V2); 911 // FORMAT_CASE (PS1_REF_V3, PS1_REF_V3); 884 912 // FORMAT_CASE (ELIXIR, Elixir); 885 913 // FORMAT_CASE (LONEOS, Loneos); … … 964 992 965 993 SKIPPING_FORMAT ("DVO_GALPHOT_PS1_REF", PS1_REF, PS1_REF); 994 SKIPPING_FORMAT ("DVO_GALPHOT_PS1_REF_V2", PS1_REF_V2, PS1_REF_V2); 995 SKIPPING_FORMAT ("DVO_GALPHOT_PS1_REF_V3", PS1_REF_V3, PS1_REF_V3); 966 996 SKIPPING_FORMAT ("DVO_GALPHOT_ELIXIR", ELIXIR, Elixir); 967 997 SKIPPING_FORMAT ("DVO_GALPHOT_LONEOS", LONEOS, Loneos); … … 1005 1035 1006 1036 // FORMAT_CASE (PS1_REF, PS1_REF); 1037 // FORMAT_CASE (PS1_REF_V2, PS1_REF_V2); 1038 // FORMAT_CASE (PS1_REF_V3, PS1_REF_V3); 1007 1039 // FORMAT_CASE (ELIXIR, Elixir); 1008 1040 // FORMAT_CASE (LONEOS, Loneos); … … 1094 1126 CONVERT_FORMAT ("DVO_IMAGE_PS1_V5_LOAD", PS1_V5_LOAD, PS1_V5_LOAD); 1095 1127 CONVERT_FORMAT ("DVO_IMAGE_PS1_REF", PS1_REF, PS1_REF); 1128 CONVERT_FORMAT ("DVO_IMAGE_PS1_REF_V2", PS1_REF_V2, PS1_REF_V2); 1129 CONVERT_FORMAT ("DVO_IMAGE_PS1_REF_V3", PS1_REF_V3, PS1_REF_V3); 1096 1130 CONVERT_FORMAT ("DVO_IMAGE_PS1_SIM", PS1_SIM, PS1_SIM); 1097 1131 … … 1135 1169 FORMAT_CASE (PS1_V5_LOAD, PS1_V5_LOAD); 1136 1170 FORMAT_CASE (PS1_REF, PS1_REF); 1171 FORMAT_CASE (PS1_REF_V2, PS1_REF_V2); 1172 FORMAT_CASE (PS1_REF_V3, PS1_REF_V3); 1137 1173 FORMAT_CASE (PS1_SIM, PS1_SIM); 1138 1174 … … 1188 1224 FORMAT_CASE (PS1_V5_LOAD, PS1_V5_LOAD); 1189 1225 FORMAT_CASE (PS1_REF, PS1_REF); 1226 FORMAT_CASE (PS1_REF_V2, PS1_REF_V2); 1227 FORMAT_CASE (PS1_REF_V3, PS1_REF_V3); 1190 1228 FORMAT_CASE (PS1_SIM, PS1_SIM); 1191 1229 -
branches/eam_branches/ipp-ppmerge-20241229/Ohana/src/libdvo/src/dvo_image.c
r40291 r42803 226 226 if (db[0].format == DVO_FORMAT_PS1_V5_LOAD) gfits_modify (&db[0].header, "FORMAT", "%s", 1, "PS1_V5_LOAD"); 227 227 if (db[0].format == DVO_FORMAT_PS1_REF) gfits_modify (&db[0].header, "FORMAT", "%s", 1, "PS1_REF"); 228 if (db[0].format == DVO_FORMAT_PS1_REF_V2) gfits_modify (&db[0].header, "FORMAT", "%s", 1, "PS1_REF_V2"); 229 if (db[0].format == DVO_FORMAT_PS1_REF_V3) gfits_modify (&db[0].header, "FORMAT", "%s", 1, "PS1_REF_V3"); 228 230 if (db[0].format == DVO_FORMAT_PS1_SIM) gfits_modify (&db[0].header, "FORMAT", "%s", 1, "PS1_SIM"); 229 231 -
branches/eam_branches/ipp-ppmerge-20241229/Ohana/src/libdvo/src/dvo_image_raw.c
r40291 r42803 63 63 if (db[0].format == DVO_FORMAT_PS1_V5_LOAD) ImageSize = sizeof(Image_PS1_V5_LOAD); 64 64 if (db[0].format == DVO_FORMAT_PS1_REF) ImageSize = sizeof(Image_PS1_REF); 65 if (db[0].format == DVO_FORMAT_PS1_REF_V2) ImageSize = sizeof(Image_PS1_REF_V2); 66 if (db[0].format == DVO_FORMAT_PS1_REF_V3) ImageSize = sizeof(Image_PS1_REF_V3); 65 67 if (db[0].format == DVO_FORMAT_PS1_SIM) ImageSize = sizeof(Image_PS1_SIM); 66 68 … … 97 99 if (db[0].format == DVO_FORMAT_PS1_V5_LOAD) gfits_table_mkheader_Image_PS1_V5_LOAD (&db[0].theader); 98 100 if (db[0].format == DVO_FORMAT_PS1_REF) gfits_table_mkheader_Image_PS1_REF (&db[0].theader); 101 if (db[0].format == DVO_FORMAT_PS1_REF_V2) gfits_table_mkheader_Image_PS1_REF_V2 (&db[0].theader); 102 if (db[0].format == DVO_FORMAT_PS1_REF_V3) gfits_table_mkheader_Image_PS1_REF_V3 (&db[0].theader); 99 103 if (db[0].format == DVO_FORMAT_PS1_SIM) gfits_table_mkheader_Image_PS1_SIM (&db[0].theader); 100 104 -
branches/eam_branches/ipp-ppmerge-20241229/Ohana/src/relphot
- Property svn:mergeinfo changed
/trunk/Ohana/src/relphot (added) merged: 42788,42792-42793
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-ppmerge-20241229/Ohana/src/relphot/Makefile
r42112 r42803 82 82 $(SRC)/setExclusions.$(ARCH).o \ 83 83 $(SRC)/setMrelFinal.$(ARCH).o \ 84 $(SRC)/setMrelCatalog.$(ARCH).o \ 85 $(SRC)/BoundaryTreeOps.$(ARCH).o \ 84 $(SRC)/setMrelCatalog.$(ARCH).o \ 85 $(SRC)/BoundaryTreeOps.$(ARCH).o \ 86 $(SRC)/DumpAllMags.$(ARCH).o \ 86 87 $(SRC)/write_coords.$(ARCH).o 87 88 -
branches/eam_branches/ipp-ppmerge-20241229/Ohana/src/relphot/include/relphot.h
r42389 r42803 160 160 float dY; // bin = int(Ychip * dY), dY = Ny / NyChip 161 161 // NxChip, NyChip = 4900,4900 for now 162 163 int **nAlloc; // allocated vector length 164 double ***dMval; // values used to calculate corrections 162 165 } GridCorrectionType; 163 166 … … 607 610 void initGridBins PROTO((void)); 608 611 GridCorrectionType *getGridCorrByCode PROTO((int code)); 612 GridCorrectionType *newGridCorrByCode PROTO((int code)); 609 613 GridCorrectionType *getGridCorrNext PROTO((int *Nlast)); 610 614 int GridCorrectionSave PROTO((void)); … … 894 898 double get_median_zpt_tgroups (short photcode); 895 899 void set_median_zpt_tgroups (short photcode, double zpt); 900 901 int DumpAllMags(char *filename, Catalog *catalog, int Ncatalog); -
branches/eam_branches/ipp-ppmerge-20241229/Ohana/src/relphot/src/GridIO.c
r41647 r42803 151 151 152 152 if (!gfits_scan (&header, "PHOTCODE", "%d", 1, &photcode)) myAbort ("failed to get PHOTCODE"); 153 GridCorrectionType *GridCorr = getGridCorrByCode (photcode);153 GridCorrectionType *GridCorr = newGridCorrByCode (photcode); 154 154 GridCorr->photcode = photcode; 155 155 -
branches/eam_branches/ipp-ppmerge-20241229/Ohana/src/relphot/src/GridOps.c
r41664 r42803 30 30 # define NX_CHIP_DEFAULT 1000 31 31 # define NY_CHIP_DEFAULT 1000 32 # define NX_BIN_DEFAULT 233 # define NY_BIN_DEFAULT 232 # define NX_BIN_DEFAULT 4 33 # define NY_BIN_DEFAULT 4 34 34 35 35 void initGridBins (void) { … … 76 76 if (GridCorr[code]->dMgrid) FREE (GridCorr[code]->dMgrid[ix]); 77 77 if (GridCorr[code]->nMgrid) FREE (GridCorr[code]->nMgrid[ix]); 78 if (GridCorr[code]->nAlloc) FREE (GridCorr[code]->nAlloc[ix]); 79 80 // dMval is a 2D array of vectors 81 for (int iy = 0; iy < GridCorr[code]->Ny; iy++) { 82 FREE (GridCorr[code]->dMval[ix][iy]); 83 } 84 FREE (GridCorr[code]->dMval[ix]); 78 85 } 79 86 … … 81 88 FREE (GridCorr[code]->dMgrid); 82 89 FREE (GridCorr[code]->nMgrid); 90 FREE (GridCorr[code]->nAlloc); 91 FREE (GridCorr[code]-> dMval); 83 92 84 93 FREE(GridCorr[code]); … … 109 118 } 110 119 111 GridCorrectionType *getGridCorrByCode (int code) { 120 // generate a new GridCorr structure in the array 121 GridCorrectionType *newGridCorrByCode (int code) { 112 122 113 123 if (GridCorr == NULL) return NULL; … … 116 126 if (code < 0) return NULL; 117 127 128 myAssert (GridCorr[code] == NULL, "oops, should not already be allocated!"); 118 129 ALLOCATE(GridCorr[code], GridCorrectionType, 1) 130 GridCorrectionType *result = GridCorr[code]; 131 return result; 132 } 133 134 // return the GridCode structure corresponding to 'code' 135 GridCorrectionType *getGridCorrByCode (int code) { 136 137 if (GridCorr == NULL) return NULL; 138 139 if (code >= NGridCorr) return NULL; 140 if (code < 0) return NULL; 141 119 142 GridCorrectionType *result = GridCorr[code]; 120 143 return result; … … 163 186 // we are normally accessing this array randomly, so there is no advantage to 164 187 // doing Mgrid[y][x] vs Mgrid[x][y] 188 ALLOCATE (GridCorr[code]-> dMval, double **, NX_BIN); 165 189 ALLOCATE (GridCorr[code]-> Mgrid, float *, NX_BIN); 166 190 ALLOCATE (GridCorr[code]->dMgrid, float *, NX_BIN); 167 191 ALLOCATE (GridCorr[code]->nMgrid, int *, NX_BIN); 192 ALLOCATE (GridCorr[code]->nAlloc, int *, NX_BIN); 168 193 for (int ix = 0; ix < NX_BIN; ix++) { 169 194 ALLOCATE (GridCorr[code]-> Mgrid[ix], float, NY_BIN); 170 195 ALLOCATE (GridCorr[code]->dMgrid[ix], float, NY_BIN); 171 196 ALLOCATE (GridCorr[code]->nMgrid[ix], int, NY_BIN); 197 ALLOCATE (GridCorr[code]->nAlloc[ix], int, NY_BIN); 198 199 // when we first allocate this array, set the elements to 0 (NULL) 200 // these arrays will be allocated or reallocated in resetMgrid 201 ALLOCATE_ZERO (GridCorr[code]-> dMval[ix], double *, NX_BIN); 172 202 } 173 203 } … … 190 220 GridCorr[code]->dMgrid[ix][iy] = 0.0; 191 221 GridCorr[code]->nMgrid[ix][iy] = 0; 222 GridCorr[code]->nAlloc[ix][iy] = 100; 223 224 // allocate or reset vector length to default 225 if (GridCorr[code]->dMval[ix][iy]) { 226 REALLOCATE (GridCorr[code]->dMval[ix][iy], double, GridCorr[code]->nAlloc[ix][iy]); 227 } else { 228 ALLOCATE (GridCorr[code]->dMval[ix][iy], double, GridCorr[code]->nAlloc[ix][iy]); 229 } 192 230 } 193 231 } … … 263 301 if (fabs(dM) > 0.5) continue; 264 302 265 grid-> Mgrid[ix][iy] += dM;266 grid-> dMgrid[ix][iy] += dM*dM;303 int ival = grid->nMgrid[ix][iy]; 304 grid-> dMval[ix][iy][ival] = dM; 267 305 grid->nMgrid[ix][iy] ++; 306 CHECK_REALLOCATE (grid-> dMval[ix][iy], double, grid->nAlloc[ix][iy], grid->nMgrid[ix][iy], 100); 307 308 /* XXX old code to calculate simple means: 309 grid-> Mgrid[ix][iy] += dM; 310 grid->dMgrid[ix][iy] += dM*dM; 311 grid->nMgrid[ix][iy] ++; 312 */ 268 313 } 269 314 } 270 315 } 316 317 StatType stats; 318 liststats_setmode (&stats, "MEDIAN"); 319 320 // now calculate Mgrid, dMgrid, nMgrid from Sum, Sum, Npt 321 for (int code = 0; code < NGridCorr; code++) { 322 if (!GridCorr[code]) continue; 323 324 for (int ix = 0; ix < GridCorr[code]->Nx; ix++) { 325 for (int iy = 0; iy < GridCorr[code]->Ny; iy++) { 326 327 // cells without sufficient coverage stay at 0.0 328 if (GridCorr[code]->nMgrid[ix][iy] < 5) { 329 GridCorr[code]-> Mgrid[ix][iy] = 0.0; 330 GridCorr[code]->dMgrid[ix][iy] = 0.0; 331 continue; 332 } 333 334 liststats_init (&stats); 335 336 liststats (GridCorr[code]->dMval[ix][iy], NULL, NULL, GridCorr[code]->nMgrid[ix][iy], &stats); 337 double altSigma = (stats.Upper80 - stats.Lower20) / 1.6; // 20% to 80% encompasses 60% of the values, corresponds to the range (-0.85 sigma : +0.85 sigma) 338 339 GridCorr[code]-> Mgrid[ix][iy] = stats.median; 340 GridCorr[code]->dMgrid[ix][iy] = altSigma; // sample stdev 341 } 342 } 343 } 344 return; 345 } 346 347 # if (0) 271 348 272 349 // now calculate Mgrid, dMgrid, nMgrid from Sum, Sum, Npt … … 300 377 // float GridAve = GridSum / GridCnt; 301 378 // fprintf (stderr, "grid average: %f\n", GridAve); 302 } 303 return; 304 } 379 # endif 305 380 306 381 float getMgrid (Measure *measure) { -
branches/eam_branches/ipp-ppmerge-20241229/Ohana/src/relphot/src/MagResidSave.c
r41647 r42803 54 54 gfits_create_table_header (&theader, "BINTABLE", "MAG_PSF_RESID"); 55 55 56 gfits_define_bintable_column (&theader, "D", "RA", "ra", "degree",1.0, 0.0);57 gfits_define_bintable_column (&theader, "D", "DEC", "dec", "degree",1.0, 0.0);58 gfits_define_bintable_column (&theader, "E", "MAG_RESID", "magnitude residual","magnitudes", 1.0, 0.0);59 gfits_define_bintable_column (&theader, "E", "MAG_ERROR", "magnitude error","magnitudes", 1.0, 0.0);60 gfits_define_bintable_column (&theader, "E", "MAG_CHISQ", "magnitude resid chisq", "unitless",1.0, 0.0);61 gfits_define_bintable_column (&theader, "E", "MAG_MEDIAN", "median magnitude residual", "magnitudes", 1.0, 0.0);56 gfits_define_bintable_column (&theader, "D", "RA", "ra", "degree", 1.0, 0.0); 57 gfits_define_bintable_column (&theader, "D", "DEC", "dec", "degree", 1.0, 0.0); 58 gfits_define_bintable_column (&theader, "E", "MAG_RESID", "magnitude residual", "magnitudes", 1.0, 0.0); 59 gfits_define_bintable_column (&theader, "E", "MAG_ERROR", "magnitude error", "magnitudes", 1.0, 0.0); 60 gfits_define_bintable_column (&theader, "E", "MAG_CHISQ", "magnitude resid chisq", "unitless", 1.0, 0.0); 61 gfits_define_bintable_column (&theader, "E", "MAG_MEDIAN", "median magnitude residual", "magnitudes", 1.0, 0.0); 62 62 gfits_define_bintable_column (&theader, "E", "MAG_ALTSIG", "68 percentile range as sigma", "magnitudes", 1.0, 0.0); 63 gfits_define_bintable_column (&theader, "E", "AIRMASS", "", "unitless",1.0, 0.0);64 gfits_define_bintable_column (&theader, "D", "MJD", "", "unitless",1.0, 0.0);65 gfits_define_bintable_column (&theader, "E", "EXPTIME", "", "unitless",1.0, 0.0);66 gfits_define_bintable_column (&theader, "J", "PHOTCODE", "", "unitless",1.0, 0.0);67 gfits_define_bintable_column (&theader, "J", "FLAGS", "image flags","unitless", 1.0, 0.0);68 gfits_define_bintable_column (&theader, "J", "NFIT", "number of stars fitted", NULL, 1.0, FT_BZERO_INT32);69 gfits_define_bintable_column (&theader, "J", "NMEAS", "number of stars on image", NULL, 1.0, FT_BZERO_INT32);63 gfits_define_bintable_column (&theader, "E", "AIRMASS", "", "unitless", 1.0, 0.0); 64 gfits_define_bintable_column (&theader, "D", "MJD", "", "unitless", 1.0, 0.0); 65 gfits_define_bintable_column (&theader, "E", "EXPTIME", "", "unitless", 1.0, 0.0); 66 gfits_define_bintable_column (&theader, "J", "PHOTCODE", "", "unitless", 1.0, 0.0); 67 gfits_define_bintable_column (&theader, "J", "FLAGS", "image flags", "unitless", 1.0, 0.0); 68 gfits_define_bintable_column (&theader, "J", "NFIT", "number of stars fitted", NULL, 1.0, 0.0); 69 gfits_define_bintable_column (&theader, "J", "NMEAS", "number of stars on image", NULL, 1.0, 0.0); 70 70 71 71 // generate the output array that carries the data -
branches/eam_branches/ipp-ppmerge-20241229/Ohana/src/relphot/src/relphot_images.c
r42132 r42803 147 147 MagResidSave ("mag.resid.fits", catalog); 148 148 149 // DumpAllMags ("all.mags.fits", catalog, Ncatalog); 150 149 151 save_images_updates (&db); 150 152 -
branches/eam_branches/ipp-ppmerge-20241229/Ohana/src/relphot/src/setMrelCatalog.c
r42551 r42803 412 412 secfilt[Nsec].flags |= ID_SECF_HAS_CFH; 413 413 } 414 // secfilt[Nsec].flags |= ID_SECF_AST_GAIA ; // for building reference catalog only, STAR_FEW need to comment out 415 // secfilt[Nsec].flags |= ID_SECF_PHO_SYNTH; // for building reference catalog only, STAR_FEW need to comment out 416 // secfilt[Nsec].flags |= ID_SECF_PHO_ATLAS; // for building reference catalog only, STAR_FEW need to comment out 417 // secfilt[Nsec].flags |= ID_SECF_PHO_PV3 ; // for building reference catalog only, STAR_FEW need to comment out 418 // secfilt[Nsec].flags |= ID_SECF_PHO_SOUTH; // for building reference catalog only, STAR_FEW need to comment out 414 419 415 420 // if -preserve-ps1 is set and this object has PS1 data, skip the rest of the steps: -
branches/eam_branches/ipp-ppmerge-20241229/PS-IPP-Config
- Property svn:mergeinfo changed
/trunk/PS-IPP-Config (added) merged: 42802
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-ppmerge-20241229/PS-IPP-Config/lib/PS/IPP/Config.pm
r40494 r42803 1368 1368 1369 1369 1370 # Return array of the instances for this nebulous file 1371 sub find_instances 1372 { 1373 my $self = shift; 1374 my $file = shift; 1375 1376 my $scheme = file_scheme($file); 1377 if (!$scheme or ($scheme ne 'neb')) { 1378 # if not nebulous, the instance is the file 1379 my @result; 1380 push @result, $file; 1381 return (\@result); 1382 } 1383 1384 my $neb = $self->nebulous; 1385 my $uris; 1386 eval { $uris = $neb->find_instances($file); }; 1387 if ($@) { 1388 carp "failed to set user.copies for $file"; 1389 return 0; 1390 } 1391 return $uris; 1392 } 1393 1370 1394 # Return catdir for tessellation, from TESSELLATIONS within the site configuration 1371 1395 sub tessellation_catdir -
branches/eam_branches/ipp-ppmerge-20241229/extsrc/gpcsw/gpcsrc/fits/burntool/persistio.c
r42392 r42803 312 312 cell[j].burn[k].fiterr != FIT_TOP_ERROR) continue; 313 313 if(cell[j].burn[k].nfit <= 0) continue; 314 /*kick out burns which are single pixels*/ 314 315 } 315 316 } else { … … 317 318 cell[j].burn[k].fiterr != FIT_TOP_ERROR) continue; 318 319 if(cell[j].burn[k].nfit <= 0) continue; 320 /*kick out burns which are single pixels*/ 321 319 322 } 320 323 -
branches/eam_branches/ipp-ppmerge-20241229/extsrc/gpcsw/gpcsrc/fits/burntool/stardetect.c
r42724 r42803 34 34 starcut = STAR_THRESH/2 + cell->sky + cell->bias; 35 35 36 /*try a new value for thresh_lo which is 1 sigmas above the background, but with a safety limit of 1000 counts*/36 /*try a new value for thresh_lo which is 10 sigmas above the background, but with a safety limit of 1000 counts*/ 37 37 trailthresh = cell->sky + (10*cell->rms); 38 38 if(trailthresh <= 1000) trailthresh = 1000; 39 39 trailthresh = trailthresh + cell->bias; 40 thresh_lo = trailthresh; 41 42 /*try a new value for burnthresh which is twice the bias above the sky background, but with a safety limit of 30000 counts*/ 43 burnthresh = cell->sky + (2*cell->bias); 44 if(burnthresh <= BURN_THRESH) burnthresh = BURN_THRESH; 45 thresh_hi = burnthresh; 40 46 41 47 /* Look at all the pixels which pass the burn threshold */ … … 81 87 boxbuf[nbox].ey = k-1; 82 88 grow_box(nx, ny, NX, data, thresh_lo, boxbuf+nbox); 89 83 90 /* Fill in max and center info */ 84 91 boxbuf[nbox].max = 0; … … 100 107 boxbuf[nbox].ex, boxbuf[nbox].ey, 101 108 boxbuf[nbox].max); 109 fflush(stdout); 110 } 111 /* Mark the veto mask so as not to trigger on this one again */ 112 for(l=boxbuf[nbox].sy; l<=boxbuf[nbox].ey; l++) { 113 for(k=boxbuf[nbox].sx; k<=boxbuf[nbox].ex; k++) { 114 veto[k+l*NX] = boxbuf[nbox].max; 115 } 116 } 117 xon = -1; 118 continue; 119 } 120 121 /* A box that is composed of a single pixel should not be considered a burn */ 122 if((boxbuf[nbox].ex - boxbuf[nbox].sx) <= 2 && (boxbuf[nbox].ey - boxbuf[nbox].sy) <= 2) { 123 if(VERBOSE & VERB_DETECT) { 124 printf("Ditching box %d %d %d %d for being too small\n", 125 boxbuf[nbox].sx, boxbuf[nbox].sy, 126 boxbuf[nbox].ex, boxbuf[nbox].ey); 102 127 fflush(stdout); 103 128 } -
branches/eam_branches/ipp-ppmerge-20241229/extsrc/gpcsw/gpcsrc/fits/burntool/trailfit.c
r42724 r42803 290 290 291 291 if(!strcmp(camera,"gpc2")) { 292 293 292 /*Conpute the mean and standard deviation of the trail along x*/ 294 293 for(i=xs; i<=xe; i++) { … … 384 383 } 385 384 /* Update fit ranges */ 386 if(box->nfit > 0) {385 if(box->nfit > 1) { 387 386 box->sxfit = box->xfit[0]; 388 387 box->exfit = box->xfit[box->nfit-1]; -
branches/eam_branches/ipp-ppmerge-20241229/ippMonitor
- Property svn:mergeinfo changed
/trunk/ippMonitor (added) merged: 42790-42791,42794-42795,42798
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-ppmerge-20241229/ippMonitor/INSTALL
r42384 r42803 39 39 # $CZARPLOTDIR and $METRICSPLOTDIR will be generated as links in the same folder as ippMonitor 40 40 # the structure of the names for these two directories are defined in Makefile.in a 41 psconfigure --htdocs /var/www/localhost/htdocs --wwwbin /var/www/localhost/wwwbin --pltdir /some/path --site ~/ippconfig/ippmonitor.config 41 # pltdir is for ippMetrics and czartool_plots hyperlinked from /export/ipp113.0/ipp/ in /var/www/localhost/htdocs/ippMonitor 42 # pltdir in ipp117 is /var/www/localhost/htdocs/ippMonitor 43 # ippMetrics -> /export/ipp113.0/ipp/ippMetrics/ 44 # czartool_plots -> /export/ipp113.0/ipp/czartool_plots/ 45 psconfigure --htdocs /var/www/localhost/htdocs --wwwbin /var/www/localhost/wwwbin --pltdir /var/www/localhost/htdocs/ippMonitor --site ~/ippconfig/ippmonitor.config 42 46 43 47 ## NOTES: -
branches/eam_branches/ipp-ppmerge-20241229/ippMonitor/Makefile.in
r42736 r42803 92 92 $(DESTWWW)/scatterPlotAirmassMcal.php \ 93 93 $(DESTWWW)/scatterPlotDataQuality.php \ 94 $(DESTWWW)/dataquality.php \ 95 $(DESTWWW)/pointing.php \ 94 96 $(DESTWWW)/loader.js 95 97 -
branches/eam_branches/ipp-ppmerge-20241229/ippMonitor/czartool/czarpoll.pl
r41302 r42803 380 380 } 381 381 382 # check ippdb host IPP-2338 383 print "* Checking ippdb hosts\n"; 384 my @hosts = qw(ipphome0 ipphome1 ippdb01 ippdb05 ippdb06 ippdb09 ippdb11 ippdb12 ippdb13 ippdb14); 385 if($dbupdate == 1) {check_disk_usage_and_update($czarDb, @hosts);} 386 382 387 # check pantasks status 383 388 if($dbupdate == 1) {updateServerStatus();} … … 604 609 } 605 610 611 ########################################################################### 612 # 613 # Loops through given host and update to the host list 614 # 615 ########################################################################### 616 sub check_disk_usage_and_update { 617 my ($czarDb, @hosts) = @_; 618 619 foreach my $host (@hosts) { 620 print "Checking $host...\n"; 621 622 for my $suffix (0, 1) { 623 my $mount_point = "/export/$host.$suffix"; 624 625 # Use SSH to get disk stats 626 my $df_output = `ssh $host df -k $mount_point 2>/dev/null`; 627 628 #if (!$df_output || $df_output !~ /\d/) { 629 # warn "Failed to get disk usage for $host on $mount_point\n"; 630 # next; 631 #} 632 633 my @lines = split /\n/, $df_output; 634 my $line = $lines[1] || next; 635 636 my ($filesystem, $blocks, $used, $available, $percent, $mount) = split /\s+/, $line; 637 638 # Convert KB to TB 639 my $total_tb = sprintf("%.1f", $blocks / 1024 / 1024 / 1024); 640 my $used_tb = sprintf("%.1f", $used / 1024 / 1024 / 1024); 641 my $available_tb = sprintf("%.1f", $available / 1024 / 1024 / 1024); 642 643 my $used_percent = sprintf("%.3f", $used / $blocks * 100); 644 my $available_percent = sprintf("%.3f", $available / $blocks * 100); 645 646 my $readable = 1; 647 my $writable = 1; 648 649 #print "Mount $mount_point: total=${total_tb}TB, used=${used_tb}TB (${used_percent}%), available=${available_tb}TB (${available_percent}%)\n"; 650 651 # Example: ippdb01.0(3.5T) 652 my $host_label = "$host.$suffix(${total_tb}T)"; 653 $czarDb->updateHost($host_label, 100, $available_percent, $used_percent, $readable, $writable); 654 } 655 } 656 } -
branches/eam_branches/ipp-ppmerge-20241229/ippMonitor/czartool/czartool/Nebulous.pm
r39805 r42803 111 111 112 112 next; 113 } elsif (($line =~ m/(ipp[0-9]+ \.[0-9]{1})\s.+[0-9]+\s+([0-9]+)\s+([0-9]+)\s+([0-9]+)%.*/i)||113 } elsif (($line =~ m/(ipp[0-9]+(?:_bck)?\.[0-9]{1})\s.+[0-9]+\s+([0-9]+)\s+([0-9]+)\s+([0-9]+)%.*/i)|| 114 114 ($line =~ m/(ippb[0-9]+\.[0-9]{1})\s.+[0-9]+\s+([0-9]+)\s+([0-9]+)\s+([0-9]+)%.*/i) 115 115 # these nodes are gone -
branches/eam_branches/ipp-ppmerge-20241229/ippMonitor/czartool/czartool/Pantasks.pm
r41558 r42803 10 10 "cleanup", 11 11 "distribution", 12 " pstamp",12 "ippitc:pstamp", 13 13 "registration", 14 14 "stack", … … 22 22 "ippqub:stdscience_ws", 23 23 "ippqub2:stdscience_ws", 24 "ippsky:stdscience_ipp138", 24 25 "publishing", 25 26 "replication", … … 27 28 ); 28 29 # current home dir of gpc1 and gpc2 29 my $ipphome1 = "/home/panstarrs/ipp itc";30 my $ipphome1 = "/home/panstarrs/ippps1"; 30 31 my $ipphome2 = "/home/panstarrs/ippps2"; 31 32 -
branches/eam_branches/ipp-ppmerge-20241229/ippMonitor/czartool/extra_labels.dat
r41125 r42803 1 1 ## TdB20190626: add extra labels for processing in this file. Syntax is as follows: [labelname] [telescope] 2 2 ## Priorities for the labels must be added to the priorities mySQL table for the relevant telescope, if desired. 3 PV3.Pole.Reprocess.20180510 gpc13 ## PV3.Pole.Reprocess.20180510 gpc1 4 4 ps_ud_QUB gpc1 5 ## update.ipp138.fix gpc1 6 ## update.ipp138.fix gpc2 -
branches/eam_branches/ipp-ppmerge-20241229/ippMonitor/raw/czartool_labels.php
r42736 r42803 87 87 "distribution", 88 88 "ippqub:stdscience_ws", 89 " pstamp",89 "ippitc:pstamp", 90 90 "registration", 91 91 // "stack", … … 1668 1668 $qry = $db->query($sql); 1669 1669 if (dberror($qry)) {echo "<b>error with $sql </b><br>\n";} 1670 1671 // Set environment variables 1672 putenv("PATH=/usr/local/bin:/usr/bin:/bin:/data/ippc65.0/ipp/src/psconfig//ipp-20210708-gentoo.lin64/bin"); 1673 putenv("PERL5LIB=/data/ippc65.0/ipp/src/psconfig//ipp-20210708-gentoo.lin64/lib"); 1674 1670 1675 # not sure why neb-host doesn't work on ipp113 CCL.20210216 1671 1676 exec("neb-host |cut -b 17-30,86-", $hostnoteall); -
branches/eam_branches/ipp-ppmerge-20241229/ippMonitor/raw/ipp.czar.dat
r42276 r42803 5 5 menulink | menuselect | link | czartool | czartool_labels.php 6 6 menulink | menuselect | link | storage status | storage.php 7 menulink | menuselect | link | pointing | pointing.php 8 menulink | menuselect | link | data quality | dataquality.php 7 9 menulink | menuselect | link | mask stats | maskStats.php 8 10 menulink | menuselect | link | night summary | nightSummary.php -
branches/eam_branches/ipp-ppmerge-20241229/ippMonitor/raw/ipp.php
r42736 r42803 982 982 } 983 983 984 985 986 984 ?> -
branches/eam_branches/ipp-ppmerge-20241229/ippMonitor/scripts/czartool_getServerStatus.pl
r41726 r42803 19 19 20 20 if ($proj eq 'gpc1') { 21 $user = 'ipp itc';21 $user = 'ippps1'; 22 22 } else { 23 23 $user = 'ippps2'; 24 } 25 26 my @cmdOut3 = `grep PANTASKS_SERVER ~$user/$server/ptolemy.rc |grep -v std | grep -v PORT 2>&1`; 27 my $line3; 28 foreach $line3 (@cmdOut3) { 29 chomp($line3); 30 print "$line3 \n"; 24 31 } 25 32 … … 40 47 my @fields = split /\s+/, $line2; 41 48 49 42 50 # run job example 43 51 # field0 1 2 3 4 5 6 7 8 … … 50 58 $nline = $nline + 1; 51 59 } 60 61 -
branches/eam_branches/ipp-ppmerge-20241229/ippTasks/mergedvodb.pro
r33030 r42803 7 7 8 8 9 #There is a book for each task, because I don 't use labels.9 #There is a book for each task, because I dont use labels. 10 10 11 11 if (not($?havemergedvodbBooks)) … … 44 44 end 45 45 46 ## you get no choice - you add all of them in at the same time. you can always turn off the tasks you don 't want to run.46 ## you get no choice - you add all of them in at the same time. you can always turn off the tasks you dont want to run. 47 47 macro add.mergedvodb 48 48 if ($0 != 2) -
branches/eam_branches/ipp-ppmerge-20241229/ippTasks/summit.copy.pro
r41734 r42803 49 49 macro summitcopy.reset 50 50 summitcopy.reset 51 end 52 53 # pzgetexp is loading exposure files to summitExp 54 macro pzgetexp.on 55 task pzgetexp 56 active true 57 end 58 end 59 60 macro pzgetexp.off 61 task pzgetexp 62 active false 63 end 51 64 end 52 65 -
branches/eam_branches/ipp-ppmerge-20241229/ippTools
- Property svn:mergeinfo changed
/trunk/ippTools (added) merged: 42796
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-ppmerge-20241229/ippTools/src
- Property svn:mergeinfo changed
/trunk/ippTools/src (added) merged: 42796
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-ppmerge-20241229/ippTools/src/pxtools.c
r34197 r42803 36 36 if (!strcmp(state, "wait")) return true; 37 37 if (!strcmp(state, "keep")) return true; 38 if (!strcmp(state, "ignore")) return true; 38 39 if (!strcmp(state, "goto_cleaned")) return true; 39 40 if (!strcmp(state, "error_cleaned")) return true; -
branches/eam_branches/ipp-ppmerge-20241229/ippconfig
- Property svn:mergeinfo changed
/trunk/ippconfig (added) merged: 42782
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-ppmerge-20241229/ippconfig/Makefile.am
r42729 r42803 1 TGT = $(PSCONFDIR)/$(PSCONFIG)/etc/compress.mgc 2 1 3 SUBDIRS = \ 2 4 recipes \ … … 36 38 built_files = \ 37 39 ipprc.config \ 38 dvo.site 40 dvo.site \ 41 $(TGT) 39 42 40 43 installdir = $(datadir)/ippconfig … … 64 67 65 68 66 TGTDIR = $(PSCONFDIR)/$(PSCONFIG)/etc67 SRC = compress68 TGT = $(TGTDIR)/compress.mgc69 70 install: $(TGT)71 build: $(MGC)72 69 73 70 if HAVE_LINUX -
branches/eam_branches/ipp-ppmerge-20241229/ppImage
- Property svn:mergeinfo changed
/trunk/ppImage (added) merged: 42781
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-ppmerge-20241229/ppImage/src/ppImageBurntoolApply.c
r42395 r42803 226 226 /* do separate masking strategy for old (14 and lower) and new burntool tables*/ 227 227 if (BURNTOOL_STATE_GOOD >= 15) { 228 printf("DET: New burntool style %d\n",BURNTOOL_STATE_GOOD);228 /*printf("DET: New burntool style %d\n",BURNTOOL_STATE_GOOD);*/ 229 229 for (int i = box->sxfit; i<= box->exfit; i++) { 230 230 if (box->up == 0) { … … 248 248 249 249 } else { 250 printf("DET: Old burntool style %d\n",BURNTOOL_STATE_GOOD);250 /* printf("DET: Old burntool style %d\n",BURNTOOL_STATE_GOOD);*/ 251 251 for (int i = box->sxfit; i<= box->exfit; i++) { 252 252 if (box->up == 0) { -
branches/eam_branches/ipp-ppmerge-20241229/psLib
- Property svn:mergeinfo changed
/trunk/psLib (added) merged: 42786-42787,42789
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-ppmerge-20241229/psLib/src/db/psDB.c
r42771 r42803 1039 1039 fieldCount = mysql_num_fields(result); 1040 1040 1041 psTrace("psLib.db", PS_LOG_INFO, "query returned %lu rows with %d fields", rowCount, fieldCount);1041 psTrace("psLib.db", PS_LOG_INFO, "query returned %lu rows with %d fields", (long unsigned int) rowCount, fieldCount); 1042 1042 1043 1043 while ((row = mysql_fetch_row(result))) { -
branches/eam_branches/ipp-ppmerge-20241229/psconfig
- Property svn:mergeinfo changed
/trunk/psconfig (added) merged: 42801
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-ppmerge-20241229/psconfig/tagsets/ipp-ubuntu.dist
r42726 r42803 68 68 YYYYY ippScripts ipp-2-9 -0 69 69 YYYYY ippTasks ipp-2-9 -0 70 #YNYYY ippToPsps ipp-2-9 -0 : moved to $svn/psps70 YNYYY ippToPsps ipp-2-9 -0 : moved to $svn/psps 71 71 72 72 YNYYN psconfig ipp-2-9 -0 … … 81 81 82 82 YYYYY extsrc/gpcsw ipp-2-9 -0 83 # YYYYY magic ipp-2-9 -084 # YYYYY magic/censorObjects ipp-2-9 -085 # YYYYY magic/remove ipp-2-9 -086 Y YYYY console ipp-2-9 -083 YNYYY magic ipp-2-9 -0 84 YNYYY magic/censorObjects ipp-2-9 -0 85 YNYYY magic/remove ipp-2-9 -0 86 YNYYY console ipp-2-9 -0 87 87 88 88 # there are externally required C libraries and perl modules (see INSTALL)
Note:
See TracChangeset
for help on using the changeset viewer.
