/* BasyouhuP9901.h ver.3.00 * Special header file for BasyouhuP9901.c * ----- for Japan Special Time in Jan & Feb, 1999 ---- * * on Dec. 8, 1998 * revised on Dec.16, 1998 * revised on Jan. 8, 1999 * by Sessai@NIPR */ // some special beams such as spbm[mode][1][?]>=0 will be treated // also as normal beams, (scan will be 0 for them.) #define MODEMAX 8 #define SPBMMAX 14 #define SPBMNUM 2 // means there is AT MOST SPBMNUM spec_beams... #define SP_SMR_B -1 #define SP_SMR_P 0 #if SD_RADAR_ID == GOOSEBAY // old Basyouhu... //#define SP_START_BEAM 1 //#define SP_END_BEAM 15 //short int spbm[2][SPBMMAX]={{15,13,15,11,15,13,15,11,15,13,15,11}, // {1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1}}; //#define SP_SMR_A 99 //#define SP_SMR_B 5 short int spintt[MODEMAX]={ 3, 3, 3, 2, 3, 3, 3, 3}; short int sponly[MODEMAX]={ 0, 0, 0, 0, 0, 0, 0, 0}; short int spstbm[MODEMAX]={ 1, 1, 1, 1, 1, 1, 1, 1}; short int spedbm[MODEMAX]={15,15,15,15,15,15,15,15}; short int spbm[MODEMAX][2][SPBMNUM]= {{{12,-1},{13,-1}},{{11,-1},{ 5,-1}}, {{ 9,-1},{ 1,-1}},{{ 5,-1},{ 0,-1}}, {{11,-1},{ 5,-1}},{{11,-1},{ 5,-1}}, {{11,-1},{ 5,-1}},{{11,-1},{ 5,-1}}}; unsigned short int spsmbm[MODEMAX]= {0x1520,0x0d20,0x0720,0x0520,0x0d20,0x0d20,0x0d20,0x0d20}; #elif SD_RADAR_ID == KAPUSKASING short int spintt[MODEMAX]={ 2, 3, 3, 2, 3, 3, 3, 3}; short int sponly[MODEMAX]={ 0, 0, 0, 0, 0, 0, 0, 0}; short int spstbm[MODEMAX]={15,15,15,14,14,14,15,15}; short int spedbm[MODEMAX]={ 0, 1, 1, 1, 1, 1, 1, 1}; short int spbm[MODEMAX][2][SPBMNUM]= {{{11, 5},{ 0, 5}},{{ 5,-1},{ 5,-1}}, {{ 4,-1},{13,-1}},{{15,-1},{10,-1}}, {{15,-1},{10,-1}},{{15,-1},{10,-1}}, {{14,-1},{ 7,-1}},{{13,-1},{ 3,-1}}}; unsigned short int spsmbm[MODEMAX]= {0x0d20,0x0520,0x0530,0x8520,0x8520,0x8520,0x4520,0x2520}; #elif SD_RADAR_ID == SASKATOON short int spintt[MODEMAX]={ 3, 3, 3, 2, 3, 3, 3, 3}; short int sponly[MODEMAX]={ 0, 0, 0, 0, 0, 0, 0, 0}; short int spstbm[MODEMAX]={ 1, 1, 1, 1, 1, 1, 1, 1}; short int spedbm[MODEMAX]={15,15,15,15,15,15,15,15}; short int spbm[MODEMAX][2][SPBMNUM]= {{{ 9,-1},{ 1,-1}},{{10,-1},{ 9,-1}}, {{13,-1},{ 2,-1}},{{13,-1},{ 2,-1}}, {{14,-1},{10,-1}},{{14,-1},{10,-1}}, {{10,-1},{ 9,-1}},{{10,-1},{ 9,-1}}}; unsigned short int spsmbm[MODEMAX]= {0x0720,0x0520,0x2520,0x2520,0x4520,0x4520,0x0520,0x0520}; #elif SD_RADAR_ID == ICEWEST short int spintt[MODEMAX]={ 3, 3, 2, 2, 3, 3, 3, 3}; short int sponly[MODEMAX]={ 0, 0, 0, 0, 0, 0, 0, 0}; short int spstbm[MODEMAX]={15,15,15,15,14,14,15,15}; short int spedbm[MODEMAX]={ 1, 1, 0, 1, 0, 0, 1, 1}; short int spbm[MODEMAX][2][SPBMNUM]= {{{ 3,-1},{ 2,-1}},{{ 4,-1},{13,-1}}, {{ 8, 6},{12, 9}},{{ 5,-1},{ 5,-1}}, {{ 4,-1},{ 5,-1}},{{ 5,-1},{ 9,-1}}, {{ 8,-1},{12,-1}},{{ 8,-1},{12,-1}}}; unsigned short int spsmbm[MODEMAX]= {0x0528,0x0530,0x0560,0x0520,0x0530,0x0520,0x0520,0x0520}; #elif SD_RADAR_ID == ICEEAST short int spintt[MODEMAX]={ 2, 3, 3, 2, 3, 3, 3, 3}; short int sponly[MODEMAX]={ 0, 0, 0, 0, 0, 0, 0, 0}; short int spstbm[MODEMAX]={ 0, 0, 0, 0, 0, 0, 0, 0}; short int spedbm[MODEMAX]={15,14,14,14,14,14,14,14}; short int spbm[MODEMAX][2][SPBMNUM]= {{{ 3,15},{12,13}},{{ 8,-1},{ 1,-1}}, {{ 4,-1},{ 0,-1}},{{ 8,-1},{ 1,-1}}, {{ 5,-1},{ 8,-1}},{{ 5,-1},{ 8,-1}}, {{ 7,-1},{12,-1}},{{ 7,-1},{12,-1}}}; unsigned short int spsmbm[MODEMAX]= {0x8528,0x0520,0x0530,0x0520,0x0521,0x0521,0x05a1,0x05a1}; #elif SD_RADAR_ID == FINLAND short int spintt[MODEMAX]={ 2, 3, 3, 2, 3, 3, 3, 3}; short int sponly[MODEMAX]={ 0, 0, 0, 0, 0, 0, 0, 0}; short int spstbm[MODEMAX]={15,14,14,15,14,14,14,14}; short int spedbm[MODEMAX]={ 0, 0, 0, 1, 0, 0, 0, 0}; short int spbm[MODEMAX][2][SPBMNUM]= {{{ 8, 4},{12,13}},{{ 8,-1},{ 4,-1}}, {{ 8,-1},{ 4,-1}},{{ 8,-1},{12,-1}}, {{ 8,-1},{ 4,-1}},{{ 8,-1},{ 4,-1}}, {{ 8,-1},{ 4,-1}},{{ 8,-1},{ 4,-1}}}; unsigned short int spsmbm[MODEMAX]= {0x0530,0x0530,0x0530,0x0530,0x0521,0x0521,0x8521,0x0520}; #elif SD_RADAR_ID == HALLEY short int spintt[MODEMAX]={ 3, 3, 3, 2, 3, 3, 3, 3}; short int sponly[MODEMAX]={ 0, 0, 0, 0, 0, 0, 0, 0}; short int spstbm[MODEMAX]={ 1, 1, 1, 1, 1, 1, 1, 1}; short int spedbm[MODEMAX]={15,15,15,14,15,15,15,15}; short int spbm[MODEMAX][2][SPBMNUM]= {{{10,-1},{ 9,-1}},{{14,-1},{10,-1}}, {{13,-1},{ 2,-1}},{{15,-1},{ 6,-1}}, {{14,-1},{10,-1}},{{ 2,-1},{ 7,-1}}, {{14,-1},{10,-1}},{{14,-1},{10,-1}}}; unsigned short int spsmbm[MODEMAX]= {0x0520,0x4520,0x2520,0x8520,0x4520,0x4520,0x4520,0x4520}; #elif SD_RADAR_ID == SANAE short int spintt[MODEMAX]={ 3, 3, 3, 2, 3, 3, 3, 3}; short int sponly[MODEMAX]={ 0, 0, 0, 0, 0, 0, 0, 0}; short int spstbm[MODEMAX]={15,15,15,15,15,15,14,15}; short int spedbm[MODEMAX]={ 1, 1, 1, 1, 1, 1, 1, 1}; short int spbm[MODEMAX][2][SPBMNUM]= {{{10,-1},{ 8,-1}},{{ 7,-1},{ 1,-1}}, {{ 8,-1},{12,-1}},{{14,-1},{ 7,-1}}, {{11,-1},{ 0,-1}},{{ 4,-1},{13,-1}}, {{15,-1},{10,-1}},{{11,-1},{ 0,-1}}}; unsigned short int spsmbm[MODEMAX]= {0x0520,0x05a0,0x0520,0x4520,0x8d30,0x8d30,0x8d30,0x8d30}; #elif SD_RADAR_ID == SYOWA //dummy... short int spintt[MODEMAX]={ 3, 3, 3, 2, 3, 3, 2, 3}; short int sponly[MODEMAX]={ 0, 0, 0, 0, 0, 0, 0, 0}; short int spstbm[MODEMAX]={15,15,15,15,14,14,15,14}; short int spedbm[MODEMAX]={ 1, 1, 1, 1, 0, 0, 0, 0}; short int spbm[MODEMAX][2][SPBMNUM]= {{{10,-1},{ 8,-1}},{{ 7,-1},{ 1,-1}}, {{ 8,-1},{12,-1}},{{14,-1},{ 7,-1}}, {{ 0,-1},{ 6,-1}},{{ 3,-1},{13,-1}}, {{ 9, 5},{ 4, 5}},{{ 5,-1},{ 9,-1}}}; unsigned short int spsmbm[MODEMAX]= {0xffff,0xffff,0xffff,0xffff,0xc529,0xc529,0xc729,0xc529}; #elif SD_RADAR_ID == SYOWAEAST short int spintt[MODEMAX]={ 2, 2, 3, 2, 3, 3, 2, 3}; short int sponly[MODEMAX]={ 0, 0, 0, 0, 0, 0, 0, 0}; short int spstbm[MODEMAX]={ 0, 0, 0, 1, 0, 0, 0, 0}; short int spedbm[MODEMAX]={15,15,14,15,14,14,15,14}; short int spbm[MODEMAX][2][SPBMNUM]= {{{ 3, 7},{12,13}},{{ 7,13},{12, 9}}, {{ 7,-1},{12,-1}},{{12,-1},{13,-1}}, {{ 7,-1},{12,-1}},{{ 7,-1},{12,-1}}, {{ 7,10},{12, 5}},{{11,-1},{13,-1}}}; unsigned short int spsmbm[MODEMAX]= {0xb5e9,0xb5e9,0xb5e9,0xb5eb,0x55c9,0x55c9,0x55c9,0x5dc9}; #else // should never get here... just a dummy... Nna Ahona! //short int spintt[MODEMAX]={ 3, 2, 2, 2, 3, 3, 2, 2}; //short int sponly[MODEMAX]={ 0, 0, 0, 1, 0, 0, 0, 1}; //short int spstbm[MODEMAX]={ 0, 0, 0, 0, 0, 0, 0, 0}; //short int spedbm[MODEMAX]={15,15,15,15,15,15,15,15}; //short int spbm[MODEMAX][2][SPBMNUM]= // {{{ 5,10},{ 8, 5}},{{ 5,10},{ 8, 5}}, // {{ 5,10},{ 8, 5}},{{ 5,10},{ 8, 5}}, // {{ 5,10},{ 8, 5}},{{ 5,10},{ 8, 5}}, // {{ 5,10},{ 8, 5}},{{ 5,10},{ 8, 5}}}; //unsigned short int spsmbm[MODEMAX]= // {0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff,0xffff}; // #endif