ocssw
V2022
|
#include <stdlib.h>
#include <stdio.h>
#include "l1.h"
#include "l1_l7etm.h"
#include <tiffio.h>
#include <geotiff.h>
#include <xtiffio.h>
#include <geo_normalize.h>
#include <libgen.h>
Go to the source code of this file.
Classes | |
struct | L7ETM_struct |
Functions | |
int | get_l57tm_nom_angles (char *meta_filename, int32_t npix, int32_t nscan, int32_t iscan, float *solz, float *sola, float *senz, float *sena) |
l7etm_t * | createPrivateData_l7etm (int numBands) |
void | freePrivateData_l7etm (l7etm_t *data) |
void | readNextLine_l7etm (FILE *fp, char *tag, int *i, char *val) |
int | openl1_l7etm (filehandle *file) |
int | readl1_l7etm (filehandle *file, int recnum, l1str *l1rec, int lonlat) |
int | closel1_l7etm (filehandle *file) |
Function Documentation
◆ closel1_l7etm()
int closel1_l7etm | ( | filehandle * | file | ) |
Definition at line 462 of file l1_l7etm.c.
◆ createPrivateData_l7etm()
l7etm_t* createPrivateData_l7etm | ( | int | numBands | ) |
Definition at line 35 of file l1_l7etm.c.
◆ freePrivateData_l7etm()
void freePrivateData_l7etm | ( | l7etm_t * | data | ) |
Definition at line 76 of file l1_l7etm.c.
◆ get_l57tm_nom_angles()
int get_l57tm_nom_angles | ( | char * | meta_filename, |
int32_t | npix, | ||
int32_t | nscan, | ||
int32_t | iscan, | ||
float * | solz, | ||
float * | sola, | ||
float * | senz, | ||
float * | sena | ||
) |
Get the Landsat Nominal OLI angles from a MTL file
- Parameters
-
in input MTL file in input number of pixels per line in input number of lines in input scan line to work on out output satellite zenith angle out output satellite azimuth angle out output solar zenith angle out output solar azimuth angle
Definition at line 14 of file get_l57tm_nom_angles.c.
◆ openl1_l7etm()
int openl1_l7etm | ( | filehandle * | file | ) |
Definition at line 126 of file l1_l7etm.c.
◆ readl1_l7etm()
int readl1_l7etm | ( | filehandle * | file, |
int | recnum, | ||
l1str * | l1rec, | ||
int | lonlat | ||
) |
Definition at line 339 of file l1_l7etm.c.
◆ readNextLine_l7etm()
void readNextLine_l7etm | ( | FILE * | fp, |
char * | tag, | ||
int * | i, | ||
char * | val | ||
) |
Definition at line 86 of file l1_l7etm.c.