#include <stdlib.h>
#include <stdint.h>
#include <libgen.h>
#include <float.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <time.h>
#include <iostream>
#include <vector>
#include <algorithm>
#include <string>
#include <netcdf>
#include <boost/algorithm/string.hpp>
#include <boost/geometry.hpp>
#include <boost/geometry/geometries/point_xy.hpp>
#include <boost/geometry/geometries/polygon.hpp>
#include <boost/geometry/geometries/box.hpp>
#include <boost/foreach.hpp>
#include <meta_l3b.h>
#include <seaproto.h>
#include <readL2scan.h>
#include <timeutils.h>
#include <genutils.h>
#include <setupflags.h>
#include <sensorInfo.h>
#include <sensorDefs.h>
#include <nc4utils.h>
#include <ncdfbin_utils.h>
#include <hdf.h>
#include <mfhdf.h>
#include "dataday.h"
#include "l2bin_input.h"
#include "L3Shape.h"
#include "L3ShapeIsine.h"
Go to the source code of this file.
|
int32_t | get_l2prod_index (const l2_prod &l2, const char *prodname) |
|
void | addPixelToBin (int32_t ifile, int32_t ipixl, uint64_t bin, double areaFrac=1.0) |
|
bool | binIntersectsPixel (int32_t row, int32_t col, Box_t &pixelBox, double &areaFrac) |
|
bool | binIntersectsPixel (int32_t row, int32_t col, Polygon_t &pixelPoly, double &areaFrac) |
|
template<class T > |
bool | getBinsFromRow (double lat, double lon, T &pixelPoly, std::map< uint64_t, double > &areas) |
|
void | getBins (int32_t ifile, int32_t ipixl, std::map< uint64_t, double > &areas) |
|
int | main (int argc, char **argv) |
|
int64_t | getbinnum (int32_t ifile, int32_t ipixl) |
|
◆ EARTH_RADIUS
#define EARTH_RADIUS 6378.14 |
◆ LTILT_DIMS_2
◆ MAXALLOCPERBIN
#define MAXALLOCPERBIN 20 |
◆ MTILT_DIMS_2
◆ PI
#define PI 3.141592653589793 |
◆ PROGRAM
◆ VERSION
◆ Box_t
◆ Point_t
typedef bg::model::point<double, 2, bg::cs::geographic<bg::degree> > Point_t |
◆ Polygon_t
◆ addPixelToBin()
void addPixelToBin |
( |
int32_t |
ifile, |
|
|
int32_t |
ipixl, |
|
|
uint64_t |
bin, |
|
|
double |
areaFrac = 1.0 |
|
) |
| |
◆ binIntersectsPixel() [1/2]
bool binIntersectsPixel |
( |
int32_t |
row, |
|
|
int32_t |
col, |
|
|
Box_t & |
pixelBox, |
|
|
double & |
areaFrac |
|
) |
| |
◆ binIntersectsPixel() [2/2]
bool binIntersectsPixel |
( |
int32_t |
row, |
|
|
int32_t |
col, |
|
|
Polygon_t & |
pixelPoly, |
|
|
double & |
areaFrac |
|
) |
| |
◆ get_l2prod_index()
int32_t get_l2prod_index |
( |
const l2_prod & |
l2, |
|
|
const char * |
prodname |
|
) |
| |
◆ getbinnum()
int64_t getbinnum |
( |
int32_t |
ifile, |
|
|
int32_t |
ipixl |
|
) |
| |
◆ getBins()
void getBins |
( |
int32_t |
ifile, |
|
|
int32_t |
ipixl, |
|
|
std::map< uint64_t, double > & |
areas |
|
) |
| |
◆ getBinsFromRow()
bool getBinsFromRow |
( |
double |
lat, |
|
|
double |
lon, |
|
|
T & |
pixelPoly, |
|
|
std::map< uint64_t, double > & |
areas |
|
) |
| |
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ allocated_space
◆ bin_flag
◆ composite_l3prod_index
int16_t composite_l3prod_index = -1 |
◆ composite_prod_index
◆ denom
◆ f32
◆ krow
◆ l3b_nprod
◆ lastfile
◆ min_value
◆ n_allocperbin
◆ n_bins_in_group
◆ n_rows_in_group
int32_t n_rows_in_group = -1 |
◆ nscenes
◆ numer
◆ qual
◆ qual_prod_index
◆ sensorID
◆ thirdDimId
◆ tilt
◆ tiltstate