SCALE-RM
|
Go to the source code of this file.
Classes | |
struct | mppawr_header |
Macros | |
#define | RDIM 800 /* max number of Range bins */ |
#define | AZDIM 320 /* max number of AZ angles */ |
#define | ELDIM 120 /* max number of EL angles */ |
#define | NFNAME 128 /* number of characters in file names */ |
#define | DMISS -327.68 /* missing data in output (& input data offset) */ |
#define | DNOISE -327.00 /* noise level data in output */ |
#define | RAD (3.141592653589/180.0) |
#define | LEN_BUFRDHD 512 |
#define | LEN_BUFPBHD 10368 |
#define | LEN_BUFELHD 432 |
#define | XYRESO 0.25 /* horizontal resolution in km */ |
#define | ZRESO 0.25 /* vertical resolution in km */ |
#define | CXDIM 481 /* X-dim of CAPPI output (include center) */ |
#define | CYDIM 481 /* Y-dim of CAPPI output (include center) */ |
#define | CZDIM 65 /* Z-dim of CAPPI output (include surface) */ |
#define | CXKM0 -60.0 /* start X coords from the radar (in km) */ |
#define | CYKM0 -60.0 /* start Y coords from the radar (in km) */ |
#define | CZKM0 0.0 /* start Z coords from the radar (in km) */ |
#define | PXDIM 481 /* X-dim of PPI output (include center) */ |
#define | PYDIM 481 /* Y-dim of PPI output (include center) */ |
#define | PELDIM 20 /* EL-dim of output EL number (< ELDIM) */ |
#define | PXKM0 -60.0 /* start X coords from the radar (in km) */ |
#define | PYKM0 -60.0 /* start Y coords from the radar (in km) */ |
#define | RXDIM 241 /* X-dim of RHI output (include center) */ |
#define | RZDIM 65 /* Z-dim of RHI output (include surface) */ |
#define | RAZDIM 300 /* AZ-dim of RHI output (< AZDIM) */ |
#define | RZKM0 0.0 /* start Z coords from the radar (in km) */ |
Functions | |
int16_t | char2int16 (void *input) |
uint16_t | char2uint16 (void *input) |
int32_t | char2int32 (void *input) |
int | read_toshiba_mpr (char *in_file, int opt_verbose, mppawr_header *hd, float az[ELDIM][AZDIM], float el[ELDIM][AZDIM], float rtdat[ELDIM][AZDIM][RDIM]) |
int | decode_toshiba_mpr (size_t bufsize, unsigned char *buf, int opt_verbose, mppawr_header *hd, float az[ELDIM][AZDIM], float el[ELDIM][AZDIM], float rtdat[ELDIM][AZDIM][RDIM]) |
int | ggrads_ctl (char *c_name, char *g_name, int nx, int ny, int nz, int nt, double xmin, double ymin, double zmin, double tmin, double dx, double dy, double dz, double dt, double no_data, int ihour, int imin, int iday, int imonth, int iyear, char *c_var, char *c_memo) |
#define RDIM 800 /* max number of Range bins */ |
Definition at line 5 of file read_toshiba_mpr.h.
#define AZDIM 320 /* max number of AZ angles */ |
Definition at line 6 of file read_toshiba_mpr.h.
#define ELDIM 120 /* max number of EL angles */ |
Definition at line 7 of file read_toshiba_mpr.h.
#define NFNAME 128 /* number of characters in file names */ |
Definition at line 8 of file read_toshiba_mpr.h.
#define DMISS -327.68 /* missing data in output (& input data offset) */ |
Definition at line 9 of file read_toshiba_mpr.h.
#define DNOISE -327.00 /* noise level data in output */ |
Definition at line 10 of file read_toshiba_mpr.h.
#define RAD (3.141592653589/180.0) |
Definition at line 12 of file read_toshiba_mpr.h.
#define LEN_BUFRDHD 512 |
Definition at line 15 of file read_toshiba_mpr.h.
#define LEN_BUFPBHD 10368 |
Definition at line 16 of file read_toshiba_mpr.h.
#define LEN_BUFELHD 432 |
Definition at line 17 of file read_toshiba_mpr.h.
#define XYRESO 0.25 /* horizontal resolution in km */ |
Definition at line 20 of file read_toshiba_mpr.h.
#define ZRESO 0.25 /* vertical resolution in km */ |
Definition at line 21 of file read_toshiba_mpr.h.
#define CXDIM 481 /* X-dim of CAPPI output (include center) */ |
Definition at line 23 of file read_toshiba_mpr.h.
#define CYDIM 481 /* Y-dim of CAPPI output (include center) */ |
Definition at line 24 of file read_toshiba_mpr.h.
#define CZDIM 65 /* Z-dim of CAPPI output (include surface) */ |
Definition at line 25 of file read_toshiba_mpr.h.
#define CXKM0 -60.0 /* start X coords from the radar (in km) */ |
Definition at line 26 of file read_toshiba_mpr.h.
#define CYKM0 -60.0 /* start Y coords from the radar (in km) */ |
Definition at line 27 of file read_toshiba_mpr.h.
#define CZKM0 0.0 /* start Z coords from the radar (in km) */ |
Definition at line 28 of file read_toshiba_mpr.h.
#define PXDIM 481 /* X-dim of PPI output (include center) */ |
Definition at line 30 of file read_toshiba_mpr.h.
#define PYDIM 481 /* Y-dim of PPI output (include center) */ |
Definition at line 31 of file read_toshiba_mpr.h.
#define PELDIM 20 /* EL-dim of output EL number (< ELDIM) */ |
Definition at line 32 of file read_toshiba_mpr.h.
#define PXKM0 -60.0 /* start X coords from the radar (in km) */ |
Definition at line 33 of file read_toshiba_mpr.h.
#define PYKM0 -60.0 /* start Y coords from the radar (in km) */ |
Definition at line 34 of file read_toshiba_mpr.h.
#define RXDIM 241 /* X-dim of RHI output (include center) */ |
Definition at line 36 of file read_toshiba_mpr.h.
#define RZDIM 65 /* Z-dim of RHI output (include surface) */ |
Definition at line 37 of file read_toshiba_mpr.h.
#define RAZDIM 300 /* AZ-dim of RHI output (< AZDIM) */ |
Definition at line 38 of file read_toshiba_mpr.h.
#define RZKM0 0.0 /* start Z coords from the radar (in km) */ |
Definition at line 39 of file read_toshiba_mpr.h.
int16_t char2int16 | ( | void * | input | ) |
Definition at line 22 of file read_toshiba.c.
uint16_t char2uint16 | ( | void * | input | ) |
Definition at line 36 of file read_toshiba.c.
int32_t char2int32 | ( | void * | input | ) |
Definition at line 50 of file read_toshiba.c.
int read_toshiba_mpr | ( | char * | in_file, |
int | opt_verbose, | ||
mppawr_header * | hd, | ||
float | az[ELDIM][AZDIM], | ||
float | el[ELDIM][AZDIM], | ||
float | rtdat[ELDIM][AZDIM][RDIM] | ||
) |
Definition at line 109 of file read_toshiba_mpr.c.
References AZDIM, ELDIM, LEN_BUFELHD, LEN_BUFPBHD, LEN_BUFRDHD, and RDIM.
Referenced by scale_letkf::letkf_add_inflation_setup().
int decode_toshiba_mpr | ( | size_t | bufsize, |
unsigned char * | buf, | ||
int | opt_verbose, | ||
mppawr_header * | hd, | ||
float | az[ELDIM][AZDIM], | ||
float | el[ELDIM][AZDIM], | ||
float | rtdat[ELDIM][AZDIM][RDIM] | ||
) |
Definition at line 152 of file read_toshiba_mpr.c.
References scale_file::i, mod_atmos_vars::j, and scale_tracer::k.