- Timestamp:
- Nov 27, 2019, 11:39:38 AM (7 years ago)
- Location:
- branches/eam_branches/ipp-20191011
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20191011
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20191011/Ohana
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20191011/Ohana/src/relphot/src/relphot_objects.c
r40291 r41170 73 73 74 74 catalog.catflags = DVO_LOAD_AVERAGE | DVO_LOAD_MEASURE | DVO_LOAD_MISSING | DVO_LOAD_SECFILT; 75 // if we are going to update the format, we should update all tables 76 if (UPDATE_CATFORMAT) { 77 catalog.catflags |= DVO_LOAD_LENSING | DVO_LOAD_LENSOBJ | DVO_LOAD_STARPAR | DVO_LOAD_GALPHOT; 78 } 75 79 catalog.Nsecfilt = GetPhotcodeNsecfilt (); 76 80 … … 162 166 // we can optionally convert output format here 163 167 // but it would be better to define a dvo crawler program to do this 164 // catalog.catformat = DVO_FORMAT_PS1_V1; 168 // catalog.catformat = DVO_FORMAT_PS1_V1; 169 170 // modify the output format as desired (ignore current format on disk) 171 if (UPDATE_CATFORMAT) { 172 catalog.catformat = dvo_catalog_catformat (UPDATE_CATFORMAT); 173 } 174 165 175 SetProtect (TRUE); 166 176 if (!dvo_catalog_save (&catalog, VERBOSE)) { fprintf (stderr, "ERROR: failed to save %s\n", catalog.filename); exit (1); }
Note:
See TracChangeset
for help on using the changeset viewer.
