Changeset 5228
- Timestamp:
- Oct 6, 2005, 6:08:40 AM (21 years ago)
- Location:
- trunk/Ohana/src/libohana
- Files:
-
- 4 added
- 3 deleted
- 2 edited
-
Makefile (modified) (1 diff)
-
include/dvo.h (modified) (4 diffs)
-
src/dvo_catalog.c (added)
-
src/dvo_catalog_mef.c (added)
-
src/dvo_catalog_raw.c (added)
-
src/dvo_catalog_split.c (added)
-
src/phot_catalog.c (deleted)
-
src/phot_catalog_mef.c (deleted)
-
src/phot_catalog_raw.c (deleted)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/libohana/Makefile
r5014 r5228 47 47 $(SRC)/fits_db.$(ARCH).o \ 48 48 $(SRC)/photfits.$(ARCH).o \ 49 $(SRC)/dvo_image.$(ARCH).o \ 50 $(SRC)/dvo_image_raw.$(ARCH).o \ 51 $(SRC)/phot_catalog.$(ARCH).o \ 52 $(SRC)/phot_catalog_mef.$(ARCH).o \ 53 $(SRC)/phot_catalog_raw.$(ARCH).o \ 49 $(SRC)/dvo_image.$(ARCH).o \ 50 $(SRC)/dvo_image_raw.$(ARCH).o \ 51 $(SRC)/dvo_catalog.$(ARCH).o \ 52 $(SRC)/dvo_catalog_raw.$(ARCH).o \ 53 $(SRC)/dvo_catalog_mef.$(ARCH).o \ 54 $(SRC)/dvo_catalog_split.$(ARCH).o \ 54 55 $(SRC)/dvo_convert.$(ARCH).o \ 55 56 $(SRC)/dvo_convert_elixir.$(ARCH).o \ -
trunk/Ohana/src/libohana/include/dvo.h
r5014 r5228 118 118 119 119 /* a catalog contains this data */ 120 typedef struct { 121 /* description of the catalog file: */ 122 char *filename; 123 int lockmode; 124 FILE *f; 125 126 /* extra table data if needed (move these to enums?) */ 127 # if (0) 128 char catmode[10]; /* storage mode: raw, mef, split, mysql */ 129 char average_format[80]; /* table format: internal, loneos, elixir, panstarrs */ 130 char measure_format[80]; /* table format: must match average_format */ 131 char secfilt_format[80]; /* table format: must match average_format */ 132 # endif 133 134 int catmode; 135 int catformat; 136 137 /* data in the catalog */ 120 typedef struct Catalog { 121 char *filename; /* catalog file */ 122 FILE *f; /* file descriptor */ 138 123 Header header; 124 125 /* data in the catalog file */ 139 126 Average *average; 140 127 Measure *measure; … … 143 130 int Naverage, Nmeasure, Nmissing, Nsecfilt; 144 131 132 /* pointers to split data files */ 133 struct Catalog *measure_catalog; /* measure catalog data (split) */ 134 struct Catalog *missing_catalog; /* missing catalog data (split) */ 135 struct Catalog *secfilt_catalog; /* secfilt catalog data (split) */ 136 137 /* extra catalog information */ 138 int lockmode; 139 int catmode; /* storage mode (raw, mef, split, mysql) */ 140 int catformat; /* storage format (elixir, panstarrs, etc) */ 141 int ordered; /* is measure table average-ordered? */ 142 145 143 /* pointers for data manipulation */ 146 144 int *found; … … 149 147 float *X; 150 148 float *Y; 149 151 150 } Catalog; 152 151 … … 290 289 int load_catalog_mef (Catalog *catalog, char mode, int VERBOSE); 291 290 int save_catalog_mef (Catalog *catalog, char VERBOSE); 291 int load_catalog_split (Catalog *catalog, char mode, int VERBOSE); 292 int save_catalog_split (Catalog *catalog, char VERBOSE); 292 293 293 294 /*** DVO image db I/O Functions ***/
Note:
See TracChangeset
for help on using the changeset viewer.
