#include <cstdlib>
#include <cstdint>
#include <libgen.h>
#include <cfloat>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <ctime>
#include <iostream>
#include <vector>
#include <algorithm>
#include <string>
#include <netcdf>
#include <boost/algorithm/string.hpp>
#include <boost/geometry.hpp>
#include <boost/geometry/geometries/polygon.hpp>
#include <boost/geometry/geometries/box.hpp>
#include <boost/foreach.hpp>
#include <boost/algorithm/string/trim.hpp>
#include <get_dataday.hpp>
#include <meta_l3b.h>
#include <seaproto.h>
#include <readL2scan.h>
#include <timeutils.h>
#include <genutils.h>
#include <setupflags.h>
#include <sensorInfo.h>
#include <nc4utils.h>
#include <ncdfbin_utils.h>
#include <chrono>
#include <hdf.h>
#include "l2bin_input.h"
#include "L3Shape.h"
#include "L3ShapeIsine.h"
#include <get_geospatial.hpp>
#include "expand3D.hpp"
#include "find_variable.hpp"
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, bool is_l2_flags_defined=true, 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) |
|
bool | skip_DL (float lon, int side, int night_flag, time_t end_day, time_t beg_day) |
|
int | main (int argc, char **argv) |
|
int64_t | getbinnum (int32_t ifile, int32_t ipixl) |
|
◆ LTILT_DIMS_2
◆ MAXALLOCPERBIN
#define MAXALLOCPERBIN 20 |
◆ MTILT_DIMS_2
◆ 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, |
|
|
bool |
is_l2_flags_defined = true , |
|
|
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 |
|
) |
| |
◆ skip_DL()
bool skip_DL |
( |
float |
lon, |
|
|
int |
side, |
|
|
int |
night_flag, |
|
|
time_t |
end_day, |
|
|
time_t |
beg_day |
|
) |
| |
checks if lon should be skipped
- Parameters
-
lon | input longitude |
side | side (west or east) of the dateline should be included |
night_flag | night |
end_day | time difference between the start scan time and the end day |
beg_day | time difference between the start scan time and the beginning day |
Definition at line 692 of file l2bin.cpp.
◆ allocated_space
◆ bin_flag
◆ composite_l3prod_index
int16_t composite_l3prod_index = -1 |
◆ composite_prod_index
◆ denom
◆ f32
◆ krow
◆ l3b_nprod
◆ lastfile
◆ max_value
◆ 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