ocssw
V2022
|
smeta_geometry.c
Go to the documentation of this file.
103 *l1t_samp = (proj_x - smeta->projection.corners.upleft.x)/smeta->band_smeta_ls[band_index].pixsize;
104 *l1t_line = (smeta->projection.corners.upleft.y - proj_y)/smeta->band_smeta_ls[band_index].pixsize;
141 ias_geo_set_projection( proj.code, proj.zone, proj_units, proj.spheroid, proj.projprms, &out_proj );
void ias_geo_set_projection(int proj_code, int zone, int units, int spheroid, const double *parms, IAS_PROJECTION *proj)
Definition: ias_geo_projection_transformation.c:74
int smeta_band_number_to_index(SMETA *smeta, int band)
Definition: smeta_geometry.c:205
Definition: smeta.h:57
PARAM_TYPE_NONE Default value No parameter is buried in the product name name_prefix is case insensitive string compared to the product name PARAM_TYPE_VIS_WAVE The visible wavelength bands from the sensor are buried in the product name The product name is compared by appending and name_suffix ie aph_412_giop where prod_ix will be set to PARAM_TYPE_IR_WAVE same search method as PARAM_TYPE_VIS_WAVE except only wavelength above are looped through but prod_ix is still based ie aph_2_giop for the second band
Definition: HOWTO_Add_a_product.txt:42
int smeta_proj_to_l1t(SMETA *smeta, int band, double proj_x, double proj_y, double *l1t_line, double *l1t_samp)
Definition: smeta_geometry.c:73
void ias_geo_destroy_proj_transformation(IAS_GEO_PROJ_TRANSFORMATION *trans)
Definition: ias_geo_projection_transformation.c:230
int smeta_geodetic_to_ecf2lsr(double lat, double lon, double ecf2lsr[3][3])
Definition: smeta_geometry.c:48
int ias_geo_transform_coordinate(const IAS_GEO_PROJ_TRANSFORMATION *trans, double inx, double iny, double *outx, double *outy)
Definition: ias_geo_projection_transformation.c:271
int smeta_init_projection(SMETA_SCENE_PROJ proj)
Definition: smeta_geometry.c:110
Definition: ias_structures.h:24
int smeta_geodetic_to_ecef(double lat, double lon, double hgt, IAS_VECTOR *ecef)
Definition: smeta_geometry.c:29
int smeta_geodetic_to_proj(SMETA_SCENE_PROJ proj, double lat, double lon, double *proj_x, double *proj_y)
Definition: smeta_geometry.c:158
void ias_geo_convert_geod2cart(double latitude, double longitude, double height, double semimajor, double flattening, IAS_VECTOR *cart)
Definition: ias_geo_convert_geod2cart.c:25
Definition: smeta.h:118
int smeta_transform_projection(double inx, double iny, double *outx, double *outy)
Definition: smeta_geometry.c:182
IAS_GEO_PROJ_TRANSFORMATION * ias_geo_create_proj_transformation(const IAS_PROJECTION *source_projection, const IAS_PROJECTION *target_projection)
Definition: ias_geo_projection_transformation.c:144