Procedures

ProcedureLocationProcedure TypeDescription
add_2d GVTDX_sub Subroutine

add ival

add_3d GVTDX_sub Subroutine

add ival

auto_interpo_search_1d GVTDX_sub Subroutine

continuous running of interpo_search_1d

auto_interpo_search_2d GVTDX_sub Subroutine

continuous running of auto_interpo_search_1d

auto_interpolation_2d GVTDX_sub Subroutine

Automatic interpolation for 2d data (continuous running of interpolation_2d)

c2r_convert GVTDX_sub Function

convert char to float

calc_psid GBVTD_main Subroutine

Calculate the nonlinear angle psid at a centain radius
From the geometry,
--(1)
--(2)
From Eq. (2),
--(3)
From Eqs. (1) and (3),

cart_conv_scal GVTDX_sub Subroutine

Convert polar grid with the origin of the storm center to the Cartesian grid (from STPK) The procedure: (1) Define the given Cartesian grid (x-y) on the polar grid (2) Search the 4 nearest points on the polar grid for each Cartesian grid point (3) Performing the bilinear interpolation of the 4 values defined on the polar grid to the Cartesian grid.

check_data_fulfill tools_sub Function

Check the innermost radius of data with no undef If the innermost radius has not been found, the value of zero is returned.

check_max GBVTD_main Subroutine

Check maximum value in each element of the matrix "a"

check_undef_grid tools_sub Subroutine

check missing grids

conv_d2r_1d GVTDX_sub Subroutine

Convert double to real

conv_d2r_2d GVTDX_sub Subroutine

Convert double to real

conv_d2r_3d GVTDX_sub Subroutine

convert double to real

conv_r2d_2d GVTDX_sub Subroutine

convert real to double

conv_VtVr2VxVy_rt GVTDX_sub Subroutine

Convert Vt and Vr to Vx and Vy on R-T coordinates

conv_VxVy2VtVr_rt GVTDX_sub Subroutine

Convert Vx and Vy to Vr and Vt on R-T coordinates

conv_VxVy2VtVr_xy GVTDX_sub Subroutine

Convert Vx and Vy to Vr and Vt on X-Y coordinates

decomp_Vd2rdpn tools_sub Subroutine

decomposition of VD to the components parallel and normal to the direction of thetad = 0

display_1val_max GVTDX_sub Subroutine

Display the maximum of the array val

display_2valdiff_max GVTDX_sub Subroutine

Display the maximum of the difference between val1 and val2

div_curl_2d GVTDX_sub Subroutine

Calculation of rotation and divergence from radial and tangential winds
divr =
curl =

dot_prod GVTDX_main Function

Calculate inner product of two vectors

fp_gauss GVTDX_sub Subroutine

Gauss-Jordan method with fully pivotting (from STPK)

fp_invert_mat GVTDX_sub Subroutine

Calculate the inverse "xx" for the matrix "ax" (from STPK)

grad_1d GVTDX_sub Subroutine

Calculate gradient of "u" in one dimension based on the 2nd order central differential approximation:

grad_2d GVTDX_sub Subroutine

Calculate gradient of "u" in two dimensions based on the 2nd order central differential approximation:

green_func GVTDX_sub Function

Calculation of the Green function:


nval

inner_radius_check tools_sub Function

Check positive value of the innermost radius. If the innermost radius is negative, the element number located at the innermost positive radius is returned.

interpo_search_1d GVTDX_sub Subroutine

Floor function for the real grid points (from STPK)

interpo_search_2d GVTDX_sub Subroutine

Floor function for the real grid points (from STPK)

interpolation_1d GVTDX_sub Subroutine

Perform linear interpolation to the "point" on the Cartesian (x) grid (from STPK)

interpolation_2d GVTDX_sub Subroutine

Perform bilinear interpolation to the "point" on the Cartesian (x-y) grid (from STPK)

line_integral GVTDX_sub Function

Calculate a line integral (actually, sum for arguments)

line_number_counter GVTDX_sub Function

count the line in the fname

ll2radi GVTDX_sub Function

calculate arc distance between two points on the sphere

ll2rt GVTDX_sub Subroutine

calculate radial and azimuthal location at (lon1,lat1) on the polar coordinate with the center of (lon0,lat0)

matrix_sum GVTDX_main Function

Calculate product for a component in a matrix

matrix_sum GVTD_main Function

Calculate product for a component in a matrix

matrix_sum GBVTD_main Function

Calculate product for a component in a matrix

max_val_1d GVTDX_sub Subroutine

Get the max value (from STPK)

Mean_1d GVTDX_sub Subroutine

Average x

prod_vortex_structure GVTDX_sub Subroutine

Producing vortex structure with rmax, vmax, and umax

prod_vortex_structure_L06 GVTDX_sub Subroutine

Producing vortex structure with rmax, vmax, and umax in Lee et al. (2006)

proj_rtVs tools_sub Subroutine

projection of a uniform wind [(ux,vy) on Cartesian grids] to the radial and tangential components on the polar coordinate

proj_Vs tools_sub Subroutine

projection of a uniform wind [(ux,vy) on Cartesian grids] to the line-of-sight component along the radar beam

proj_VtVr2Vrart GVTDX_sub Subroutine

Convert Vt and Vr to Vx and Vy on R-T coordinates

proj_VxVy2Vraxy GVTDX_sub Subroutine

Calculate Vx and Vy to Vd along with radar beams on X-Y coodinates

read_file_2d GVTDX_sub Subroutine

read float data from 4-byte unformatted binary

read_file_3d GVTDX_sub Subroutine

read float data from 4-byte unformatted binary

read_file_text GVTDX_sub Subroutine

read ASCII file

rearrange_2d_1d GVTDX_sub Subroutine

Rearrange 2d variable to 1d variable (i,j -> i*j)

rearrange_3d_2d GVTDX_sub Subroutine

Rearrange 3d variable to 2d variable (k,i,j -> i*j,k)

rearrange_undef_rad tools_sub Subroutine

rearrange the radial grids: 1. skip radii with few azimuthal sampling (less than "skip_thres") 2. rearrange the radial coordinate. [Note1]: r, rh, thetad, and Vra must be given by the same as the array number in the original. (that is, size(r_org) == size(r).) [Note2]: nr_out_org >= nr_out. Undef value is given in r, rh, thetad, and Vra outside nr_out.

recover_undef_rad tools_sub Subroutine

recover the retrieved values from the rearranged to original radii.

replace_undef tools_sub Subroutine

replace ioval2d with undefv at the point undeflag == .true.

replace_val_2d tools_sub Subroutine

replace orgval with repval in ival2d array

Retrieve_velocity_GBVTD GBVTD_main Subroutine

Solve unknown variables and return wind velocity on R-T coordinates based on the GBVTD technique.
------------------------------------------------------
[relationship between r and rh] --
------------------------------------------------------
i-1 i i+1
...|-- --|-- --|... : r(1:size(r)) = velocity radii

Read more…
Retrieve_velocity_GVTD GVTD_main Subroutine

Solve unknown variables and return wind velocity on R-T coordinates based on the GVTD technique.
------------------------------------------------------
[relationship between r and rh] --
------------------------------------------------------
i-1 i i+1
...|-- --|-- --|... : r(1:size(r)) = velocity radii

Read more…
Retrieve_velocity_GVTDX GVTDX_main Subroutine

Solve unknown variables and return wind velocity on R-T coordinates.
-------------------------------------------------------
-- [relationship between r and rh] --
-------------------------------------------------------
-- i-1 i i+1
-- ...|-- --|-- --|... : r(1:size(r)) = velocity radii
-- |-- --|-- --|-- --| : rh(1,size(r)+1) = potential radii
--i-1 i i+1 i+2

Read more…
rotate_thetad_tc GVTDX_sub Subroutine

Rotate horizontal winds in the east-west and north-south directions to the storm-relative direction.

rt2ll GVTDX_sub Subroutine

calculate (lon,lat) from radial and azimuthal grid (r,theta) on the polar coordinate with the origin of (lon0,lat0)

rt_2_xy GVTDX_sub Subroutine

Convert the polar grid (r-t) to the Cartesian (x-y) grid (from STPK)

stand_devi GVTDX_sub Subroutine

Calculate RMSE of x for the "true_val" (from STPK)
Definition: RMSE

stdout GVTDX_sub Subroutine

Standard output for message

subst_2d GVTDX_sub Subroutine

subtract ival

subst_2d_r GVTDX_sub Subroutine

subtract ival

sum_1d GVTDX_sub Subroutine

Calculation of sum for 1D variable

tangent_conv_scal GVTDX_sub Subroutine

Convert the Cartesian grid to polar grid with the origin of the storm center (from STPK) The procedure: (1) Define the given polar grid (r-theta) on the Cartesian grid (2) Search the 4 nearest points on the Cartesian grid (x-y) for each polar grid point (3) Performing the bilinear interpolation of the 4 values defined on the Cartesian grid to the polar grid.

undef_checker_1d GVTDX_sub Function

Check missing value in "val"

undef_checker_2d GVTDX_sub Function

Check missing value in "val"

write_file_2d GVTDX_sub Subroutine

write float data from 4-byte unformatted binary

write_file_3d GVTDX_sub Subroutine

write float data from 4-byte unformatted binary

xy_2_rt GVTDX_sub Subroutine

Convert the Cartesian (x-y) grid to the polar (r-t) grid (from STPK)