version 1.3, 2011/08/16 02:29:10
|
version 1.4, 2011/11/15 05:20:00
|
|
|
} | } |
if (inrecset->n == 0) | if (inrecset->n == 0) |
{ | { |
printf("ERROR: input recordset contains no records\n"); |
fprintf(stderr, "ERROR: input recordset contains no records\n"); |
return 1; | return 1; |
} | } |
if (inrecset->n > 1) | if (inrecset->n > 1) |
{ | { |
printf("ERROR: nrecs > 1 not yet supported.\n"); |
fprintf(stderr, "ERROR: nrecs > 1 not yet supported.\n"); |
return 1; | return 1; |
} | } |
| |
|
|
lmax=drms_getkey_int(inrec, "LMAX", NULL); | lmax=drms_getkey_int(inrec, "LMAX", NULL); |
if (lmin != lmax) | if (lmin != lmax) |
{ | { |
printf("ERROR: lmin != lmax not yet supported.\n"); |
fprintf(stderr, "ERROR: lmin != lmax not yet supported.\n"); |
return 0; | return 0; |
} | } |
lmode=lmin; | lmode=lmin; |