| 1 |
+ |
#ifndef lint |
| 2 |
+ |
static const char RCSid[] = "$Id$"; |
| 3 |
+ |
#endif |
| 4 |
|
#include "pictool.h" |
| 5 |
|
#include "g3sphere.h" |
| 6 |
|
#include <math.h> |
| 87 |
|
} |
| 88 |
|
static int exp_headline(char* s,void* exparg) { |
| 89 |
|
double* exposure; |
| 90 |
+ |
if(strstr(s, EXPOSSTR) != NULL ) { |
| 91 |
+ |
fprintf(stderr,"EXP AND tab\n"); |
| 92 |
+ |
} |
| 93 |
|
|
| 94 |
|
exposure = (double*) exparg; |
| 95 |
|
if (isexpos(s)) { |
| 216 |
|
void *v |
| 217 |
|
) |
| 218 |
|
{ |
| 219 |
+ |
if(strstr(s, EXPOSSTR) != NULL && strstr(s, "\t") != NULL) { |
| 220 |
+ |
|
| 221 |
+ |
fprintf(stderr,"error: header contains invalid exposure entry!!!!\n"); |
| 222 |
+ |
fprintf(stderr,"check exposure and correct header setting !\n"); |
| 223 |
+ |
|
| 224 |
+ |
|
| 225 |
+ |
fprintf(stderr,"stopping !!!!\n"); |
| 226 |
+ |
exit(1); |
| 227 |
+ |
} |
| 228 |
|
if (isview(s) && sscanview(((struct hinfo*)v)->hv, s) > 0) { |
| 229 |
|
((struct hinfo*)v)->ok++; |
| 230 |
|
} else if (isexpos(s)) { |