OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
GEO_aggregate.c File Reference
#include "GEO_geo.h"
#include "GEO_earth.h"
#include "GEO_output.h"
#include "GEO_product.h"
#include "GEO_global_arrays.h"
#include "PGS_MODIS_35251.h"
#include "PGS_SMF.h"
#include "PGS_CSC.h"
#include "smfio.h"
Include dependency graph for GEO_aggregate.c:

Go to the source code of this file.

Functions

PGSt_SMF_status GEO_aggregate (int32 EV_frames, uint16 N_samp, double hires_scale, unsigned char sample_flags[][MAX_PADDED], double ecr_sample_position[][MAX_PADDED][3], double ecr_sc_sample_position[][3], double terrain_sample_position[][MAX_PADDED][3], uint32 sample_quality[][QFL_IDXS], uint8 sample_landsea[][MAX_PADDED], double ecr_frame_position[][MAX_FRAMES][3], double terrain_frame_position[][MAX_FRAMES][3], uint8 frame_flags[][MAX_FRAMES], double ecr_sc_frame_position[MAX_FRAMES][3], int8 hires_offsets[][DETECTORS_QKM][SAMPLES_QKM], uint32 frame_quality[][MAX_FRAMES], uint8 frame_landsea[][MAX_FRAMES], uint8 frame_waterpresent[][MAX_FRAMES])
 

Function Documentation

◆ GEO_aggregate()

PGSt_SMF_status GEO_aggregate ( int32  EV_frames,
uint16  N_samp,
double  hires_scale,
unsigned char  sample_flags[][MAX_PADDED],
double  ecr_sample_position[][MAX_PADDED][3],
double  ecr_sc_sample_position[][3],
double  terrain_sample_position[][MAX_PADDED][3],
uint32  sample_quality[][QFL_IDXS],
uint8  sample_landsea[][MAX_PADDED],
double  ecr_frame_position[][MAX_FRAMES][3],
double  terrain_frame_position[][MAX_FRAMES][3],
uint8  frame_flags[][MAX_FRAMES],
double  ecr_sc_frame_position[MAX_FRAMES][3],
int8  hires_offsets[][DETECTORS_QKM][SAMPLES_QKM],
uint32  frame_quality[][MAX_FRAMES],
uint8  frame_landsea[][MAX_FRAMES],
uint8  frame_waterpresent[][MAX_FRAMES] 
)

C****************************************************************************

!Description:

!Input Parameters: EV_frames Number of frames of data to process. N_samp Samples per frame for high-resolution band. hires_scale Scale factor for high resolution offsets (km) sample_flags High resolution quality/error flags ecr_sample_position High resolution ground position, ECR coordinates ecr_sc_sample_position High resolution spacecraft position, ECR coords terrain_sample_position High resolution ground position, geodetic "" sample_quality High resolution ephemeris/attitude quality flags

!Output Parameters: ecr_frame_position Low resolution ground position, ECR coordinates terrain_frame_position Low resolution ground position, geodetic "" frame_flags Low resolution quality/error flags ecr_sc_frame_position Low resolution spacecraft position, ECR coords hires_offsets High resolution offsets. frame_quality Low resolution ephemeris/attitude quality flags

Return Values: MODIS_E_BAD_INPUT_ARG If any pointer parameter is NULL MODIS_E_GEO If GEO_hires() fails. PGS_S_SUCCESS Otherwise

Externally Defined: ATT_IDX "GEO_global_arrays.h" COAST "GEO_geo.h" DETECTORS_QKM "GEO_geo.h" DRYLAND "GEO_geo.h" EARTH_MODEL "GEO_earth.h" EPH_IDX "GEO_global_arrays.h" EPH_LONG_FOLLOW "GEO_product.h" EPH_LONG_PRECEED "GEO_product.h" EPH_SHORT_FOLLOW "GEO_product.h" PEH_SHORT_PRECEED "GEO_product.h" GEO_DOUBLE_FILLVALUE "GEO_output.h" HT_IDX "GEO_global_arrays.h" MAX_FRAMES "GEO_geo.h" MODIS_E_BAD_INPUT_ARG "PGS_MODIS_35251.h" MODIS_E_GEO "GEO_geo.h" NO_ELLIPSE_INTERSECT "GEO_geo.h" MAX_PADDED "GEO_geo.h" PGS_S_SUCCESS "PGS_SMF.h" SAMPLES_QKM "GEO_geo.h"

Called by: GEO_locate_one_scan "GEO_output.h"

Routines Called: GEO_aggregate_lw() "GEO_aggregate.c" GEO_get_geoid() "GEO_earth.h" GEO_hires "GEO_earth.h" modsmf "smfio.h" PGS_CSC_ECRtoGEO "PGS_CSC.h" PGS_CSC_GEOtoECR "PGS_CSC.h"

!Revision History: See top of file.

!Team-unique Header: This software is developed by the MODIS Science Data Support Team for the National Aeronautics and Space Administration, Goddard Space Flight Center, under contract NAS5-32373.

References and Credits N/A

Design Notes !END**************************************************************************

Definition at line 147 of file GEO_aggregate.c.