Gateau User Manual
Atmospheric simulation of astronomical signals
fio.h File Reference

File input/output operations. More...

#include <iostream>
#include <iomanip>
#include <cmath>
#include <fstream>
#include <string>
#include <sstream>
#include <filesystem>
#include "hdf5.h"
#include "structs.h"

Go to the source code of this file.

Classes

class  OutputFile
 

Macros

#define __FILEIO_H
 
#define NPWVATM   55
 
#define NFREQ   8301
 
#define NATMGRID   3
 
#define COLBUFF   16
 
#define FMTBUFF   4
 
#define OBSATTRS_NAME   "OBSATTRS"
 
#define SPAX_NAME   "SPAXEL"
 
#define FREQS_NAME   "frequencies"
 
#define TIME_NAME   "times"
 
#define AZ_NAME   "az"
 
#define EL_NAME   "el"
 
#define AZ_SPAX_NAME   "az_spax"
 
#define EL_SPAX_NAME   "el_spax"
 
#define OUT_NAME   "data"
 
#define CHBUFF   100
 
#define RANK1D   1
 
#define RANK2D   2
 

Functions

void readAtmMeta (int **meta, std::string path)
 
template<typename T , typename U >
void readEtaATM (T **eta_array, U *pwv_atm, U *freq_atm)
 
template<typename T , typename U >
void readAtmScreen (T **PWV_screen, U *x_spec, U *y_spec, std::string path, std::string datp)
 
template<typename T , typename U >
void readEtaATM (T **eta_array, U *pwv_atm, U *freq_atm, const char *filepath)
 

Detailed Description

File input/output operations.