Go to the documentation of this file.
23 if ((sp == 0) && (ep ==
l1file->npix - 1) &&
dp == 1)
26 if (sp > ep || dp < 1 || dp > (ep - sp + 1)) {
28 "-E- %s Line %d: subpixel specification error (sp=%d,ep=%d,dp=%d).\n",
29 __FILE__, __LINE__, sp, ep,
dp);
37 l1rec->npix = ep - sp + 1;
41 memmove(
l1rec->pixnum, &
l1rec->pixnum[sp],
l1rec->npix * sizeof (int32_t));
42 memmove(
l1rec->slot, &
l1rec->slot [sp],
l1rec->npix * sizeof (
unsigned char));
43 memmove(
l1rec->nobs, &
l1rec->nobs [sp],
l1rec->npix * sizeof (int32_t));
47 memmove(
l1rec->solz, &
l1rec->solz[sp], length);
48 memmove(
l1rec->sola, &
l1rec->sola[sp], length);
49 memmove(
l1rec->senz, &
l1rec->senz[sp], length);
50 memmove(
l1rec->sena, &
l1rec->sena[sp], length);
52 memmove(
l1rec->alpha, &
l1rec->alpha[sp], length);
53 memmove(
l1rec->height, &
l1rec->height[sp], length);
54 memmove(
l1rec->flags, &
l1rec->flags[sp],
l1rec->npix * sizeof (int32_t));
56 memmove(
l1rec->stlight, &
l1rec->stlight[sp],
l1rec->npix * sizeof (
char));
57 memmove(
l1rec->navfail, &
l1rec->navfail[sp],
l1rec->npix * sizeof (
char));
58 memmove(
l1rec->navwarn, &
l1rec->navwarn[sp],
l1rec->npix * sizeof (
char));
72 memmove(
l1rec->rho_cirrus, &
l1rec->rho_cirrus[sp], length);
75 memmove(
l1rec->geom_per_band->senz,
77 memmove(
l1rec->geom_per_band->sena,
79 memmove(
l1rec->geom_per_band->solz,
81 memmove(
l1rec->geom_per_band->sola,
86 memmove(
l1rec->pixdet, &
l1rec->pixdet[sp],
l1rec->npix * sizeof (int32_t));
93 l1rec->npix = (ep - sp) /
dp + 1;
int32 l1file(int32 sdfid, int32 *nsamp, int32 *nscans, int16 *dtynum)
int l1subpix(filehandle *l1file, l1str *l1rec)