3 int rd_geo_scan(
int iscn, sdr_info_struc *sdr_info, in_rec_struc *in_rec)
27 st_line = iscn * in_rec->ndet_scan;
28 nlin = in_rec->ndet_scan;
32 count[1] = in_rec->npix;
34 (
void *) (in_rec->lat)) != 0) {
35 printf(
"%s, %d: lat input failed on scan: %d\n", __FILE__, __LINE__,
41 (
void *) (in_rec->lon)) != 0) {
42 printf(
"%s, %d: lon input failed on scan: %d\n", __FILE__, __LINE__,
49 for (idet = 0; idet <
nlin; idet++) {
50 for (ipix = 0; ipix < in_rec->npix; ipix++) {
51 loc = idet * in_rec->npix + ipix;
52 if (*(in_rec->lat +
loc) < in_rec->ll_lims[0])
53 in_rec->ll_lims[0] = *(in_rec->lat +
loc);
54 if (*(in_rec->lat +
loc) > in_rec->ll_lims[1])
55 in_rec->ll_lims[1] = *(in_rec->lat +
loc);
56 if ((
lon = *(in_rec->lon +
loc)) >= 0) {
57 if (lon < in_rec->ll_lims[2]) in_rec->ll_lims[2] =
lon;
58 if (
lon > in_rec->ll_lims[3]) in_rec->ll_lims[3] =
lon;
60 if (lon < in_rec->ll_lims[4]) in_rec->ll_lims[4] =
lon;
61 if (
lon > in_rec->ll_lims[5]) in_rec->ll_lims[5] =
lon;
67 (
void *) (in_rec->sena)) != 0) {
68 printf(
"%s, %d: sena input failed on scan: %d\n", __FILE__, __LINE__
74 (
void *) (in_rec->senz)) != 0) {
75 printf(
"%s, %d: senz input failed on scan: %d\n", __FILE__, __LINE__
81 (
void *) (in_rec->sola)) != 0) {
82 printf(
"%s, %d: sola input failed on scan: %d\n", __FILE__, __LINE__,
88 (
void *) (in_rec->solz)) != 0) {
89 printf(
"%s, %d: solz input failed on scan: %d\n", __FILE__, __LINE__,