IODA Bundle
GsiSatBiasReader.h File Reference
#include <string>
#include <vector>
#include <fstream>
#include <Eigen/Dense>
Include dependency graph for GsiSatBiasReader.h:
This graph shows which files directly or indirectly include this file:

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...
 

Function Documentation

◆ findSensorsChannels()

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.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readObsBiasCoeffErrors()

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)

Parameters
filenamefile with bias coefficients (GSI style)
sensorinstrument+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.

Here is the caller graph for this function:

◆ readObsBiasCoefficients()

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)

Parameters
filenamefile with bias coefficients (GSI style)
sensorinstrument+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.

Here is the caller graph for this function:

Variable Documentation

◆ gsi_npredictors

constexpr size_t gsi_npredictors = 12
constexpr

Number of predictors in GSI satbias file.

Definition at line 17 of file GsiSatBiasReader.h.