grasp_input_segment.h File Reference

This file contains segment definition. More...

#include <inttypes.h>
#include "mod_par_inv.inc"
#include "mod_par_OS.inc"

Go to the source code of this file.

Data Structures

struct  data_wl_t_
 
struct  pixel_t_
 
struct  sensor_data_t_
 
struct  edges_group_x_
 
struct  edges_group_y_
 
struct  edges_group_t_
 
struct  segment_edges_
 
struct  grasp_segment_t_
 

Typedefs

typedef struct data_wl_t_ data_wl_t
 
typedef struct pixel_t_ pixel_t
 
typedef struct sensor_data_t_ sensor_data_t
 
typedef struct edges_group_x_ edges_group_x
 
typedef struct edges_group_y_ edges_group_y
 
typedef struct edges_group_t_ edges_group_t
 
typedef struct segment_edges_ segment_edges
 
typedef struct grasp_segment_t_ grasp_segment_t
 

Functions

void grasp_segment_initialize (grasp_segment_t *segment)
 
int grasp_segment_validate (grasp_segment_t *segment)
 
int grasp_sdata_validate (sensor_data_t *sdata)
 
void grasp_segment_remove_pixel (grasp_segment_t *segment, int ipixel)
 
void grasp_segment_remove_pixels (grasp_segment_t *segment, int npixels, int *pixels)
 
void grasp_segment_set_nt (sensor_data_t *sdata, int nt)
 Set number of t dimensions in segment data. More...
 
void grasp_segment_set_nx (sensor_data_t *sdata, int nx)
 Set number of x dimensions in segment data. More...
 
void grasp_segment_set_ny (sensor_data_t *sdata, int ny)
 Set number of y dimensions in segment data. More...
 
void grasp_segment_set_npixels (sensor_data_t *sdata, int npixels)
 Set number of pixels dimensions in segment data. It has to be after set nt, nx and ny. More...
 
void grasp_segment_set_pixel_ix (sensor_data_t *sdata, int ipixel, int it)
 Set sdata->pixel[ipixel].ix. More...
 
void grasp_segment_set_pixel_iy (sensor_data_t *sdata, int ipixel, int ix)
 Set sdata->pixel[ipixel].ix. More...
 
void grasp_segment_set_pixel_it (sensor_data_t *sdata, int ipixel, int iy)
 Set sdata->pixel[ipixel].iy. More...
 
void grasp_segment_set_pixel_cloudy (sensor_data_t *sdata, int ipixel, int cloudy)
 Set sdata->pixel[ipixel].cloudy. More...
 
void grasp_segment_set_pixel_irow (sensor_data_t *sdata, int ipixel, int irow)
 Set sdata->pixel[ipixel].irow. More...
 
void grasp_segment_set_pixel_icol (sensor_data_t *sdata, int ipixel, int icol)
 Set sdata->pixel[ipixel].icol. More...
 
void grasp_segment_set_pixel_file_index (sensor_data_t *sdata, int ipixel, int file_index)
 Set sdata->pixel[ipixel].file_index. More...
 
void grasp_segment_set_pixel_x (sensor_data_t *sdata, int ipixel, float x)
 Set sdata->pixel[ipixel].x (longitude) More...
 
void grasp_segment_set_pixel_y (sensor_data_t *sdata, int ipixel, float y)
 Set sdata->pixel[ipixel].y (latitude) More...
 
void grasp_segment_set_pixel_t (sensor_data_t *sdata, int ipixel, int64_t t)
 Set sdata->pixel[ipixel].t (time) More...
 
void grasp_segment_set_pixel_out_t (sensor_data_t *sdata, int ipixel, int out_t)
 Set sdata->pixel[ipixel].out_t. More...
 
void grasp_segment_set_pixel_out_x (sensor_data_t *sdata, int ipixel, int out_x)
 Set sdata->pixel[ipixel].out_x. More...
 
void grasp_segment_set_pixel_out_y (sensor_data_t *sdata, int ipixel, int out_y)
 Set sdata->pixel[ipixel].out_y. More...
 
void grasp_segment_set_pixel_masl (sensor_data_t *sdata, int ipixel, float masl)
 Set sdata->pixel[ipixel].MASL. More...
 
void grasp_segment_set_pixel_hobs (sensor_data_t *sdata, int ipixel, float hobs)
 Set sdata->pixel[ipixel].HOBS. More...
 
void grasp_segment_set_pixel_land_percent (sensor_data_t *sdata, int ipixel, float land_percent)
 Set sdata->pixel[ipixel].land_percent. More...
 
void grasp_segment_set_pixel_nwl (sensor_data_t *sdata, int ipixel, int nwl)
 Set sdata->pixel[ipixel].nwl. More...
 
void grasp_segment_set_pixel_ifgas (sensor_data_t *sdata, int ipixel, int ifgas)
 Set sdata->pixel[ipixel].ifgas. More...
 
void grasp_segment_set_pixel_hvp (sensor_data_t *sdata, int ipixel, int ivm, float hvp)
 Set sdata->pixel[ipixel].HVP[ivm]. More...
 
void grasp_segment_set_pixel_meas_wl (sensor_data_t *sdata, int ipixel, int iwl, float wl)
 Set sdata->pixel[ipixel].meas[iwl].wl. More...
 
void grasp_segment_set_pixel_meas_ind_wl (sensor_data_t *sdata, int ipixel, int iwl, float ind_wl)
 Set sdata->pixel[ipixel].meas[iwl].ind_wl. More...
 
void grasp_segment_set_pixel_meas_nsurf (sensor_data_t *sdata, int ipixel, int iwl, int nsurf)
 Set sdata->pixel[ipixel].meas[iwl].Nsurf. More...
 
void grasp_segment_set_pixel_meas_gaspar (sensor_data_t *sdata, int ipixel, int iwl, float gaspar)
 Set sdata->pixel[ipixel].meas[iwl].gaspar. More...
 
void grasp_segment_set_pixel_meas_sza (sensor_data_t *sdata, int ipixel, int iwl, float sza)
 Set sdata->pixel[ipixel].meas[iwl].sza. More...
 
void grasp_segment_set_pixel_meas_groundpar (sensor_data_t *sdata, int ipixel, int iwl, int isurf, float groundpar)
 Set sdata->pixel[ipixel].meas[iwl].groundpar[isurf]. More...
 
void grasp_segment_set_pixel_meas_nip (sensor_data_t *sdata, int ipixel, int iwl, int nip)
 Set sdata->pixel[ipixel].meas[iwl].nip. More...
 
void grasp_segment_set_pixel_meas_meas_type (sensor_data_t *sdata, int ipixel, int iwl, int ip, int meas_type)
 Set sdata->pixel[ipixel].meas[iwl].meas_type[ip]. More...
 
void grasp_segment_set_pixel_meas_nbvm (sensor_data_t *sdata, int ipixel, int iwl, int ip, int nbvm)
 Set sdata->pixel[ipixel].meas[iwl].nbvm[ip]
More...
 
void grasp_segment_set_pixel_meas_ifcov (sensor_data_t *sdata, int ipixel, int iwl, int ip, int ifcov)
 Set sdata->pixel[ipixel].meas[iwl].IFCOV[ip]. More...
 
void grasp_segment_set_pixel_meas_ifmp (sensor_data_t *sdata, int ipixel, int iwl, int ip, int ifmp)
 Set sdata->pixel[ipixel].meas[iwl].IFMP[ip]. More...
 
void grasp_segment_set_pixel_meas_thetav (sensor_data_t *sdata, int ipixel, int iwl, int ip, int ivalidmeas, float thetav)
 Set sdata->pixel[ipixel].meas[iwl].thetav[ip][ivalidmeas]. More...
 
void grasp_segment_set_pixel_meas_phi (sensor_data_t *sdata, int ipixel, int iwl, int ip, int ivalidmeas, float phi)
 Set sdata->pixel[ipixel].meas[iwl].phi[ip][ivalidmeas]. More...
 
void grasp_segment_set_pixel_meas_cmtrx (sensor_data_t *sdata, int ipixel, int iwl, int ip, int ivalidmeas, float cmtrx)
 Set sdata->pixel[ipixel].meas[iwl].CMTRX[ip][ivalidmeas]. More...
 
void grasp_segment_set_pixel_meas_mprof (sensor_data_t *sdata, int ipixel, int iwl, int ip, int ivalidmeas, float mprof)
 Set sdata->pixel[ipixel].meas[iwl].MPROF[ip][ivalidmea]. More...
 
void grasp_segment_set_pixel_meas_aod (sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas, float tod)
 Set sdata->pixel[ipixel].meas[iwl].tod[ivalidmeas]. More...
 
void grasp_segment_set_pixel_meas_tod (sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas, float aod)
 Set sdata->pixel[ipixel].meas[iwl].aod[ivalidmeas]. More...
 
void grasp_segment_set_pixel_meas_aaod (sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas, float aaod)
 Set sdata->pixel[ipixel].meas[iwl].aaod[ivalidmeas]. More...
 
void grasp_segment_set_pixel_meas_htod (sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas, float htod)
 Set sdata->pixel[ipixel].meas[iwl].htod[ivalidmeas]. More...
 
void grasp_segment_set_pixel_meas_p11 (sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas, float p11)
 Set sdata->pixel[ipixel].meas[iwl].p11[ivalidmeas]. More...
 
void grasp_segment_set_pixel_meas_p12 (sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas, float p12)
 Set sdata->pixel[ipixel].meas[iwl].p12[ivalidmeas]. More...
 
void grasp_segment_set_pixel_meas_p22 (sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas, float p22)
 Set sdata->pixel[ipixel].meas[iwl].p22[ivalidmeas]. More...
 
void grasp_segment_set_pixel_meas_p33 (sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas, float p33)
 Set sdata->pixel[ipixel].meas[iwl].p33[ivalidmeas]. More...
 
void grasp_segment_set_pixel_meas_p34 (sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas, float p34)
 Set sdata->pixel[ipixel].meas[iwl].p34[ivalidmeas]. More...
 
void grasp_segment_set_pixel_meas_p44 (sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas, float p44)
 Set sdata->pixel[ipixel].meas[iwl].p44[ivalidmeas]. More...
 
void grasp_segment_set_pixel_meas_p11_rel_ang (sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas, float p11_rel_ang)
 Set sdata->pixel[ipixel].meas[iwl].p11_rel_ang[ivalidmeas]. More...
 
void grasp_segment_set_pixel_meas_p12_rel (sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas, float p12_rel)
 Set sdata->pixel[ipixel].meas[iwl].p12_rel[ivalidmeas]. More...
 
void grasp_segment_set_pixel_meas_i (sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas, float i)
 Set sdata->pixel[ipixel].meas[iwl].I[ivalidmeas]. More...
 
void grasp_segment_set_pixel_meas_q (sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas, float q)
 Set sdata->pixel[ipixel].meas[iwl].Q[ivalidmeas]. More...
 
void grasp_segment_set_pixel_meas_u (sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas, float u)
 Set sdata->pixel[ipixel].meas[iwl].U[ivalidmeas]. More...
 
void grasp_segment_set_pixel_meas_p (sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas, float p)
 Set sdata->pixel[ipixel].meas[iwl].P[ivalidmeas]. More...
 
void grasp_segment_set_pixel_meas_p11_intd (sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas, float p11_intd)
 Set sdata->pixel[ipixel].meas[iwl].P11_intd[ivalidmeas]. More...
 
void grasp_segment_set_pixel_meas_p11_intd_cut_off_1 (sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas, float p11_intd_cut_off_1)
 Set sdata->pixel[ipixel].meas[iwl].P11_intd_cut_off_1[ivalidmeas]. More...
 
void grasp_segment_set_pixel_meas_p11_intd_cut_off_2 (sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas, float p11_intd_cut_off_2)
 Set sdata->pixel[ipixel].meas[iwl].P11_intd_cut_off_2[ivalidmeas]. More...
 
void grasp_segment_set_pixel_meas_p11_intd_cut_off_3 (sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas, float p11_intd_cut_off_3)
 Set sdata->pixel[ipixel].meas[iwl].P11_intd_cut_off_3[ivalidmeas]. More...
 
void grasp_segment_set_pixel_meas_p11_intd_cut_off_4 (sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas, float p11_intd_cut_off_4)
 Set sdata->pixel[ipixel].meas[iwl].P11_intd_cut_off_4[ivalidmeas]. More...
 
void grasp_segment_set_pixel_meas_i_rel_sum (sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas, float i_rel_sum)
 Set sdata->pixel[ipixel].meas[iwl].i_rel_sum[ivalidmeas]. More...
 
void grasp_segment_set_pixel_meas_p_rel (sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas, float p_rel)
 Set sdata->pixel[ipixel].meas[iwl].p_rel[ivalidmeas]. More...
 
void grasp_segment_set_pixel_meas_ls (sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas, float ls)
 Set sdata->pixel[ipixel].meas[iwl].LS[ivalidmeas]. More...
 
void grasp_segment_set_pixel_meas_dp (sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas, float dp)
 Set sdata->pixel[ipixel].meas[iwl].DP[ivalidmeas]. More...
 
void grasp_segment_set_pixel_meas_dpar (sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas, float dpar)
 Set sdata->pixel[ipixel].meas[iwl].DPAR[ivalidmeas]. More...
 
void grasp_segment_set_pixel_meas_dper (sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas, float dper)
 Set sdata->pixel[ipixel].meas[iwl].DPER[ivalidmeas]. More...
 
void grasp_segment_set_pixel_meas_rl (sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas, float rl)
 Set sdata->pixel[ipixel].meas[iwl].RL[ivalidmeas]. More...
 
void grasp_segment_set_pixel_meas_vbs (sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas, float vbs)
 Set sdata->pixel[ipixel].meas[iwl].VBS[ivalidmeas]. More...
 
void grasp_segment_set_pixel_meas_vext (sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas, float vext)
 Set sdata->pixel[ipixel].meas[iwl].VEXT[ivalidmeas]. More...
 
int grasp_segment_get_nt (const sensor_data_t *sdata)
 
int grasp_segment_get_nx (const sensor_data_t *sdata)
 
int grasp_segment_get_ny (const sensor_data_t *sdata)
 
int grasp_segment_get_npixels (const sensor_data_t *sdata)
 
int grasp_segment_get_pixel_it (const sensor_data_t *sdata, int ipixel)
 
int grasp_segment_get_pixel_ix (const sensor_data_t *sdata, int ipixel)
 
int grasp_segment_get_pixel_iy (const sensor_data_t *sdata, int ipixel)
 
int grasp_segment_get_pixel_cloudy (const sensor_data_t *sdata, int ipixel)
 
int grasp_segment_get_pixel_irow (const sensor_data_t *sdata, int ipixel)
 
int grasp_segment_get_pixel_icol (const sensor_data_t *sdata, int ipixel)
 
int grasp_segment_get_pixel_file_index (const sensor_data_t *sdata, int ipixel)
 
float grasp_segment_get_pixel_x (const sensor_data_t *sdata, int ipixel)
 
float grasp_segment_get_pixel_y (const sensor_data_t *sdata, int ipixel)
 
int64_t grasp_segment_get_pixel_t (const sensor_data_t *sdata, int ipixel)
 
int grasp_segment_get_pixel_out_t (const sensor_data_t *sdata, int ipixel)
 
int grasp_segment_get_pixel_out_x (const sensor_data_t *sdata, int ipixel)
 
int grasp_segment_get_pixel_out_y (const sensor_data_t *sdata, int ipixel)
 
float grasp_segment_get_pixel_masl (const sensor_data_t *sdata, int ipixel)
 
float grasp_segment_get_pixel_hobs (const sensor_data_t *sdata, int ipixel)
 
float grasp_segment_get_pixel_land_percent (const sensor_data_t *sdata, int ipixel)
 
int grasp_segment_get_pixel_nwl (const sensor_data_t *sdata, int ipixel)
 
int grasp_segment_get_pixel_ifgas (const sensor_data_t *sdata, int ipixel)
 
float grasp_segment_get_pixel_hvp (const sensor_data_t *sdata, int ipixel, int ivm)
 
float grasp_segment_get_pixel_meas_wl (const sensor_data_t *sdata, int ipixel, int iwl)
 
float grasp_segment_get_pixel_meas_ind_wl (const sensor_data_t *sdata, int ipixel, int iwl)
 
int grasp_segment_get_pixel_meas_nsurf (const sensor_data_t *sdata, int ipixel, int iwl)
 
float grasp_segment_get_pixel_meas_gaspar (const sensor_data_t *sdata, int ipixel, int iwl)
 
float grasp_segment_get_pixel_meas_sza (const sensor_data_t *sdata, int ipixel, int iwl)
 
float grasp_segment_get_pixel_meas_groundpar (const sensor_data_t *sdata, int ipixel, int iwl, int isurf)
 
int grasp_segment_get_pixel_meas_nip (const sensor_data_t *sdata, int ipixel, int iwl)
 
int grasp_segment_get_pixel_meas_meas_type (const sensor_data_t *sdata, int ipixel, int iwl, int ip)
 
int grasp_segment_get_pixel_meas_nbvm (const sensor_data_t *sdata, int ipixel, int iwl, int ip)
 
int grasp_segment_get_pixel_meas_ifcov (const sensor_data_t *sdata, int ipixel, int iwl, int ip)
 
int grasp_segment_get_pixel_meas_ifmp (const sensor_data_t *sdata, int ipixel, int iwl, int ip)
 
float grasp_segment_get_pixel_meas_thetav (const sensor_data_t *sdata, int ipixel, int iwl, int ip, int ivalidmeas)
 
float grasp_segment_get_pixel_meas_phi (const sensor_data_t *sdata, int ipixel, int iwl, int ip, int ivalidmeas)
 
float grasp_segment_get_pixel_meas_cmtrx (const sensor_data_t *sdata, int ipixel, int iwl, int ip, int ivalidmeas)
 
float grasp_segment_get_pixel_meas_mprof (const sensor_data_t *sdata, int ipixel, int iwl, int ip, int ivalidmeas)
 
float grasp_segment_get_pixel_meas_tod (const sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas)
 
float grasp_segment_get_pixel_meas_aod (const sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas)
 
float grasp_segment_get_pixel_meas_aaod (const sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas)
 
float grasp_segment_get_pixel_meas_htod (const sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas)
 
float grasp_segment_get_pixel_meas_p11 (const sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas)
 
float grasp_segment_get_pixel_meas_p12 (const sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas)
 
float grasp_segment_get_pixel_meas_p22 (const sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas)
 
float grasp_segment_get_pixel_meas_p33 (const sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas)
 
float grasp_segment_get_pixel_meas_p34 (const sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas)
 
float grasp_segment_get_pixel_meas_p44 (const sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas)
 
float grasp_segment_get_pixel_meas_p11_rel_ang (const sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas)
 
float grasp_segment_get_pixel_meas_p12_rel (const sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas)
 
float grasp_segment_get_pixel_meas_i (const sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas)
 
float grasp_segment_get_pixel_meas_q (const sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas)
 
float grasp_segment_get_pixel_meas_u (const sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas)
 
float grasp_segment_get_pixel_meas_p (const sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas)
 
float grasp_segment_get_pixel_meas_i_rel_sum (const sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas)
 
float grasp_segment_get_pixel_meas_p_rel (const sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas)
 
float grasp_segment_get_pixel_meas_ls (const sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas)
 
float grasp_segment_get_pixel_meas_dp (const sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas)
 
float grasp_segment_get_pixel_meas_rl (const sensor_data_t *sdata, int ipixel, int iwl, int ivalidmeas)
 
void grasp_segment_pixel_set_pixel_it (pixel_t *pixel, int it)
 
void grasp_segment_pixel_set_pixel_ix (pixel_t *pixel, int ix)
 
void grasp_segment_pixel_set_pixel_iy (pixel_t *pixel, int iy)
 
void grasp_segment_pixel_set_pixel_cloudy (pixel_t *pixel, int cloudy)
 
void grasp_segment_pixel_set_pixel_irow (pixel_t *pixel, int irow)
 
void grasp_segment_pixel_set_pixel_icol (pixel_t *pixel, int icol)
 
void grasp_segment_pixel_set_pixel_file_index (pixel_t *pixel, int file_index)
 
void grasp_segment_pixel_set_pixel_x (pixel_t *pixel, float x)
 
void grasp_segment_pixel_set_pixel_y (pixel_t *pixel, float y)
 
void grasp_segment_pixel_set_pixel_t (pixel_t *pixel, int64_t t)
 
void grasp_segment_pixel_set_pixel_out_t (pixel_t *pixel, int out_t)
 
void grasp_segment_pixel_set_pixel_out_x (pixel_t *pixel, int out_x)
 
void grasp_segment_pixel_set_pixel_out_y (pixel_t *pixel, int out_y)
 
void grasp_segment_pixel_set_pixel_masl (pixel_t *pixel, float masl)
 
void grasp_segment_pixel_set_pixel_hobs (pixel_t *pixel, float hobs)
 
void grasp_segment_pixel_set_pixel_land_percent (pixel_t *pixel, float land_percent)
 
void grasp_segment_pixel_set_pixel_nwl (pixel_t *pixel, int nwl)
 
void grasp_segment_pixel_set_pixel_ifgas (pixel_t *pixel, int ifgas)
 
void grasp_segment_pixel_set_pixel_hvp (pixel_t *pixel, int ivm, float hvp)
 
void grasp_segment_pixel_set_pixel_meas_wl (pixel_t *pixel, int iwl, float wl)
 
void grasp_segment_pixel_set_pixel_meas_ind_wl (pixel_t *pixel, int iwl, float ind_wl)
 
void grasp_segment_pixel_set_pixel_meas_nsurf (pixel_t *pixel, int iwl, int nsurf)
 
void grasp_segment_pixel_set_pixel_meas_gaspar (pixel_t *pixel, int iwl, float gaspar)
 
void grasp_segment_pixel_set_pixel_meas_sza (pixel_t *pixel, int iwl, float sza)
 
void grasp_segment_pixel_set_pixel_meas_groundpar (pixel_t *pixel, int iwl, int isurf, float groundpar)
 
void grasp_segment_pixel_set_pixel_meas_nip (pixel_t *pixel, int iwl, int nip)
 
void grasp_segment_pixel_set_pixel_meas_meas_type (pixel_t *pixel, int iwl, int ip, int meas_type)
 
void grasp_segment_pixel_set_pixel_meas_nbvm (pixel_t *pixel, int iwl, int ip, int nbvm)
 
void grasp_segment_pixel_set_pixel_meas_ifcov (pixel_t *pixel, int iwl, int ip, int ifcov)
 
void grasp_segment_pixel_set_pixel_meas_ifmp (pixel_t *pixel, int iwl, int ip, int ifmp)
 
void grasp_segment_pixel_set_pixel_meas_thetav (pixel_t *pixel, int iwl, int ip, int ivalidmeas, float thetav)
 
void grasp_segment_pixel_set_pixel_meas_phi (pixel_t *pixel, int iwl, int ip, int ivalidmeas, float phi)
 
void grasp_segment_pixel_set_pixel_meas_cmtrx (pixel_t *pixel, int iwl, int ip, int ivalidmeas, float cmtrx)
 
void grasp_segment_pixel_set_pixel_meas_mprof (pixel_t *pixel, int iwl, int ip, int ivalidmeas, float mprof)
 
void grasp_segment_pixel_set_pixel_meas_tod (pixel_t *pixel, int iwl, int ivalidmeas, float tod)
 
void grasp_segment_pixel_set_pixel_meas_aod (pixel_t *pixel, int iwl, int ivalidmeas, float aod)
 
void grasp_segment_pixel_set_pixel_meas_aaod (pixel_t *pixel, int iwl, int ivalidmeas, float aaod)
 
void grasp_segment_pixel_set_pixel_meas_htod (pixel_t *pixel, int iwl, int ivalidmeas, float htod)
 
void grasp_segment_pixel_set_pixel_meas_p11 (pixel_t *pixel, int iwl, int ivalidmeas, float p11)
 
void grasp_segment_pixel_set_pixel_meas_p12 (pixel_t *pixel, int iwl, int ivalidmeas, float p12)
 
void grasp_segment_pixel_set_pixel_meas_p22 (pixel_t *pixel, int iwl, int ivalidmeas, float p22)
 
void grasp_segment_pixel_set_pixel_meas_p33 (pixel_t *pixel, int iwl, int ivalidmeas, float p33)
 
void grasp_segment_pixel_set_pixel_meas_p34 (pixel_t *pixel, int iwl, int ivalidmeas, float p34)
 
void grasp_segment_pixel_set_pixel_meas_p44 (pixel_t *pixel, int iwl, int ivalidmeas, float p44)
 
void grasp_segment_pixel_set_pixel_meas_p11_rel_ang (pixel_t *pixel, int iwl, int ivalidmeas, float p11_rel_ang)
 
void grasp_segment_pixel_set_pixel_meas_p12_rel (pixel_t *pixel, int iwl, int ivalidmeas, float p12_rel)
 
void grasp_segment_pixel_set_pixel_meas_i (pixel_t *pixel, int iwl, int ivalidmeas, float i)
 
void grasp_segment_pixel_set_pixel_meas_q (pixel_t *pixel, int iwl, int ivalidmeas, float q)
 
void grasp_segment_pixel_set_pixel_meas_u (pixel_t *pixel, int iwl, int ivalidmeas, float u)
 
void grasp_segment_pixel_set_pixel_meas_p (pixel_t *pixel, int iwl, int ivalidmeas, float p)
 
void grasp_segment_pixel_set_pixel_meas_i_rel_sum (pixel_t *pixel, int iwl, int ivalidmeas, float i_rel_sum)
 
void grasp_segment_pixel_set_pixel_meas_p_rel (pixel_t *pixel, int iwl, int ivalidmeas, float p_rel)
 
void grasp_segment_pixel_set_pixel_meas_ls (pixel_t *pixel, int iwl, int ivalidmeas, float ls)
 
void grasp_segment_pixel_set_pixel_meas_dp (pixel_t *pixel, int iwl, int ivalidmeas, float dp)
 
void grasp_segment_pixel_set_pixel_meas_rl (pixel_t *pixel, int iwl, int ivalidmeas, float rl)
 
int grasp_segment_pixel_get_pixel_it (const pixel_t *pixel)
 
int grasp_segment_pixel_get_pixel_ix (const pixel_t *pixel)
 
int grasp_segment_pixel_get_pixel_iy (const pixel_t *pixel)
 
int grasp_segment_pixel_get_pixel_cloudy (const pixel_t *pixel)
 
int grasp_segment_pixel_get_pixel_irow (const pixel_t *pixel)
 
int grasp_segment_pixel_get_pixel_icol (const pixel_t *pixel)
 
int grasp_segment_pixel_get_pixel_file_index (const pixel_t *pixel)
 
float grasp_segment_pixel_get_pixel_x (const pixel_t *pixel)
 
float grasp_segment_pixel_get_pixel_y (const pixel_t *pixel)
 
int64_t grasp_segment_pixel_get_pixel_t (const pixel_t *pixel)
 
int grasp_segment_pixel_get_pixel_out_t (const pixel_t *pixel)
 
int grasp_segment_pixel_get_pixel_out_x (const pixel_t *pixel)
 
int grasp_segment_pixel_get_pixel_out_y (const pixel_t *pixel)
 
float grasp_segment_pixel_get_pixel_masl (const pixel_t *pixel)
 
float grasp_segment_pixel_get_pixel_hobs (const pixel_t *pixel)
 
float grasp_segment_pixel_get_pixel_land_percent (const pixel_t *pixel)
 
int grasp_segment_pixel_get_pixel_nwl (const pixel_t *pixel)
 
int grasp_segment_pixel_get_pixel_ifgas (const pixel_t *pixel)
 
float grasp_segment_pixel_get_pixel_hvp (const pixel_t *pixel, int ivm)
 
float grasp_segment_pixel_get_pixel_meas_wl (const pixel_t *pixel, int iwl)
 
float grasp_segment_pixel_get_pixel_meas_ind_wl (const pixel_t *pixel, int iwl)
 
int grasp_segment_pixel_get_pixel_meas_nsurf (const pixel_t *pixel, int iwl)
 
float grasp_segment_pixel_get_pixel_meas_gaspar (const pixel_t *pixel, int iwl)
 
float grasp_segment_pixel_get_pixel_meas_sza (const pixel_t *pixel, int iwl)
 
float grasp_segment_pixel_get_pixel_meas_groundpar (const pixel_t *pixel, int iwl, int isurf)
 
int grasp_segment_pixel_get_pixel_meas_nip (const pixel_t *pixel, int iwl)
 
int grasp_segment_pixel_get_pixel_meas_meas_type (const pixel_t *pixel, int iwl, int ip)
 
int grasp_segment_pixel_get_pixel_meas_nbvm (const pixel_t *pixel, int iwl, int ip)
 
int grasp_segment_pixel_get_pixel_meas_ifcov (const pixel_t *pixel, int iwl, int ip)
 
int grasp_segment_pixel_get_pixel_meas_ifmp (const pixel_t *pixel, int iwl, int ip)
 
float grasp_segment_pixel_get_pixel_meas_thetav (const pixel_t *pixel, int iwl, int ip, int ivalidmeas)
 
float grasp_segment_pixel_get_pixel_meas_phi (const pixel_t *pixel, int iwl, int ip, int ivalidmeas)
 
float grasp_segment_pixel_get_pixel_meas_cmtrx (const pixel_t *pixel, int iwl, int ip, int ivalidmeas)
 
float grasp_segment_pixel_get_pixel_meas_mprof (const pixel_t *pixel, int iwl, int ip, int ivalidmeas)
 
float grasp_segment_pixel_get_pixel_meas_tod (const pixel_t *pixel, int iwl, int ivalidmeas)
 
float grasp_segment_pixel_get_pixel_meas_aod (const pixel_t *pixel, int iwl, int ivalidmeas)
 
float grasp_segment_pixel_get_pixel_meas_aaod (const pixel_t *pixel, int iwl, int ivalidmeas)
 
float grasp_segment_pixel_get_pixel_meas_htod (const pixel_t *pixel, int iwl, int ivalidmeas)
 
float grasp_segment_pixel_get_pixel_meas_p11 (const pixel_t *pixel, int iwl, int ivalidmeas)
 
float grasp_segment_pixel_get_pixel_meas_p12 (const pixel_t *pixel, int iwl, int ivalidmeas)
 
float grasp_segment_pixel_get_pixel_meas_p22 (const pixel_t *pixel, int iwl, int ivalidmeas)
 
float grasp_segment_pixel_get_pixel_meas_p33 (const pixel_t *pixel, int iwl, int ivalidmeas)
 
float grasp_segment_pixel_get_pixel_meas_p34 (const pixel_t *pixel, int iwl, int ivalidmeas)
 
float grasp_segment_pixel_get_pixel_meas_p44 (const pixel_t *pixel, int iwl, int ivalidmeas)
 
float grasp_segment_pixel_get_pixel_meas_p11_rel_ang (const pixel_t *pixel, int iwl, int ivalidmeas)
 
float grasp_segment_pixel_get_pixel_meas_p12_rel (const pixel_t *pixel, int iwl, int ivalidmeas)
 
float grasp_segment_pixel_get_pixel_meas_i (const pixel_t *pixel, int iwl, int ivalidmeas)
 
float grasp_segment_pixel_get_pixel_meas_q (const pixel_t *pixel, int iwl, int ivalidmeas)
 
float grasp_segment_pixel_get_pixel_meas_u (const pixel_t *pixel, int iwl, int ivalidmeas)
 
float grasp_segment_pixel_get_pixel_meas_p (const pixel_t *pixel, int iwl, int ivalidmeas)
 
float grasp_segment_pixel_get_pixel_meas_i_rel_sum (const pixel_t *pixel, int iwl, int ivalidmeas)
 
float grasp_segment_pixel_get_pixel_meas_p_rel (const pixel_t *pixel, int iwl, int ivalidmeas)
 
float grasp_segment_pixel_get_pixel_meas_ls (const pixel_t *pixel, int iwl, int ivalidmeas)
 
float grasp_segment_pixel_get_pixel_meas_dp (const pixel_t *pixel, int iwl, int ivalidmeas)
 
float grasp_segment_pixel_get_pixel_meas_rl (const pixel_t *pixel, int iwl, int ivalidmeas)
 

Detailed Description

This file contains segment definition.

Author
David Fuertes
Date
3 Oct 2014 Segment definition is retrieval (fortran code) segment definition binded plus extra information added by the framework to this structure (iguess in same structure). In addition this file contains the function to set sdata information with limit checking

Typedef Documentation

◆ data_wl_t

typedef struct data_wl_t_ data_wl_t

This structure represents the information inside a specific wavelength of a pixel

◆ edges_group_t

typedef struct edges_group_t_ edges_group_t

T groups (1 - before, 2 - after) contain

◆ edges_group_x

typedef struct edges_group_x_ edges_group_x

groups (1 - before, 2 - after) contain

◆ edges_group_y

typedef struct edges_group_y_ edges_group_y

Y groups (1 - before, 2 - after) contain

◆ grasp_segment_t

Framework segment structure contains segment structure (binded with retrieval part) and initial guess for each pixel. If a value of initial guess is -999, it will be ignored and the value in setting file will be used like initial guess.

◆ pixel_t

typedef struct pixel_t_ pixel_t

This structure contains the data for be retrieved of each pixel

◆ segment_edges

typedef struct segment_edges_ segment_edges

segment edge structure contain

◆ sensor_data_t

typedef struct sensor_data_t_ sensor_data_t

Sdata structure binded with src/retrieval/src/mod_sdata_ut.f90

Function Documentation

◆ grasp_sdata_validate()

int grasp_sdata_validate ( sensor_data_t sdata)

Return 0 if the sdata is valid, otherwise return error code.

Parameters
sdata
Returns
status code

◆ grasp_segment_get_npixels()

int grasp_segment_get_npixels ( const sensor_data_t sdata)

◆ grasp_segment_get_nt()

int grasp_segment_get_nt ( const sensor_data_t sdata)

◆ grasp_segment_get_nx()

int grasp_segment_get_nx ( const sensor_data_t sdata)

◆ grasp_segment_get_ny()

int grasp_segment_get_ny ( const sensor_data_t sdata)

◆ grasp_segment_get_pixel_cloudy()

int grasp_segment_get_pixel_cloudy ( const sensor_data_t sdata,
int  ipixel 
)

◆ grasp_segment_get_pixel_file_index()

int grasp_segment_get_pixel_file_index ( const sensor_data_t sdata,
int  ipixel 
)

◆ grasp_segment_get_pixel_hobs()

float grasp_segment_get_pixel_hobs ( const sensor_data_t sdata,
int  ipixel 
)

◆ grasp_segment_get_pixel_hvp()

float grasp_segment_get_pixel_hvp ( const sensor_data_t sdata,
int  ipixel,
int  ivm 
)

◆ grasp_segment_get_pixel_icol()

int grasp_segment_get_pixel_icol ( const sensor_data_t sdata,
int  ipixel 
)

◆ grasp_segment_get_pixel_ifgas()

int grasp_segment_get_pixel_ifgas ( const sensor_data_t sdata,
int  ipixel 
)

◆ grasp_segment_get_pixel_irow()

int grasp_segment_get_pixel_irow ( const sensor_data_t sdata,
int  ipixel 
)

◆ grasp_segment_get_pixel_it()

int grasp_segment_get_pixel_it ( const sensor_data_t sdata,
int  ipixel 
)

◆ grasp_segment_get_pixel_ix()

int grasp_segment_get_pixel_ix ( const sensor_data_t sdata,
int  ipixel 
)

◆ grasp_segment_get_pixel_iy()

int grasp_segment_get_pixel_iy ( const sensor_data_t sdata,
int  ipixel 
)

◆ grasp_segment_get_pixel_land_percent()

float grasp_segment_get_pixel_land_percent ( const sensor_data_t sdata,
int  ipixel 
)

◆ grasp_segment_get_pixel_masl()

float grasp_segment_get_pixel_masl ( const sensor_data_t sdata,
int  ipixel 
)

◆ grasp_segment_get_pixel_meas_aaod()

float grasp_segment_get_pixel_meas_aaod ( const sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_get_pixel_meas_aod()

float grasp_segment_get_pixel_meas_aod ( const sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_get_pixel_meas_cmtrx()

float grasp_segment_get_pixel_meas_cmtrx ( const sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ip,
int  ivalidmeas 
)

◆ grasp_segment_get_pixel_meas_dp()

float grasp_segment_get_pixel_meas_dp ( const sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_get_pixel_meas_gaspar()

float grasp_segment_get_pixel_meas_gaspar ( const sensor_data_t sdata,
int  ipixel,
int  iwl 
)

◆ grasp_segment_get_pixel_meas_groundpar()

float grasp_segment_get_pixel_meas_groundpar ( const sensor_data_t sdata,
int  ipixel,
int  iwl,
int  isurf 
)

◆ grasp_segment_get_pixel_meas_htod()

float grasp_segment_get_pixel_meas_htod ( const sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_get_pixel_meas_i()

float grasp_segment_get_pixel_meas_i ( const sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_get_pixel_meas_i_rel_sum()

float grasp_segment_get_pixel_meas_i_rel_sum ( const sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_get_pixel_meas_ifcov()

int grasp_segment_get_pixel_meas_ifcov ( const sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ip 
)

◆ grasp_segment_get_pixel_meas_ifmp()

int grasp_segment_get_pixel_meas_ifmp ( const sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ip 
)

◆ grasp_segment_get_pixel_meas_ind_wl()

float grasp_segment_get_pixel_meas_ind_wl ( const sensor_data_t sdata,
int  ipixel,
int  iwl 
)

◆ grasp_segment_get_pixel_meas_ls()

float grasp_segment_get_pixel_meas_ls ( const sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_get_pixel_meas_meas_type()

int grasp_segment_get_pixel_meas_meas_type ( const sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ip 
)

◆ grasp_segment_get_pixel_meas_mprof()

float grasp_segment_get_pixel_meas_mprof ( const sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ip,
int  ivalidmeas 
)

◆ grasp_segment_get_pixel_meas_nbvm()

int grasp_segment_get_pixel_meas_nbvm ( const sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ip 
)

◆ grasp_segment_get_pixel_meas_nip()

int grasp_segment_get_pixel_meas_nip ( const sensor_data_t sdata,
int  ipixel,
int  iwl 
)

◆ grasp_segment_get_pixel_meas_nsurf()

int grasp_segment_get_pixel_meas_nsurf ( const sensor_data_t sdata,
int  ipixel,
int  iwl 
)

◆ grasp_segment_get_pixel_meas_p()

float grasp_segment_get_pixel_meas_p ( const sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_get_pixel_meas_p11()

float grasp_segment_get_pixel_meas_p11 ( const sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_get_pixel_meas_p11_rel_ang()

float grasp_segment_get_pixel_meas_p11_rel_ang ( const sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_get_pixel_meas_p12()

float grasp_segment_get_pixel_meas_p12 ( const sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_get_pixel_meas_p12_rel()

float grasp_segment_get_pixel_meas_p12_rel ( const sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_get_pixel_meas_p22()

float grasp_segment_get_pixel_meas_p22 ( const sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_get_pixel_meas_p33()

float grasp_segment_get_pixel_meas_p33 ( const sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_get_pixel_meas_p34()

float grasp_segment_get_pixel_meas_p34 ( const sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_get_pixel_meas_p44()

float grasp_segment_get_pixel_meas_p44 ( const sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_get_pixel_meas_p_rel()

float grasp_segment_get_pixel_meas_p_rel ( const sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_get_pixel_meas_phi()

float grasp_segment_get_pixel_meas_phi ( const sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ip,
int  ivalidmeas 
)

◆ grasp_segment_get_pixel_meas_q()

float grasp_segment_get_pixel_meas_q ( const sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_get_pixel_meas_rl()

float grasp_segment_get_pixel_meas_rl ( const sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_get_pixel_meas_sza()

float grasp_segment_get_pixel_meas_sza ( const sensor_data_t sdata,
int  ipixel,
int  iwl 
)

◆ grasp_segment_get_pixel_meas_thetav()

float grasp_segment_get_pixel_meas_thetav ( const sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ip,
int  ivalidmeas 
)

◆ grasp_segment_get_pixel_meas_tod()

float grasp_segment_get_pixel_meas_tod ( const sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_get_pixel_meas_u()

float grasp_segment_get_pixel_meas_u ( const sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_get_pixel_meas_wl()

float grasp_segment_get_pixel_meas_wl ( const sensor_data_t sdata,
int  ipixel,
int  iwl 
)

◆ grasp_segment_get_pixel_nwl()

int grasp_segment_get_pixel_nwl ( const sensor_data_t sdata,
int  ipixel 
)

◆ grasp_segment_get_pixel_out_t()

int grasp_segment_get_pixel_out_t ( const sensor_data_t sdata,
int  ipixel 
)

◆ grasp_segment_get_pixel_out_x()

int grasp_segment_get_pixel_out_x ( const sensor_data_t sdata,
int  ipixel 
)

◆ grasp_segment_get_pixel_out_y()

int grasp_segment_get_pixel_out_y ( const sensor_data_t sdata,
int  ipixel 
)

◆ grasp_segment_get_pixel_t()

int64_t grasp_segment_get_pixel_t ( const sensor_data_t sdata,
int  ipixel 
)

◆ grasp_segment_get_pixel_x()

float grasp_segment_get_pixel_x ( const sensor_data_t sdata,
int  ipixel 
)

◆ grasp_segment_get_pixel_y()

float grasp_segment_get_pixel_y ( const sensor_data_t sdata,
int  ipixel 
)

◆ grasp_segment_initialize()

void grasp_segment_initialize ( grasp_segment_t segment)

Inialize a segment

Parameters
segmentto be initialized. It has to be already allocated

◆ grasp_segment_pixel_get_pixel_cloudy()

int grasp_segment_pixel_get_pixel_cloudy ( const pixel_t pixel)

◆ grasp_segment_pixel_get_pixel_file_index()

int grasp_segment_pixel_get_pixel_file_index ( const pixel_t pixel)

◆ grasp_segment_pixel_get_pixel_hobs()

float grasp_segment_pixel_get_pixel_hobs ( const pixel_t pixel)

◆ grasp_segment_pixel_get_pixel_hvp()

float grasp_segment_pixel_get_pixel_hvp ( const pixel_t pixel,
int  ivm 
)

◆ grasp_segment_pixel_get_pixel_icol()

int grasp_segment_pixel_get_pixel_icol ( const pixel_t pixel)

◆ grasp_segment_pixel_get_pixel_ifgas()

int grasp_segment_pixel_get_pixel_ifgas ( const pixel_t pixel)

◆ grasp_segment_pixel_get_pixel_irow()

int grasp_segment_pixel_get_pixel_irow ( const pixel_t pixel)

◆ grasp_segment_pixel_get_pixel_it()

int grasp_segment_pixel_get_pixel_it ( const pixel_t pixel)

◆ grasp_segment_pixel_get_pixel_ix()

int grasp_segment_pixel_get_pixel_ix ( const pixel_t pixel)

◆ grasp_segment_pixel_get_pixel_iy()

int grasp_segment_pixel_get_pixel_iy ( const pixel_t pixel)

◆ grasp_segment_pixel_get_pixel_land_percent()

float grasp_segment_pixel_get_pixel_land_percent ( const pixel_t pixel)

◆ grasp_segment_pixel_get_pixel_masl()

float grasp_segment_pixel_get_pixel_masl ( const pixel_t pixel)

◆ grasp_segment_pixel_get_pixel_meas_aaod()

float grasp_segment_pixel_get_pixel_meas_aaod ( const pixel_t pixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_pixel_get_pixel_meas_aod()

float grasp_segment_pixel_get_pixel_meas_aod ( const pixel_t pixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_pixel_get_pixel_meas_cmtrx()

float grasp_segment_pixel_get_pixel_meas_cmtrx ( const pixel_t pixel,
int  iwl,
int  ip,
int  ivalidmeas 
)

◆ grasp_segment_pixel_get_pixel_meas_dp()

float grasp_segment_pixel_get_pixel_meas_dp ( const pixel_t pixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_pixel_get_pixel_meas_gaspar()

float grasp_segment_pixel_get_pixel_meas_gaspar ( const pixel_t pixel,
int  iwl 
)

◆ grasp_segment_pixel_get_pixel_meas_groundpar()

float grasp_segment_pixel_get_pixel_meas_groundpar ( const pixel_t pixel,
int  iwl,
int  isurf 
)

◆ grasp_segment_pixel_get_pixel_meas_htod()

float grasp_segment_pixel_get_pixel_meas_htod ( const pixel_t pixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_pixel_get_pixel_meas_i()

float grasp_segment_pixel_get_pixel_meas_i ( const pixel_t pixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_pixel_get_pixel_meas_i_rel_sum()

float grasp_segment_pixel_get_pixel_meas_i_rel_sum ( const pixel_t pixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_pixel_get_pixel_meas_ifcov()

int grasp_segment_pixel_get_pixel_meas_ifcov ( const pixel_t pixel,
int  iwl,
int  ip 
)

◆ grasp_segment_pixel_get_pixel_meas_ifmp()

int grasp_segment_pixel_get_pixel_meas_ifmp ( const pixel_t pixel,
int  iwl,
int  ip 
)

◆ grasp_segment_pixel_get_pixel_meas_ind_wl()

float grasp_segment_pixel_get_pixel_meas_ind_wl ( const pixel_t pixel,
int  iwl 
)

◆ grasp_segment_pixel_get_pixel_meas_ls()

float grasp_segment_pixel_get_pixel_meas_ls ( const pixel_t pixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_pixel_get_pixel_meas_meas_type()

int grasp_segment_pixel_get_pixel_meas_meas_type ( const pixel_t pixel,
int  iwl,
int  ip 
)

◆ grasp_segment_pixel_get_pixel_meas_mprof()

float grasp_segment_pixel_get_pixel_meas_mprof ( const pixel_t pixel,
int  iwl,
int  ip,
int  ivalidmeas 
)

◆ grasp_segment_pixel_get_pixel_meas_nbvm()

int grasp_segment_pixel_get_pixel_meas_nbvm ( const pixel_t pixel,
int  iwl,
int  ip 
)

◆ grasp_segment_pixel_get_pixel_meas_nip()

int grasp_segment_pixel_get_pixel_meas_nip ( const pixel_t pixel,
int  iwl 
)

◆ grasp_segment_pixel_get_pixel_meas_nsurf()

int grasp_segment_pixel_get_pixel_meas_nsurf ( const pixel_t pixel,
int  iwl 
)

◆ grasp_segment_pixel_get_pixel_meas_p()

float grasp_segment_pixel_get_pixel_meas_p ( const pixel_t pixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_pixel_get_pixel_meas_p11()

float grasp_segment_pixel_get_pixel_meas_p11 ( const pixel_t pixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_pixel_get_pixel_meas_p11_rel_ang()

float grasp_segment_pixel_get_pixel_meas_p11_rel_ang ( const pixel_t pixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_pixel_get_pixel_meas_p12()

float grasp_segment_pixel_get_pixel_meas_p12 ( const pixel_t pixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_pixel_get_pixel_meas_p12_rel()

float grasp_segment_pixel_get_pixel_meas_p12_rel ( const pixel_t pixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_pixel_get_pixel_meas_p22()

float grasp_segment_pixel_get_pixel_meas_p22 ( const pixel_t pixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_pixel_get_pixel_meas_p33()

float grasp_segment_pixel_get_pixel_meas_p33 ( const pixel_t pixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_pixel_get_pixel_meas_p34()

float grasp_segment_pixel_get_pixel_meas_p34 ( const pixel_t pixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_pixel_get_pixel_meas_p44()

float grasp_segment_pixel_get_pixel_meas_p44 ( const pixel_t pixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_pixel_get_pixel_meas_p_rel()

float grasp_segment_pixel_get_pixel_meas_p_rel ( const pixel_t pixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_pixel_get_pixel_meas_phi()

float grasp_segment_pixel_get_pixel_meas_phi ( const pixel_t pixel,
int  iwl,
int  ip,
int  ivalidmeas 
)

◆ grasp_segment_pixel_get_pixel_meas_q()

float grasp_segment_pixel_get_pixel_meas_q ( const pixel_t pixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_pixel_get_pixel_meas_rl()

float grasp_segment_pixel_get_pixel_meas_rl ( const pixel_t pixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_pixel_get_pixel_meas_sza()

float grasp_segment_pixel_get_pixel_meas_sza ( const pixel_t pixel,
int  iwl 
)

◆ grasp_segment_pixel_get_pixel_meas_thetav()

float grasp_segment_pixel_get_pixel_meas_thetav ( const pixel_t pixel,
int  iwl,
int  ip,
int  ivalidmeas 
)

◆ grasp_segment_pixel_get_pixel_meas_tod()

float grasp_segment_pixel_get_pixel_meas_tod ( const pixel_t pixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_pixel_get_pixel_meas_u()

float grasp_segment_pixel_get_pixel_meas_u ( const pixel_t pixel,
int  iwl,
int  ivalidmeas 
)

◆ grasp_segment_pixel_get_pixel_meas_wl()

float grasp_segment_pixel_get_pixel_meas_wl ( const pixel_t pixel,
int  iwl 
)

◆ grasp_segment_pixel_get_pixel_nwl()

int grasp_segment_pixel_get_pixel_nwl ( const pixel_t pixel)

◆ grasp_segment_pixel_get_pixel_out_t()

int grasp_segment_pixel_get_pixel_out_t ( const pixel_t pixel)

◆ grasp_segment_pixel_get_pixel_out_x()

int grasp_segment_pixel_get_pixel_out_x ( const pixel_t pixel)

◆ grasp_segment_pixel_get_pixel_out_y()

int grasp_segment_pixel_get_pixel_out_y ( const pixel_t pixel)

◆ grasp_segment_pixel_get_pixel_t()

int64_t grasp_segment_pixel_get_pixel_t ( const pixel_t pixel)

◆ grasp_segment_pixel_get_pixel_x()

float grasp_segment_pixel_get_pixel_x ( const pixel_t pixel)

◆ grasp_segment_pixel_get_pixel_y()

float grasp_segment_pixel_get_pixel_y ( const pixel_t pixel)

◆ grasp_segment_pixel_set_pixel_cloudy()

void grasp_segment_pixel_set_pixel_cloudy ( pixel_t pixel,
int  cloudy 
)

◆ grasp_segment_pixel_set_pixel_file_index()

void grasp_segment_pixel_set_pixel_file_index ( pixel_t pixel,
int  file_index 
)

◆ grasp_segment_pixel_set_pixel_hobs()

void grasp_segment_pixel_set_pixel_hobs ( pixel_t pixel,
float  hobs 
)

◆ grasp_segment_pixel_set_pixel_hvp()

void grasp_segment_pixel_set_pixel_hvp ( pixel_t pixel,
int  ivm,
float  hvp 
)

◆ grasp_segment_pixel_set_pixel_icol()

void grasp_segment_pixel_set_pixel_icol ( pixel_t pixel,
int  icol 
)

◆ grasp_segment_pixel_set_pixel_ifgas()

void grasp_segment_pixel_set_pixel_ifgas ( pixel_t pixel,
int  ifgas 
)

◆ grasp_segment_pixel_set_pixel_irow()

void grasp_segment_pixel_set_pixel_irow ( pixel_t pixel,
int  irow 
)

◆ grasp_segment_pixel_set_pixel_it()

void grasp_segment_pixel_set_pixel_it ( pixel_t pixel,
int  it 
)

◆ grasp_segment_pixel_set_pixel_ix()

void grasp_segment_pixel_set_pixel_ix ( pixel_t pixel,
int  ix 
)

◆ grasp_segment_pixel_set_pixel_iy()

void grasp_segment_pixel_set_pixel_iy ( pixel_t pixel,
int  iy 
)

◆ grasp_segment_pixel_set_pixel_land_percent()

void grasp_segment_pixel_set_pixel_land_percent ( pixel_t pixel,
float  land_percent 
)

◆ grasp_segment_pixel_set_pixel_masl()

void grasp_segment_pixel_set_pixel_masl ( pixel_t pixel,
float  masl 
)

◆ grasp_segment_pixel_set_pixel_meas_aaod()

void grasp_segment_pixel_set_pixel_meas_aaod ( pixel_t pixel,
int  iwl,
int  ivalidmeas,
float  aaod 
)

◆ grasp_segment_pixel_set_pixel_meas_aod()

void grasp_segment_pixel_set_pixel_meas_aod ( pixel_t pixel,
int  iwl,
int  ivalidmeas,
float  aod 
)

◆ grasp_segment_pixel_set_pixel_meas_cmtrx()

void grasp_segment_pixel_set_pixel_meas_cmtrx ( pixel_t pixel,
int  iwl,
int  ip,
int  ivalidmeas,
float  cmtrx 
)

◆ grasp_segment_pixel_set_pixel_meas_dp()

void grasp_segment_pixel_set_pixel_meas_dp ( pixel_t pixel,
int  iwl,
int  ivalidmeas,
float  dp 
)

◆ grasp_segment_pixel_set_pixel_meas_gaspar()

void grasp_segment_pixel_set_pixel_meas_gaspar ( pixel_t pixel,
int  iwl,
float  gaspar 
)

◆ grasp_segment_pixel_set_pixel_meas_groundpar()

void grasp_segment_pixel_set_pixel_meas_groundpar ( pixel_t pixel,
int  iwl,
int  isurf,
float  groundpar 
)

◆ grasp_segment_pixel_set_pixel_meas_htod()

void grasp_segment_pixel_set_pixel_meas_htod ( pixel_t pixel,
int  iwl,
int  ivalidmeas,
float  htod 
)

◆ grasp_segment_pixel_set_pixel_meas_i()

void grasp_segment_pixel_set_pixel_meas_i ( pixel_t pixel,
int  iwl,
int  ivalidmeas,
float  i 
)

◆ grasp_segment_pixel_set_pixel_meas_i_rel_sum()

void grasp_segment_pixel_set_pixel_meas_i_rel_sum ( pixel_t pixel,
int  iwl,
int  ivalidmeas,
float  i_rel_sum 
)

◆ grasp_segment_pixel_set_pixel_meas_ifcov()

void grasp_segment_pixel_set_pixel_meas_ifcov ( pixel_t pixel,
int  iwl,
int  ip,
int  ifcov 
)

◆ grasp_segment_pixel_set_pixel_meas_ifmp()

void grasp_segment_pixel_set_pixel_meas_ifmp ( pixel_t pixel,
int  iwl,
int  ip,
int  ifmp 
)

◆ grasp_segment_pixel_set_pixel_meas_ind_wl()

void grasp_segment_pixel_set_pixel_meas_ind_wl ( pixel_t pixel,
int  iwl,
float  ind_wl 
)

◆ grasp_segment_pixel_set_pixel_meas_ls()

void grasp_segment_pixel_set_pixel_meas_ls ( pixel_t pixel,
int  iwl,
int  ivalidmeas,
float  ls 
)

◆ grasp_segment_pixel_set_pixel_meas_meas_type()

void grasp_segment_pixel_set_pixel_meas_meas_type ( pixel_t pixel,
int  iwl,
int  ip,
int  meas_type 
)

◆ grasp_segment_pixel_set_pixel_meas_mprof()

void grasp_segment_pixel_set_pixel_meas_mprof ( pixel_t pixel,
int  iwl,
int  ip,
int  ivalidmeas,
float  mprof 
)

◆ grasp_segment_pixel_set_pixel_meas_nbvm()

void grasp_segment_pixel_set_pixel_meas_nbvm ( pixel_t pixel,
int  iwl,
int  ip,
int  nbvm 
)

◆ grasp_segment_pixel_set_pixel_meas_nip()

void grasp_segment_pixel_set_pixel_meas_nip ( pixel_t pixel,
int  iwl,
int  nip 
)

◆ grasp_segment_pixel_set_pixel_meas_nsurf()

void grasp_segment_pixel_set_pixel_meas_nsurf ( pixel_t pixel,
int  iwl,
int  nsurf 
)

◆ grasp_segment_pixel_set_pixel_meas_p()

void grasp_segment_pixel_set_pixel_meas_p ( pixel_t pixel,
int  iwl,
int  ivalidmeas,
float  p 
)

◆ grasp_segment_pixel_set_pixel_meas_p11()

void grasp_segment_pixel_set_pixel_meas_p11 ( pixel_t pixel,
int  iwl,
int  ivalidmeas,
float  p11 
)

◆ grasp_segment_pixel_set_pixel_meas_p11_rel_ang()

void grasp_segment_pixel_set_pixel_meas_p11_rel_ang ( pixel_t pixel,
int  iwl,
int  ivalidmeas,
float  p11_rel_ang 
)

◆ grasp_segment_pixel_set_pixel_meas_p12()

void grasp_segment_pixel_set_pixel_meas_p12 ( pixel_t pixel,
int  iwl,
int  ivalidmeas,
float  p12 
)

◆ grasp_segment_pixel_set_pixel_meas_p12_rel()

void grasp_segment_pixel_set_pixel_meas_p12_rel ( pixel_t pixel,
int  iwl,
int  ivalidmeas,
float  p12_rel 
)

◆ grasp_segment_pixel_set_pixel_meas_p22()

void grasp_segment_pixel_set_pixel_meas_p22 ( pixel_t pixel,
int  iwl,
int  ivalidmeas,
float  p22 
)

◆ grasp_segment_pixel_set_pixel_meas_p33()

void grasp_segment_pixel_set_pixel_meas_p33 ( pixel_t pixel,
int  iwl,
int  ivalidmeas,
float  p33 
)

◆ grasp_segment_pixel_set_pixel_meas_p34()

void grasp_segment_pixel_set_pixel_meas_p34 ( pixel_t pixel,
int  iwl,
int  ivalidmeas,
float  p34 
)

◆ grasp_segment_pixel_set_pixel_meas_p44()

void grasp_segment_pixel_set_pixel_meas_p44 ( pixel_t pixel,
int  iwl,
int  ivalidmeas,
float  p44 
)

◆ grasp_segment_pixel_set_pixel_meas_p_rel()

void grasp_segment_pixel_set_pixel_meas_p_rel ( pixel_t pixel,
int  iwl,
int  ivalidmeas,
float  p_rel 
)

◆ grasp_segment_pixel_set_pixel_meas_phi()

void grasp_segment_pixel_set_pixel_meas_phi ( pixel_t pixel,
int  iwl,
int  ip,
int  ivalidmeas,
float  phi 
)

◆ grasp_segment_pixel_set_pixel_meas_q()

void grasp_segment_pixel_set_pixel_meas_q ( pixel_t pixel,
int  iwl,
int  ivalidmeas,
float  q 
)

◆ grasp_segment_pixel_set_pixel_meas_rl()

void grasp_segment_pixel_set_pixel_meas_rl ( pixel_t pixel,
int  iwl,
int  ivalidmeas,
float  rl 
)

◆ grasp_segment_pixel_set_pixel_meas_sza()

void grasp_segment_pixel_set_pixel_meas_sza ( pixel_t pixel,
int  iwl,
float  sza 
)

◆ grasp_segment_pixel_set_pixel_meas_thetav()

void grasp_segment_pixel_set_pixel_meas_thetav ( pixel_t pixel,
int  iwl,
int  ip,
int  ivalidmeas,
float  thetav 
)

◆ grasp_segment_pixel_set_pixel_meas_tod()

void grasp_segment_pixel_set_pixel_meas_tod ( pixel_t pixel,
int  iwl,
int  ivalidmeas,
float  tod 
)

◆ grasp_segment_pixel_set_pixel_meas_u()

void grasp_segment_pixel_set_pixel_meas_u ( pixel_t pixel,
int  iwl,
int  ivalidmeas,
float  u 
)

◆ grasp_segment_pixel_set_pixel_meas_wl()

void grasp_segment_pixel_set_pixel_meas_wl ( pixel_t pixel,
int  iwl,
float  wl 
)

◆ grasp_segment_pixel_set_pixel_nwl()

void grasp_segment_pixel_set_pixel_nwl ( pixel_t pixel,
int  nwl 
)

◆ grasp_segment_pixel_set_pixel_out_t()

void grasp_segment_pixel_set_pixel_out_t ( pixel_t pixel,
int  out_t 
)

◆ grasp_segment_pixel_set_pixel_out_x()

void grasp_segment_pixel_set_pixel_out_x ( pixel_t pixel,
int  out_x 
)

◆ grasp_segment_pixel_set_pixel_out_y()

void grasp_segment_pixel_set_pixel_out_y ( pixel_t pixel,
int  out_y 
)

◆ grasp_segment_pixel_set_pixel_t()

void grasp_segment_pixel_set_pixel_t ( pixel_t pixel,
int64_t  t 
)

◆ grasp_segment_pixel_set_pixel_x()

void grasp_segment_pixel_set_pixel_x ( pixel_t pixel,
float  x 
)

◆ grasp_segment_pixel_set_pixel_y()

void grasp_segment_pixel_set_pixel_y ( pixel_t pixel,
float  y 
)

◆ grasp_segment_remove_pixel()

void grasp_segment_remove_pixel ( grasp_segment_t segment,
int  ipixel 
)

This function will remove ipixel from sdata. NOTE: This function does not support edges yet.

Parameters
sdataI/O argument, sdata where want to have one pixel less
ipixelIndex of the pixel to be removed

◆ grasp_segment_remove_pixels()

void grasp_segment_remove_pixels ( grasp_segment_t segment,
int  npixels,
int *  pixels 
)

This function will remove a list of pixels from an sdata. NOTE: This function does not support edges yet.

Parameters
sdataI/O argument, sdata where want to have one pixel less
npixelNumber of pixels in array of indexes
pixelsArray of pixels to be removed. NOTE: THE INDEXES HAS TO HAVE INCREASE MONOTONIC ORDER.

◆ grasp_segment_set_npixels()

void grasp_segment_set_npixels ( sensor_data_t sdata,
int  npixels 
)

Set number of pixels dimensions in segment data. It has to be after set nt, nx and ny.

◆ grasp_segment_set_nt()

void grasp_segment_set_nt ( sensor_data_t sdata,
int  nt 
)

Set number of t dimensions in segment data.

◆ grasp_segment_set_nx()

void grasp_segment_set_nx ( sensor_data_t sdata,
int  nx 
)

Set number of x dimensions in segment data.

◆ grasp_segment_set_ny()

void grasp_segment_set_ny ( sensor_data_t sdata,
int  ny 
)

Set number of y dimensions in segment data.

◆ grasp_segment_set_pixel_cloudy()

void grasp_segment_set_pixel_cloudy ( sensor_data_t sdata,
int  ipixel,
int  cloudy 
)

Set sdata->pixel[ipixel].cloudy.

◆ grasp_segment_set_pixel_file_index()

void grasp_segment_set_pixel_file_index ( sensor_data_t sdata,
int  ipixel,
int  file_index 
)

Set sdata->pixel[ipixel].file_index.

◆ grasp_segment_set_pixel_hobs()

void grasp_segment_set_pixel_hobs ( sensor_data_t sdata,
int  ipixel,
float  hobs 
)

Set sdata->pixel[ipixel].HOBS.

◆ grasp_segment_set_pixel_hvp()

void grasp_segment_set_pixel_hvp ( sensor_data_t sdata,
int  ipixel,
int  ivm,
float  hvp 
)

Set sdata->pixel[ipixel].HVP[ivm].

◆ grasp_segment_set_pixel_icol()

void grasp_segment_set_pixel_icol ( sensor_data_t sdata,
int  ipixel,
int  icol 
)

Set sdata->pixel[ipixel].icol.

◆ grasp_segment_set_pixel_ifgas()

void grasp_segment_set_pixel_ifgas ( sensor_data_t sdata,
int  ipixel,
int  ifgas 
)

Set sdata->pixel[ipixel].ifgas.

◆ grasp_segment_set_pixel_irow()

void grasp_segment_set_pixel_irow ( sensor_data_t sdata,
int  ipixel,
int  irow 
)

Set sdata->pixel[ipixel].irow.

◆ grasp_segment_set_pixel_it()

void grasp_segment_set_pixel_it ( sensor_data_t sdata,
int  ipixel,
int  iy 
)

Set sdata->pixel[ipixel].iy.

◆ grasp_segment_set_pixel_ix()

void grasp_segment_set_pixel_ix ( sensor_data_t sdata,
int  ipixel,
int  it 
)

Set sdata->pixel[ipixel].ix.

◆ grasp_segment_set_pixel_iy()

void grasp_segment_set_pixel_iy ( sensor_data_t sdata,
int  ipixel,
int  ix 
)

Set sdata->pixel[ipixel].ix.

◆ grasp_segment_set_pixel_land_percent()

void grasp_segment_set_pixel_land_percent ( sensor_data_t sdata,
int  ipixel,
float  land_percent 
)

Set sdata->pixel[ipixel].land_percent.

◆ grasp_segment_set_pixel_masl()

void grasp_segment_set_pixel_masl ( sensor_data_t sdata,
int  ipixel,
float  masl 
)

Set sdata->pixel[ipixel].MASL.

◆ grasp_segment_set_pixel_meas_aaod()

void grasp_segment_set_pixel_meas_aaod ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas,
float  aaod 
)

Set sdata->pixel[ipixel].meas[iwl].aaod[ivalidmeas].

◆ grasp_segment_set_pixel_meas_aod()

void grasp_segment_set_pixel_meas_aod ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas,
float  tod 
)

Set sdata->pixel[ipixel].meas[iwl].tod[ivalidmeas].

◆ grasp_segment_set_pixel_meas_cmtrx()

void grasp_segment_set_pixel_meas_cmtrx ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ip,
int  ivalidmeas,
float  cmtrx 
)

Set sdata->pixel[ipixel].meas[iwl].CMTRX[ip][ivalidmeas].

◆ grasp_segment_set_pixel_meas_dp()

void grasp_segment_set_pixel_meas_dp ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas,
float  dp 
)

Set sdata->pixel[ipixel].meas[iwl].DP[ivalidmeas].

◆ grasp_segment_set_pixel_meas_dpar()

void grasp_segment_set_pixel_meas_dpar ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas,
float  dpar 
)

Set sdata->pixel[ipixel].meas[iwl].DPAR[ivalidmeas].

◆ grasp_segment_set_pixel_meas_dper()

void grasp_segment_set_pixel_meas_dper ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas,
float  dper 
)

Set sdata->pixel[ipixel].meas[iwl].DPER[ivalidmeas].

◆ grasp_segment_set_pixel_meas_gaspar()

void grasp_segment_set_pixel_meas_gaspar ( sensor_data_t sdata,
int  ipixel,
int  iwl,
float  gaspar 
)

Set sdata->pixel[ipixel].meas[iwl].gaspar.

◆ grasp_segment_set_pixel_meas_groundpar()

void grasp_segment_set_pixel_meas_groundpar ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  isurf,
float  groundpar 
)

Set sdata->pixel[ipixel].meas[iwl].groundpar[isurf].

◆ grasp_segment_set_pixel_meas_htod()

void grasp_segment_set_pixel_meas_htod ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas,
float  htod 
)

Set sdata->pixel[ipixel].meas[iwl].htod[ivalidmeas].

◆ grasp_segment_set_pixel_meas_i()

void grasp_segment_set_pixel_meas_i ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas,
float  i 
)

Set sdata->pixel[ipixel].meas[iwl].I[ivalidmeas].

◆ grasp_segment_set_pixel_meas_i_rel_sum()

void grasp_segment_set_pixel_meas_i_rel_sum ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas,
float  i_rel_sum 
)

Set sdata->pixel[ipixel].meas[iwl].i_rel_sum[ivalidmeas].

◆ grasp_segment_set_pixel_meas_ifcov()

void grasp_segment_set_pixel_meas_ifcov ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ip,
int  ifcov 
)

Set sdata->pixel[ipixel].meas[iwl].IFCOV[ip].

◆ grasp_segment_set_pixel_meas_ifmp()

void grasp_segment_set_pixel_meas_ifmp ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ip,
int  ifmp 
)

Set sdata->pixel[ipixel].meas[iwl].IFMP[ip].

◆ grasp_segment_set_pixel_meas_ind_wl()

void grasp_segment_set_pixel_meas_ind_wl ( sensor_data_t sdata,
int  ipixel,
int  iwl,
float  ind_wl 
)

Set sdata->pixel[ipixel].meas[iwl].ind_wl.

◆ grasp_segment_set_pixel_meas_ls()

void grasp_segment_set_pixel_meas_ls ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas,
float  ls 
)

Set sdata->pixel[ipixel].meas[iwl].LS[ivalidmeas].

◆ grasp_segment_set_pixel_meas_meas_type()

void grasp_segment_set_pixel_meas_meas_type ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ip,
int  meas_type 
)

Set sdata->pixel[ipixel].meas[iwl].meas_type[ip].

◆ grasp_segment_set_pixel_meas_mprof()

void grasp_segment_set_pixel_meas_mprof ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ip,
int  ivalidmeas,
float  mprof 
)

Set sdata->pixel[ipixel].meas[iwl].MPROF[ip][ivalidmea].

◆ grasp_segment_set_pixel_meas_nbvm()

void grasp_segment_set_pixel_meas_nbvm ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ip,
int  nbvm 
)

Set sdata->pixel[ipixel].meas[iwl].nbvm[ip]

◆ grasp_segment_set_pixel_meas_nip()

void grasp_segment_set_pixel_meas_nip ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  nip 
)

Set sdata->pixel[ipixel].meas[iwl].nip.

◆ grasp_segment_set_pixel_meas_nsurf()

void grasp_segment_set_pixel_meas_nsurf ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  nsurf 
)

Set sdata->pixel[ipixel].meas[iwl].Nsurf.

◆ grasp_segment_set_pixel_meas_p()

void grasp_segment_set_pixel_meas_p ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas,
float  p 
)

Set sdata->pixel[ipixel].meas[iwl].P[ivalidmeas].

◆ grasp_segment_set_pixel_meas_p11()

void grasp_segment_set_pixel_meas_p11 ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas,
float  p11 
)

Set sdata->pixel[ipixel].meas[iwl].p11[ivalidmeas].

◆ grasp_segment_set_pixel_meas_p11_intd()

void grasp_segment_set_pixel_meas_p11_intd ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas,
float  p11_intd 
)

Set sdata->pixel[ipixel].meas[iwl].P11_intd[ivalidmeas].

◆ grasp_segment_set_pixel_meas_p11_intd_cut_off_1()

void grasp_segment_set_pixel_meas_p11_intd_cut_off_1 ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas,
float  p11_intd_cut_off_1 
)

Set sdata->pixel[ipixel].meas[iwl].P11_intd_cut_off_1[ivalidmeas].

◆ grasp_segment_set_pixel_meas_p11_intd_cut_off_2()

void grasp_segment_set_pixel_meas_p11_intd_cut_off_2 ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas,
float  p11_intd_cut_off_2 
)

Set sdata->pixel[ipixel].meas[iwl].P11_intd_cut_off_2[ivalidmeas].

◆ grasp_segment_set_pixel_meas_p11_intd_cut_off_3()

void grasp_segment_set_pixel_meas_p11_intd_cut_off_3 ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas,
float  p11_intd_cut_off_3 
)

Set sdata->pixel[ipixel].meas[iwl].P11_intd_cut_off_3[ivalidmeas].

◆ grasp_segment_set_pixel_meas_p11_intd_cut_off_4()

void grasp_segment_set_pixel_meas_p11_intd_cut_off_4 ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas,
float  p11_intd_cut_off_4 
)

Set sdata->pixel[ipixel].meas[iwl].P11_intd_cut_off_4[ivalidmeas].

◆ grasp_segment_set_pixel_meas_p11_rel_ang()

void grasp_segment_set_pixel_meas_p11_rel_ang ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas,
float  p11_rel_ang 
)

Set sdata->pixel[ipixel].meas[iwl].p11_rel_ang[ivalidmeas].

◆ grasp_segment_set_pixel_meas_p12()

void grasp_segment_set_pixel_meas_p12 ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas,
float  p12 
)

Set sdata->pixel[ipixel].meas[iwl].p12[ivalidmeas].

◆ grasp_segment_set_pixel_meas_p12_rel()

void grasp_segment_set_pixel_meas_p12_rel ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas,
float  p12_rel 
)

Set sdata->pixel[ipixel].meas[iwl].p12_rel[ivalidmeas].

◆ grasp_segment_set_pixel_meas_p22()

void grasp_segment_set_pixel_meas_p22 ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas,
float  p22 
)

Set sdata->pixel[ipixel].meas[iwl].p22[ivalidmeas].

◆ grasp_segment_set_pixel_meas_p33()

void grasp_segment_set_pixel_meas_p33 ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas,
float  p33 
)

Set sdata->pixel[ipixel].meas[iwl].p33[ivalidmeas].

◆ grasp_segment_set_pixel_meas_p34()

void grasp_segment_set_pixel_meas_p34 ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas,
float  p34 
)

Set sdata->pixel[ipixel].meas[iwl].p34[ivalidmeas].

◆ grasp_segment_set_pixel_meas_p44()

void grasp_segment_set_pixel_meas_p44 ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas,
float  p44 
)

Set sdata->pixel[ipixel].meas[iwl].p44[ivalidmeas].

◆ grasp_segment_set_pixel_meas_p_rel()

void grasp_segment_set_pixel_meas_p_rel ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas,
float  p_rel 
)

Set sdata->pixel[ipixel].meas[iwl].p_rel[ivalidmeas].

◆ grasp_segment_set_pixel_meas_phi()

void grasp_segment_set_pixel_meas_phi ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ip,
int  ivalidmeas,
float  phi 
)

Set sdata->pixel[ipixel].meas[iwl].phi[ip][ivalidmeas].

◆ grasp_segment_set_pixel_meas_q()

void grasp_segment_set_pixel_meas_q ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas,
float  q 
)

Set sdata->pixel[ipixel].meas[iwl].Q[ivalidmeas].

◆ grasp_segment_set_pixel_meas_rl()

void grasp_segment_set_pixel_meas_rl ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas,
float  rl 
)

Set sdata->pixel[ipixel].meas[iwl].RL[ivalidmeas].

◆ grasp_segment_set_pixel_meas_sza()

void grasp_segment_set_pixel_meas_sza ( sensor_data_t sdata,
int  ipixel,
int  iwl,
float  sza 
)

Set sdata->pixel[ipixel].meas[iwl].sza.

◆ grasp_segment_set_pixel_meas_thetav()

void grasp_segment_set_pixel_meas_thetav ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ip,
int  ivalidmeas,
float  thetav 
)

Set sdata->pixel[ipixel].meas[iwl].thetav[ip][ivalidmeas].

◆ grasp_segment_set_pixel_meas_tod()

void grasp_segment_set_pixel_meas_tod ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas,
float  aod 
)

Set sdata->pixel[ipixel].meas[iwl].aod[ivalidmeas].

◆ grasp_segment_set_pixel_meas_u()

void grasp_segment_set_pixel_meas_u ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas,
float  u 
)

Set sdata->pixel[ipixel].meas[iwl].U[ivalidmeas].

◆ grasp_segment_set_pixel_meas_vbs()

void grasp_segment_set_pixel_meas_vbs ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas,
float  vbs 
)

Set sdata->pixel[ipixel].meas[iwl].VBS[ivalidmeas].

◆ grasp_segment_set_pixel_meas_vext()

void grasp_segment_set_pixel_meas_vext ( sensor_data_t sdata,
int  ipixel,
int  iwl,
int  ivalidmeas,
float  vext 
)

Set sdata->pixel[ipixel].meas[iwl].VEXT[ivalidmeas].

◆ grasp_segment_set_pixel_meas_wl()

void grasp_segment_set_pixel_meas_wl ( sensor_data_t sdata,
int  ipixel,
int  iwl,
float  wl 
)

Set sdata->pixel[ipixel].meas[iwl].wl.

◆ grasp_segment_set_pixel_nwl()

void grasp_segment_set_pixel_nwl ( sensor_data_t sdata,
int  ipixel,
int  nwl 
)

Set sdata->pixel[ipixel].nwl.

◆ grasp_segment_set_pixel_out_t()

void grasp_segment_set_pixel_out_t ( sensor_data_t sdata,
int  ipixel,
int  out_t 
)

Set sdata->pixel[ipixel].out_t.

◆ grasp_segment_set_pixel_out_x()

void grasp_segment_set_pixel_out_x ( sensor_data_t sdata,
int  ipixel,
int  out_x 
)

Set sdata->pixel[ipixel].out_x.

◆ grasp_segment_set_pixel_out_y()

void grasp_segment_set_pixel_out_y ( sensor_data_t sdata,
int  ipixel,
int  out_y 
)

Set sdata->pixel[ipixel].out_y.

◆ grasp_segment_set_pixel_t()

void grasp_segment_set_pixel_t ( sensor_data_t sdata,
int  ipixel,
int64_t  t 
)

Set sdata->pixel[ipixel].t (time)

◆ grasp_segment_set_pixel_x()

void grasp_segment_set_pixel_x ( sensor_data_t sdata,
int  ipixel,
float  x 
)

Set sdata->pixel[ipixel].x (longitude)

◆ grasp_segment_set_pixel_y()

void grasp_segment_set_pixel_y ( sensor_data_t sdata,
int  ipixel,
float  y 
)

Set sdata->pixel[ipixel].y (latitude)

◆ grasp_segment_validate()

int grasp_segment_validate ( grasp_segment_t segment)

Return 0 if the segment is valid, otherwise return error code.

Parameters
segment
Returns
status code