Actions

RadxDiffFields

From Lrose Wiki

Revision as of 17:32, 31 March 2021 by Jcdehart (talk | contribs) (Created page with "RadxDiffFields ingests polarimetric radar data and calculates <math>K_{DP}</math> from <math>\phi_{DP}</math>. === '''Overview''' === RadxDiffFields computes statistics abou...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

RadxDiffFields ingests polarimetric radar data and calculates [math]\displaystyle{ K_{DP} }[/math] from [math]\displaystyle{ \phi_{DP} }[/math].

Overview

RadxDiffFields computes statistics about the difference between fields in Radx files. The fields can be in the same file or in different files. The results are written to SPDB as XML.

Prerequesites

The following items are required:

  • Polarimetric radar data (any Radx supported format, e.g., cfradial)


Parameter file

RadxKdp uses one parameter file that includes the basic parameters related to data location and field names, which is similar to the parameter files for the other Radx applications.

Ensure file is up to date

To obtain the default parameter file, use the following command:

/path/to/lrose/install/bin/RadxDiffFields -print_params > param_file_name

If you already have a parameter file and simply want to check for (and add) updated parameters while retaining current parameters, use the following command:

/path/to/lrose/install/bin/RadxDiffFields -params orig_param_file_name -print_params > new_param_file_name

Important parameters

Input params

  • input_dir: directory containing radar data (if not specified on the command line and if mode = REALTIME)
  • mode: determines if the program waits for new files (REALTIME), moves through start and end times specified on the command line (ARCHIVE), or moves through list of files specified on the command line (FILELIST)

Input field information

  • SNR_available: determines if SNR data is in the file or needs to be calculated from [math]\displaystyle{ Z_H }[/math]
  • VARIABLE_field_name: tells RadxKdp the polarimetric variable names in the ingested cfradial files

Computing KDP

  • KDP_params_file_path: path to the [math]\displaystyle{ K_{DP} }[/math]-specific parameter file

Output fields

  • output_fields: specify the fields to be written to the output file (including attenuation-corrected fields)

Output format

  • output_format: select the preferred file type (usually CFRADIAL)

Output directory

  • output_dir: files will be written to this directory


Running RadxKdp

To check all command line options for RadxKdp, including debugging options and file paths, type the following command into a terminal.

/path/to/lrose/install/bin/RadxKdp -h

Once your parameter file is complete, use a command similar to the following to run the application:

/path/to/lrose/install/bin/RadxKdp -params param_file_name

The user can also specify the location of cfradial files in the following manner:

/path/to/lrose/install/bin/RadxKdp -f /path/to/cfradial/files/ -params param_file_name