Go to the documentation of this file.
4 int main(int32 argc,
char *argv[]) {
13 printf(
"\n\n\nUsage: <%s> ", argv[0]);
14 printf(
"infile spix epix sscan escan pix_sub sc_sub outfile"
16 "\n\tinfile - input l1a data HDF file"
17 "\n\tspix - start pixel number"
18 "\n\tepix - end pixel number"
19 "\n\tsscan - start scan line"
20 "\n\tescan - end scan line"
21 "\n\tpix_sub - pixel subsampling rate"
22 "\n\tsc_sub - scan line subsampling rate"
23 "\n\toutfile - output file name"
24 "\n\nNOTE: Start and End pixel/scanline will be set to input file's"
25 " nsamp\n\t and nrec respectively, if the given values are out"
36 sscan = atoi(argv[4]);
37 escan = atoi(argv[5]);
38 pix_sub = atoi(argv[6]);
39 sc_sub = atoi(argv[7]);
47 printf(
"\nError: status returned = %d",
status);
52 printf(
"\nThe output file %s has been successfully generated\n", outfile);
int main(int32 argc, char *argv[])