|
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_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) |
|
std::string | checkncvarname (int ncid, std::string stringA, std::string stringB, std::string stringC, std::string stringD, std::string stringE) |
|
void | readgridncsize (const std::string ncfilestr, const std::string varstr, std::string reftime, int &nx, int &ny, int &nt, double &dx, double &dy, double &dt, double &xo, double &yo, double &to, double &xmax, double &ymax, double &tmax, bool &flipx, bool &flipy) |
|
void | readgridncsize (forcingmap &Fmap, Param XParam) |
|
template<class T > |
void | readgridncsize (T &Imap) |
|
int | readvarinfo (std::string filename, std::string Varname, size_t *&ddimU) |
|
int | readnctime (std::string filename, double *&time) |
|
int | readnctime2 (int ncid, char *timecoordname, std::string refdate, size_t nt, 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<class T > |
int | readvardata (std::string filename, std::string Varname, int step, T *&vardata, bool flipx, bool flipy) |
|
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) |
|
int readnctime2 |
( |
int |
ncid, |
|
|
char * |
timecoordname, |
|
|
std::string |
refdate, |
|
|
size_t |
nt, |
|
|
double *& |
time |
|
) |
| |
std::vector<std::string> nameelements;
nameelements = split(filename, '?'); if (nameelements.size() > 1) { //variable name for bathy is not given so it is assumed to be zb ncfilestr = nameelements[0]; //varstr = nameelements[1]; } else { ncfilestr = filename; //varstr = "time"; }
status = nc_open(ncfilestr.c_str(), 0, &ncid); if (status != NC_NOERR) handle_ncerror(status);
status = nc_close(ncid);