4 integer,
parameter ::
rdim = 600
5 integer,
parameter ::
azdim = 320
6 integer,
parameter ::
eldim = 121
8 type,
bind(c) :: c_pawr_header
9 integer(kind=c_int) s_yr, s_mn, s_dy, s_hr, s_mi, s_sc
10 integer(kind=c_int) e_yr, e_mn, e_dy, e_hr, e_mi, e_sc
11 integer(kind=c_int) data_size
12 integer(kind=c_int) total_step_num, el_num, total_el_num
13 integer(kind=c_int) hit_num, sector_num, range_num, range_res, mesh_size
14 real(kind=c_double) latitude, longitude, altitude
15 real(kind=c_float) start_angle, end_angle, mesh_lsb, mesh_offset
16 real(kind=c_float) tx_freq, tx_power, pulse_len_l, pulse_len_s
17 real(kind=c_float) ant_gain, beam_wid_h, beam_wid_v
18 real(kind=c_float) tx_loss, rx_loss, smin_h, smin_l
19 real(kind=c_float) prf_l, prf_h, zr_b, zr_beta
23 integer(kind=c_int) function read_toshiba_c(jitdt_place, hd, az, el, rtdat)
bind(C, name="read_toshiba")
28 character(kind=c_char) :: jitdt_place(*)
42 character(*),
intent(in) :: fname
44 real(kind=c_float),
intent(out) :: az(
azdim,
eldim)
45 real(kind=c_float),
intent(out) :: el(
azdim,
eldim)
47 character(kind=c_char) :: c_fname*1025
50 c_fname = trim(fname) // c_null_char