|
IODA Bundle
|
#include <string>#include <vector>#include <fstream>#include <Eigen/Dense>Go to the source code of this file.
Functions | |
| void | findSensorsChannels (const std::string &filename, std::vector< std::string > &sensors, std::vector< int > &nchannels) |
| void | readObsBiasCoefficients (const std::string &filename, const std::string &sensor, std::vector< int > &channels, Eigen::ArrayXXf &coeffs) |
| void | readObsBiasCoeffErrors (const std::string &filename, const std::string &sensor, std::vector< int > &channels, Eigen::ArrayXXf &errs, Eigen::ArrayXf &nobs) |
Variables | |
| constexpr size_t | gsi_npredictors = 12 |
| Number of predictors in GSI satbias file. More... | |
| void findSensorsChannels | ( | const std::string & | filename, |
| std::vector< std::string > & | sensors, | ||
| std::vector< int > & | nchannels | ||
| ) |
Finds all sensors in the file (returned in sensors) and number of channels for all the sensors (returned in nchannels)
Read the first entry, save first sensor
Definition at line 34 of file GsiSatBiasReader.cpp.
| void readObsBiasCoeffErrors | ( | const std::string & | filename, |
| const std::string & | sensor, | ||
| std::vector< int > & | channels, | ||
| Eigen::ArrayXXf & | errs, | ||
| Eigen::ArrayXf & | nobs | ||
| ) |
Read bias coefficients errors from the GSI file (satbias_pc)
| filename | file with bias coefficients (GSI style) |
| sensor | instrument+satellite that is to be read from the file |
| (out) | channels channels for sensor |
| (out) | errs bias coefficients error variances |
| (out) | nobs number of observations |
it's the sensor we're interested in; read in coefficients and channel indices
not interested in this channel; passing
Definition at line 111 of file GsiSatBiasReader.cpp.
| void readObsBiasCoefficients | ( | const std::string & | filename, |
| const std::string & | sensor, | ||
| std::vector< int > & | channels, | ||
| Eigen::ArrayXXf & | coeffs | ||
| ) |
Read bias coefficients from the GSI bias coefficients file (satbias_in)
| filename | file with bias coefficients (GSI style) |
| sensor | instrument+satellite that is to be read from the file |
| (out) | channels channels for sensor |
| (out) | coeffs bias coefficients |
it's the sensor we're interested in; read in coefficients and channel indices
not interested in this channel; passing
Definition at line 69 of file GsiSatBiasReader.cpp.
|
constexpr |
Number of predictors in GSI satbias file.
Definition at line 17 of file GsiSatBiasReader.h.