mm5io.h

00001 #include <sys/types.h>
00002 #include <time.h>
00003 #include <stdio.h>
00004 
00005 
00006 
00007 typedef struct {
00008   int   BHI[20][50];
00009   float BHR[20][20];
00010   char  BHIC[20][50][80];
00011   char  BHRC[20][20][80];
00012 } t_mm5v3_big_header;
00013 
00014 typedef struct {
00015   int   ndim;
00016   int   start_index[4];
00017   int   end_index[4];
00018   float xtime;
00019   char  staggering[4];
00020   char  ordering[4];
00021   char  current_date[24];
00022   char  name[8];
00023   char  unit[25];
00024   char  description[46];
00025 } t_mm5v3_sub_header;
00026 
00027 
00028 
00029 /*file format:
00030 0
00031         t_mm5v3_big_header
00032 1
00033         t_mm5v3_sub_header
00034         field
00035 1
00036         t_mm5v3_sub_header
00037         field
00038 1
00039         t_mm5v3_sub_header
00040         field
00041 1
00042         t_mm5v3_sub_header
00043         field
00044 2       //end of time period
00045 1
00046         t_mm5v3_sub_header
00047         field
00048 1
00049         t_mm5v3_sub_header
00050         field
00051 1
00052         t_mm5v3_sub_header
00053         field
00054 
00055 end of file
00056 */