456 |
|
if (o_header) { /* finish header? */ |
457 |
|
printf("NROWS=%d\n", no_rows); |
458 |
|
printf("NCOLS=%d\n", no_columns); |
459 |
+ |
fputformat(fmtid, stdout); |
460 |
|
fputc('\n', stdout); |
461 |
|
} |
462 |
|
/* reorder records */ |
501 |
|
printf("NROWS=%d\n", no_rows); |
502 |
|
if (no_columns > 0) |
503 |
|
printf("NCOLS=%d\n", no_columns); |
504 |
+ |
fputformat(fmtid, stdout); |
505 |
|
fputc('\n', stdout); |
506 |
|
} |
507 |
|
/* sanity checks */ |
730 |
|
newheader("RADIANCE", stdout); |
731 |
|
printargs(a, argv, stdout); |
732 |
|
printf("NCOMP=%d\n", n_comp); |
731 |
– |
fputformat(fmtid, stdout); |
733 |
|
} |
734 |
|
if (transpose | check | (outLevels > 1) || (o_header && no_rows <= 0)) { |
735 |
|
MEMLOAD myMem; /* need to map into memory */ |