Others

Concat

Default Parameters

pyfortracc.default_parameters.get_input_files(input_path)[source]

This function retrieves and returns a sorted list of all files within a specified directory and its subdirectories.

Parameters

  • input_pathstr

    The root directory path from which to search for files.

Returns

  • files_listlist

    A sorted list of file paths found within input_path and its subdirectories.

pyfortracc.default_parameters.default_parameters(name_lst=None, read_function=None)[source]

Default parameters for the pyfortracc module

Parameters

name_lstdict

Dictionary with the parameters to be used.

read_functionfunction

Function to read the data.

mean_dbz: bool

If True, the mean reflectivity is used to perform the tracking.

cluster_method: str

Method to perform the clustering. It can be ‘dbscan’ or ‘ndimage’.

eps: int

Epsilon distance to be used in the clustering for the dbscan method.

delta_tolerance: int

Delta tolerance is the maximum time difference between two files.

num_prev_skip: int

Number of previous files to skip.

edges: str

Is the edge of the domain to be used. It can be ‘left’ or ‘right’. It is used to perform the cluster linking in the edges of the domain.

n_jobs: int

Number of jobs to run in parallel.

min_overlap: int

Minimum overlap between two clusters to be considered as the same.

x_dim: int and y_dim: int

Dimensions of the data.

lat_min: float

Minimum latitude.

lon_min: float

Minimum longitude.

lat_max: float

Maximum latitude.

lon_max: float

Maximum longitude.

y_res: float

Resolution in the y axis in degrees.

x_res: float

Resolution in the x axis in degrees.

convex_hull: bool

If True, the convex hull is used to calculate the geometry of the clusters.

preserv_split: bool

If True, the split lifetime events are preserved for NEW/SPLIT events.

spl_correction: bool

Vector correction method for split events.

mrg_correction: bool

Vector correction method for merge events.

inc_correction: bool

Vector correction method for inner cells.

opt_correction: bool

Vector correction method for optical flow.

opt_mtd: str

Optical flow method. It can be ‘farneback’ or ‘lucas-kanade’

elp_correction: bool

Vector correction method for ellipse fitting.

‘epsg’: int

EPSG code for the projection.

Returns

name_lstdict

Dictionary with the parameters to be used.

Spatial Conversion

Track