ocssw
V2022
|
#include <fstream>
#include <iostream>
#include <sstream>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_matrix_double.h>
#include <string.h>
#include <string>
#include "hawkeye_methods.h"
#include "netcdf.h"
#include <cstdio>
#include <cstdlib>
#include <vector>
#include "spline.h"
#include <math.h>
#include <timeutils.h>
Go to the source code of this file.
Macros | |
#define | RADEG 57.29577951 |
Functions | |
int | latlon_interp_dist (size_t num_gridlines, double *dist_ai, float *lati, float *loni, double *dist, float *lati2, float *loni2) |
int | latlon_interp2 (size_t num_gridlines, size_t num_pixels, double *gtime, float *lati, float *loni, double *gtime2, float *lati2, float *loni2) |
int | latlon_interp1pix (size_t num_gridlines, size_t gd_index, double *tgrid, float *lat_nad, float *lon_nad, float *latipix, float *lonipix) |
int | latlon_interp_vec (size_t n_orb_rec, size_t num_gridlines, double *torb, double *latorb, double *lonorb, double *tmgv, float *lati, float *loni) |
int | latlon_interp (size_t n_orb_rec, size_t num_gridlines, size_t num_pixels, double *torb, float **lat, float **lon, double *time, float *lati, float *loni) |
int | orb_interp2 (size_t n_orb_rec, size_t sdim, double *torb, orb_array2 *p, orb_array2 *v, double *time, orb_array2 *posi, orb_array2 *veli) |
int | orb_interp (size_t n_orb_rec, size_t sdim, double *torb, orb_array *p, orb_array *v, double *time, orb_array *posi, orb_array *veli) |
int | j2000_to_ecr (int32_t iyr, int32_t idy, double sec, double ecmat[3][3]) |
int | j2000_to_mod (int32_t iyr, int32_t idy, double sec, double j2mod[3][3]) |
int | get_nut (int32_t iyr, int32_t idy, double xnut[3][3]) |
int | ephparms (double t, double &xls, double &gs, double &xlm, double &omega) |
int | nutate (double t, double xls, double gs, double xlm, double omega, double &dpsi, double &eps, double &epsm) |
int | get_ut1 (int32_t iyr, int32_t idy, double &ut1utc) |
int | gha2000 (int32_t iyr, double day, double &gha) |
int | expandEnvVar (std::string *sValue) |
Macro Definition Documentation
◆ RADEG
#define RADEG 57.29577951 |
Definition at line 21 of file hawkeye_methods.cpp.
Function Documentation
◆ ephparms()
int ephparms | ( | double | t, |
double & | xls, | ||
double & | gs, | ||
double & | xlm, | ||
double & | omega | ||
) |
Definition at line 709 of file hawkeye_methods.cpp.
◆ expandEnvVar()
|
inline |
Definition at line 852 of file hawkeye_methods.cpp.
◆ get_nut()
int get_nut | ( | int32_t | iyr, |
int32_t | idy, | ||
double | xnut[3][3] | ||
) |
Definition at line 681 of file hawkeye_methods.cpp.
◆ get_ut1()
int get_ut1 | ( | int32_t | iyr, |
int32_t | idy, | ||
double & | ut1utc | ||
) |
Definition at line 769 of file hawkeye_methods.cpp.
◆ gha2000()
int gha2000 | ( | int32_t | iyr, |
double | day, | ||
double & | gha | ||
) |
Definition at line 819 of file hawkeye_methods.cpp.
◆ j2000_to_ecr()
int j2000_to_ecr | ( | int32_t | iyr, |
int32_t | idy, | ||
double | sec, | ||
double | ecmat[3][3] | ||
) |
Definition at line 589 of file hawkeye_methods.cpp.
◆ j2000_to_mod()
int j2000_to_mod | ( | int32_t | iyr, |
int32_t | idy, | ||
double | sec, | ||
double | j2mod[3][3] | ||
) |
Definition at line 646 of file hawkeye_methods.cpp.
◆ latlon_interp()
int latlon_interp | ( | size_t | n_orb_rec, |
size_t | num_gridlines, | ||
size_t | num_pixels, | ||
double * | torb, | ||
float ** | lat, | ||
float ** | lon, | ||
double * | time, | ||
float * | lati, | ||
float * | loni | ||
) |
Definition at line 236 of file hawkeye_methods.cpp.
◆ latlon_interp1pix()
int latlon_interp1pix | ( | size_t | num_gridlines, |
size_t | gd_index, | ||
double * | tgrid, | ||
float * | lat_nad, | ||
float * | lon_nad, | ||
float * | latipix, | ||
float * | lonipix | ||
) |
Definition at line 116 of file hawkeye_methods.cpp.
◆ latlon_interp2()
int latlon_interp2 | ( | size_t | num_gridlines, |
size_t | num_pixels, | ||
double * | gtime, | ||
float * | lati, | ||
float * | loni, | ||
double * | gtime2, | ||
float * | lati2, | ||
float * | loni2 | ||
) |
Definition at line 76 of file hawkeye_methods.cpp.
◆ latlon_interp_dist()
int latlon_interp_dist | ( | size_t | num_gridlines, |
double * | dist_ai, | ||
float * | lati, | ||
float * | loni, | ||
double * | dist, | ||
float * | lati2, | ||
float * | loni2 | ||
) |
Definition at line 29 of file hawkeye_methods.cpp.
◆ latlon_interp_vec()
int latlon_interp_vec | ( | size_t | n_orb_rec, |
size_t | num_gridlines, | ||
double * | torb, | ||
double * | latorb, | ||
double * | lonorb, | ||
double * | tmgv, | ||
float * | lati, | ||
float * | loni | ||
) |
Definition at line 158 of file hawkeye_methods.cpp.
◆ nutate()
int nutate | ( | double | t, |
double | xls, | ||
double | gs, | ||
double | xlm, | ||
double | omega, | ||
double & | dpsi, | ||
double & | eps, | ||
double & | epsm | ||
) |
Definition at line 738 of file hawkeye_methods.cpp.
◆ orb_interp()
int orb_interp | ( | size_t | n_orb_rec, |
size_t | sdim, | ||
double * | torb, | ||
orb_array * | p, | ||
orb_array * | v, | ||
double * | time, | ||
orb_array * | posi, | ||
orb_array * | veli | ||
) |
Definition at line 509 of file hawkeye_methods.cpp.
◆ orb_interp2()
int orb_interp2 | ( | size_t | n_orb_rec, |
size_t | sdim, | ||
double * | torb, | ||
orb_array2 * | p, | ||
orb_array2 * | v, | ||
double * | time, | ||
orb_array2 * | posi, | ||
orb_array2 * | veli | ||
) |
Definition at line 428 of file hawkeye_methods.cpp.