Go to the documentation of this file.
9 #define DSIGN(A, B) B >= 0 ? fabs(A) : -fabs(A)
10 const static int32_t maxlin = 16000;
11 const static double pi = 3.141592653589793e0, radeg = 57.29577951e0, re_const = 6378.137e0, rem = 6371.e0,
12 f_const = 1.e0 / 298.257e0,
omf2 = (1.e0 - f_const) * (1.e0 - f_const),
13 omegae = 7.29211585494e-5;
22 double norm(
const double* vec,
size_t n);
31 double square(
const double* vec,
size_t n);
41 double dot(
const double* vec1,
const double* vec2,
size_t n);
56 double dmod(
double a,
double p);
70 int32_t
jd(int32_t
i, int32_t
j, int32_t
k);
78 double julian(
double tin[2]);
128 void ymdhms2jul(int32_t year,int32_t month, int32_t
day,int32_t hour, int32_t minute,
double sec,
double *jul);
double norm(const double *vec, size_t n)
computes the norm of a vector
double dmod(double a, double p)
Description:
int32_t jd(int32_t i, int32_t j, int32_t k)
c This function converts a calendar date to the corresponding Julian day starting at noon on the cale...
double square(const double *vec, size_t n)
computes the square of the norm of a vector
double julian(double tin[2])
void jddate(int jd, int *i, int *j, int *k)
Construct a new ddate objectC C This routine computes the calendar date corresponding to C a given Ju...
void jdate(int jd, int *i, int *k)
void ymdhms2jul(int32_t year, int32_t month, int32_t day, int32_t hour, int32_t minute, double sec, double *jul)
c ----------------------------------------------------------— c Subroutine ymdhms2jul c c Convers fro...
double dot(const double *vec1, const double *vec2, size_t n)
computes the scalar/dot product of two vectors
PGE01 indicating that PGE02 PGE01 V6 for and PGE01 V2 for MOD03 were used to produce the granule By convention adopted in all MODIS Terra PGE02 code versions are The fourth digit of the PGE02 version denotes the LUT version used to produce the granule The source of the metadata environment variable ProcessingCenter was changed from a QA LUT value to the Process Configuration A sign used in error in the second order term was changed to a