ocssw
V2022
|
#include "PGS_CSC.h"
#include "smfio.h"
#include "GEO_earth.h"
#include "GEO_geo.h"
#include "PGS_MODIS_35251.h"
Go to the source code of this file.
Macros | |
#define | KILO 1000.0 |
Functions | |
PGSt_SMF_status | GEO_hires (uint16 N_samp, int padded_samples, double hires_scale, double terrain_sample_position[][MAX_PADDED][3], double ecr_sample_position[][MAX_PADDED][3], double ecr_frame_position[][MAX_FRAMES][3], uint8 sample_flags[][MAX_PADDED], uint8 frame_flags[][MAX_FRAMES], int8 hires_offsets[][DETECTORS_QKM][SAMPLES_QKM]) |
Macro Definition Documentation
◆ KILO
#define KILO 1000.0 |
Definition at line 34 of file GEO_hires.c.
Function Documentation
◆ GEO_hires()
PGSt_SMF_status GEO_hires | ( | uint16 | N_samp, |
int | padded_samples, | ||
double | hires_scale, | ||
double | terrain_sample_position[][MAX_PADDED][3], | ||
double | ecr_sample_position[][MAX_PADDED][3], | ||
double | ecr_frame_position[][MAX_FRAMES][3], | ||
uint8 | sample_flags[][MAX_PADDED], | ||
uint8 | frame_flags[][MAX_FRAMES], | ||
int8 | hires_offsets[][DETECTORS_QKM][SAMPLES_QKM] | ||
) |
C****************************************************************************
!Description:
Routine for calculating high resolution offsets that can be applied to bilinear interpolation of the low resolution positions, to give the high resolution positions.
!Input Parameters: N_samp Number of samples per frame for band padded_samples Total number of samples calculated. hires_scale Scale factor used for high resolution offsets. terrain_sample_position High resolution positions in geodetic coordinates. ecr_sample_position High resolution positions in ECR coordinates. ecr_frame_position Low resolution positions in ECR coordinates. sample_flags High resolution pixel flags frame_flags Low resolution pixel flags
!Output Parameters: hires_offsets High resolution scan, track, and height offsets.
Return values: MODIS_E_GEO_BAD_INPUT_ARG If any pointer argument is null. PGS_S_SUCCESS Otherwise
Externally Defined: DETECTORS_QKM "GEO_geo.h" DETECTORS_1KM "GEO_geo.h" INVALID_INPUT_DATA "GEO_geo.h" HIRES_FVALUE "GEO_geo.h" MAX_FRAMES "GEO_geo.h" MODIS_E_GEO_BAD_INPUT_ARG "PGS_MODIS_35251.h" MAX_PADDED "GEO_geo.h" PGS_S_SUCCESS "PGS_SMF.h"
Called by: GEO_aggregate "GEO_earth.h"
Routines Called: GEO_calculate_offsets "GEO_hires.c" GEO_triple_product "GEO_hires.c"
!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 See PDL. !END**************************************************************************
Definition at line 205 of file GEO_hires.c.