BG_Flood  0.8
Documentation (Work-in-progress)
Read_netcdf.cu File Reference
#include "Read_netcdf.h"
Include dependency graph for Read_netcdf.cu:

Functions

int nc_get_var_T (int ncid, int varid, float *&zb)
 
int nc_get_var_T (int ncid, int varid, double *&zb)
 
int nc_get_var_T (int ncid, int varid, int *&zb)
 
int nc_get_vara_T (int ncid, int varid, const size_t *startp, const size_t *countp, int *&zb)
 
int nc_get_vara_T (int ncid, int varid, const size_t *startp, const size_t *countp, float *&zb)
 
int nc_get_vara_T (int ncid, int varid, const size_t *startp, const size_t *countp, double *&zb)
 
int nc_get_var1_T (int ncid, int varid, const size_t *startp, float *zsa)
 
int nc_get_var1_T (int ncid, int varid, const size_t *startp, double *zsa)
 
void readgridncsize (const std::string ncfilestr, const std::string varstr, int &nx, int &ny, int &nt, double &dx, double &xo, double &yo, double &to, double &xmax, double &ymax, double &tmax, bool &flipx, bool &flipy)
 
int readvarinfo (std::string filename, std::string Varname, size_t *&ddimU)
 
int readnctime (std::string filename, double *&time)
 
template<class T >
int readncslev1 (std::string filename, std::string varstr, size_t indx, size_t indy, size_t indt, bool checkhh, double eps, T *&zsa)
 
template int readncslev1< float > (std::string filename, std::string varstr, size_t indx, size_t indy, size_t indt, bool checkhh, double eps, float *&zsa)
 
template int readncslev1< double > (std::string filename, std::string varstr, size_t indx, size_t indy, size_t indt, bool checkhh, double eps, double *&zsa)
 
template<class T >
int readvardata (std::string filename, std::string Varname, int step, T *&vardata, bool flipx, bool flipy)
 
template int readvardata< int > (std::string filename, std::string Varname, int step, int *&vardata, bool flipx, bool flipy)
 
template int readvardata< float > (std::string filename, std::string Varname, int step, float *&vardata, bool flipx, bool flipy)
 
template int readvardata< double > (std::string filename, std::string Varname, int step, double *&vardata, bool flipx, bool flipy)
 
std::string checkncvarname (int ncid, std::string stringA, std::string stringB, std::string stringC, std::string stringD, std::string stringE)
 
void readWNDstep (forcingmap WNDUmap, forcingmap WNDVmap, int steptoread, float *&Uo, float *&Vo)
 
void readATMstep (forcingmap ATMPmap, int steptoread, float *&Po)
 
void read3Dnc (int nx, int ny, int ntheta, char ncfile[], float *&ee)
 
void read2Dnc (int nx, int ny, char ncfile[], float *&hh)
 
void readnczb (int nx, int ny, std::string ncfile, float *&zb)
 

Function Documentation

◆ checkncvarname()

std::string checkncvarname ( int  ncid,
std::string  stringA,
std::string  stringB,
std::string  stringC,
std::string  stringD,
std::string  stringE 
)

◆ nc_get_var1_T() [1/2]

int nc_get_var1_T ( int  ncid,
int  varid,
const size_t *  startp,
double *  zsa 
)
inline

◆ nc_get_var1_T() [2/2]

int nc_get_var1_T ( int  ncid,
int  varid,
const size_t *  startp,
float *  zsa 
)
inline

◆ nc_get_var_T() [1/3]

int nc_get_var_T ( int  ncid,
int  varid,
double *&  zb 
)
inline

◆ nc_get_var_T() [2/3]

int nc_get_var_T ( int  ncid,
int  varid,
float *&  zb 
)
inline

◆ nc_get_var_T() [3/3]

int nc_get_var_T ( int  ncid,
int  varid,
int *&  zb 
)
inline

◆ nc_get_vara_T() [1/3]

int nc_get_vara_T ( int  ncid,
int  varid,
const size_t *  startp,
const size_t *  countp,
double *&  zb 
)
inline

◆ nc_get_vara_T() [2/3]

int nc_get_vara_T ( int  ncid,
int  varid,
const size_t *  startp,
const size_t *  countp,
float *&  zb 
)
inline

◆ nc_get_vara_T() [3/3]

int nc_get_vara_T ( int  ncid,
int  varid,
const size_t *  startp,
const size_t *  countp,
int *&  zb 
)
inline

◆ read2Dnc()

void read2Dnc ( int  nx,
int  ny,
char  ncfile[],
float *&  hh 
)

◆ read3Dnc()

void read3Dnc ( int  nx,
int  ny,
int  ntheta,
char  ncfile[],
float *&  ee 
)

◆ readATMstep()

void readATMstep ( forcingmap  ATMPmap,
int  steptoread,
float *&  Po 
)

◆ readgridncsize()

void readgridncsize ( const std::string  ncfilestr,
const std::string  varstr,
int &  nx,
int &  ny,
int &  nt,
double &  dx,
double &  xo,
double &  yo,
double &  to,
double &  xmax,
double &  ymax,
double &  tmax,
bool &  flipx,
bool &  flipy 
)

◆ readncslev1()

template<class T >
int readncslev1 ( std::string  filename,
std::string  varstr,
size_t  indx,
size_t  indy,
size_t  indt,
bool  checkhh,
double  eps,
T *&  zsa 
)

◆ readncslev1< double >()

template int readncslev1< double > ( std::string  filename,
std::string  varstr,
size_t  indx,
size_t  indy,
size_t  indt,
bool  checkhh,
double  eps,
double *&  zsa 
)

◆ readncslev1< float >()

template int readncslev1< float > ( std::string  filename,
std::string  varstr,
size_t  indx,
size_t  indy,
size_t  indt,
bool  checkhh,
double  eps,
float *&  zsa 
)

◆ readnctime()

int readnctime ( std::string  filename,
double *&  time 
)

◆ readnczb()

void readnczb ( int  nx,
int  ny,
std::string  ncfile,
float *&  zb 
)

◆ readvardata()

template<class T >
int readvardata ( std::string  filename,
std::string  Varname,
int  step,
T *&  vardata,
bool  flipx,
bool  flipy 
)

◆ readvardata< double >()

template int readvardata< double > ( std::string  filename,
std::string  Varname,
int  step,
double *&  vardata,
bool  flipx,
bool  flipy 
)

◆ readvardata< float >()

template int readvardata< float > ( std::string  filename,
std::string  Varname,
int  step,
float *&  vardata,
bool  flipx,
bool  flipy 
)

◆ readvardata< int >()

template int readvardata< int > ( std::string  filename,
std::string  Varname,
int  step,
int *&  vardata,
bool  flipx,
bool  flipy 
)

◆ readvarinfo()

int readvarinfo ( std::string  filename,
std::string  Varname,
size_t *&  ddimU 
)

◆ readWNDstep()

void readWNDstep ( forcingmap  WNDUmap,
forcingmap  WNDVmap,
int  steptoread,
float *&  Uo,
float *&  Vo 
)