ocssw
V2022
|
#include <cstdio>
#include "l12_proto.h"
#include <sys/types.h>
#include <netcdf>
#include <vector>
#include <algorithm>
Go to the source code of this file.
Classes | |
struct | mld_info_struct |
Macros | |
#define | MLDXANC 360 |
#define | MLDYANC 180 |
Functions | |
char * | mldclimatology_path () |
float | get_mld_hdf (float lon, float lat, int day) |
int | closest_index (vector< float > const &refvals, const float value) |
float | wrap (const float val, const float lo, const float hi) |
vector< float > | get_coords (NcFile *ncid, vector< string > varnames) |
int | init_mld_nc (char *mldfile, mld_info *mldinfo) |
float | get_mld_nc (char *mldfile, float lon, float lat) |
float | get_mld (char *mldfile, float lon, float lat, int day) |
Macro Definition Documentation
◆ MLDXANC
#define MLDXANC 360 |
Definition at line 12 of file get_mld.cpp.
◆ MLDYANC
#define MLDYANC 180 |
Definition at line 13 of file get_mld.cpp.
Function Documentation
◆ closest_index()
Definition at line 198 of file get_mld.cpp.
◆ get_coords()
Definition at line 232 of file get_mld.cpp.
◆ get_mld()
float get_mld | ( | char * | mldfile, |
float | lon, | ||
float | lat, | ||
int | day | ||
) |
Definition at line 347 of file get_mld.cpp.
◆ get_mld_hdf()
float get_mld_hdf | ( | float | lon, |
float | lat, | ||
int | day | ||
) |
Definition at line 34 of file get_mld.cpp.
◆ get_mld_nc()
float get_mld_nc | ( | char * | mldfile, |
float | lon, | ||
float | lat | ||
) |
Definition at line 303 of file get_mld.cpp.
◆ init_mld_nc()
int init_mld_nc | ( | char * | mldfile, |
mld_info * | mldinfo | ||
) |
Definition at line 248 of file get_mld.cpp.
◆ mldclimatology_path()
char* mldclimatology_path | ( | ) |
Definition at line 15 of file get_mld.cpp.
◆ wrap()
Definition at line 220 of file get_mld.cpp.