#include "get_dataday.h"
#include "get_dataday.hpp"
#include <boost/geometry.hpp>
#include <boost/geometry/geometries/point_xy.hpp>
#include <boost/geometry/geometries/polygon.hpp>
#include <boost/optional.hpp>
#include <get_geospatial.hpp>
#include <cstdlib>
#include <iostream>
#include <netcdf>
#include "sensorDefs.h"
#include "sensorInfo.h"
#include "timeutils.h"
#include "version.h"
Go to the source code of this file.
|
Polygon_t | parse_wkr_polygon (const std::string &wkt_string) |
|
Polygon_t | gRing_to_gPolygon (float *gRingLats, float *gRingLons, size_t length) |
|
void | printUsage (int32_t exitStatus) |
|
void | get_datadays (time_t starttime, float equatorialCrossingTime, DL dateLineCrossed, float west, float east, int32_t *dataday0, int32_t *dataday1) |
|
void | getEquatorCrossingTime (int32_t sensorID, bool dayNight, time_t starttime, float *equatorialCrossingTime, int32_t *plusDay) |
|
std::string | dataday_to_isodate (int32_t dataday) |
|
int32_t | get_plusday () |
|
float | get_equatorial_crossingTime () |
|
std::pair< int32_t, int32_t > | get_datadays (const std::string &filepath) |
|
std::pair< int32_t, int32_t > | get_datadays (const NcFile &nc_input, float deltaeqcross, int night_flag) |
|
int | get_datadays (const char *path, int32_t *day0, int32_t *day1) |
|
void | set_verbosity (int val) |
|
◆ _PRINT_
◆ Linestring_t
◆ MultiPoint_t
◆ Point_t
typedef bg::model::point<double, 2, bg::cs::spherical_equatorial<bg::degree> > Point_t |
◆ Polygon_t
◆ DL
Enumerator |
---|
NOT_CROSSED | |
CROSSED | |
CROSSED_NORTH_POLE | |
CROSSED_SOUTH_POLE | |
CROSSED_IRREGULAR | |
NOT_CROSSED | |
CROSSED | |
CROSSED_NORTH_POLE | |
CROSSED_SOUTH_POLE | |
CROSSED_IRREGULAR | |
Definition at line 80 of file get_dataday.cpp.
◆ dataday_to_isodate()
◆ get_datadays() [1/4]
int get_datadays |
( |
const char * |
path, |
|
|
int32_t * |
day0, |
|
|
int32_t * |
day1 |
|
) |
| |
Get the datadays object.
- Parameters
-
path | - path to the input granule |
day0 | - the earliset day the granule covers |
day1 | - the latest day the granule covers |
- Returns
- int
Definition at line 377 of file get_dataday.cpp.
◆ get_datadays() [2/4]
std::pair<int32_t, int32_t> get_datadays |
( |
const NcFile & |
nc_input, |
|
|
float |
deltaeqcross, |
|
|
int |
night_flag |
|
) |
| |
◆ get_datadays() [3/4]
◆ get_datadays() [4/4]
void get_datadays |
( |
time_t |
starttime, |
|
|
float |
equatorialCrossingTime, |
|
|
DL |
dateLineCrossed, |
|
|
float |
west, |
|
|
float |
east, |
|
|
int32_t * |
dataday0, |
|
|
int32_t * |
dataday1 |
|
) |
| |
◆ get_equatorial_crossingTime()
float get_equatorial_crossingTime |
( |
| ) |
|
Get the equatorial crossing time.
- Returns
- float
Definition at line 267 of file get_dataday.cpp.
◆ get_plusday()
◆ getEquatorCrossingTime()
void getEquatorCrossingTime |
( |
int32_t |
sensorID, |
|
|
bool |
dayNight, |
|
|
time_t |
starttime, |
|
|
float * |
equatorialCrossingTime, |
|
|
int32_t * |
plusDay |
|
) |
| |
◆ gRing_to_gPolygon()
Polygon_t gRing_to_gPolygon |
( |
float * |
gRingLats, |
|
|
float * |
gRingLons, |
|
|
size_t |
length |
|
) |
| |
◆ parse_wkr_polygon()
ttps://www.vertica.com/docs/11.0.x/HTML/Content/Authoring/AnalyzingData/Geospatial/Spatial_Definitions/WellknownTextWKT.htm
- Parameters
-
Definition at line 49 of file get_dataday.cpp.
◆ printUsage()
void printUsage |
( |
int32_t |
exitStatus | ) |
|
◆ set_verbosity()
void set_verbosity |
( |
int |
val | ) |
|
Set the verbosity.
- Parameters
-
val | if val > 0 verbosity is set to 1 (true) |
Definition at line 384 of file get_dataday.cpp.