<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.lrose.net/index.php?action=history&amp;feed=atom&amp;title=RefractCompute</id>
	<title>RefractCompute - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.lrose.net/index.php?action=history&amp;feed=atom&amp;title=RefractCompute"/>
	<link rel="alternate" type="text/html" href="http://wiki.lrose.net/index.php?title=RefractCompute&amp;action=history"/>
	<updated>2026-04-30T06:07:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>http://wiki.lrose.net/index.php?title=RefractCompute&amp;diff=767&amp;oldid=prev</id>
		<title>Jcdehart: Created page with &quot;RefractCompute calculates refractivity from raw polar radar data.  === '''Overview''' ===  RefractCompute calculates refractivity from raw polar radar data.   === '''Prereques...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.lrose.net/index.php?title=RefractCompute&amp;diff=767&amp;oldid=prev"/>
		<updated>2021-06-29T20:17:40Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;RefractCompute calculates refractivity from raw polar radar data.  === &amp;#039;&amp;#039;&amp;#039;Overview&amp;#039;&amp;#039;&amp;#039; ===  RefractCompute calculates refractivity from raw polar radar data.   === &amp;#039;&amp;#039;&amp;#039;Prereques...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;RefractCompute calculates refractivity from raw polar radar data.&lt;br /&gt;
&lt;br /&gt;
=== '''Overview''' ===&lt;br /&gt;
&lt;br /&gt;
RefractCompute calculates refractivity from raw polar radar data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== '''Prerequesites''' ===&lt;br /&gt;
&lt;br /&gt;
The following items are required:&lt;br /&gt;
&lt;br /&gt;
* MDV radar files&lt;br /&gt;
* Night and day reference files&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== '''Parameter file''' ===&lt;br /&gt;
&lt;br /&gt;
RefractCompute uses one parameter file that includes the input/output directories and refractivity algorithm parameters.&lt;br /&gt;
&lt;br /&gt;
==== '''Ensure file is up to date''' ====&lt;br /&gt;
&lt;br /&gt;
To obtain the default parameter file, use the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;bash&amp;quot;&amp;gt;/path/to/lrose/install/bin/RefractCompute -print_params &amp;amp;gt; param_file_name&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;bash&amp;quot;&amp;gt;/path/to/lrose/install/bin/RefractCompute -params orig_param_file_name -print_params &amp;amp;gt; new_param_file_name&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== '''Important parameters''' ====&lt;br /&gt;
&lt;br /&gt;
Process Triggering parameters&lt;br /&gt;
&lt;br /&gt;
* trigger_mode: determines if the program waits for new files (LATEST_DATA) or moves through start and end times specified on the command line (TIME_LIST)&lt;br /&gt;
&lt;br /&gt;
Process I/O parameters&lt;br /&gt;
&lt;br /&gt;
* input_url: path of the input data&lt;br /&gt;
* raw_iq_in_input: indicate whether the raw I and Q values are included in the input files; if FALSE, the raw fields will be calculated from the NIQ/AIQ values, which must be included in the input files&lt;br /&gt;
* raw_i_field_name: name of the raw I field in the input files&lt;br /&gt;
* raw_q_field_name: name of the raw Q field in the input files&lt;br /&gt;
* niq_field_name: name of the NIQ field in the input files; only used if raw_iq_in_input = FALSE&lt;br /&gt;
* aiq_field_name: name of the AIQ field in the input files; only used if raw_iq_in_input = FALSE&lt;br /&gt;
* snr_in_input: indicate whether the SNR field is in the input files; SNR is only needed if raw I/Q values are not included&lt;br /&gt;
* snr_field_name: name of SNR field in the input files&lt;br /&gt;
* power_field_name: name of the power field in the input files&lt;br /&gt;
* quality_source: indicate the field to be used in calculating the quality value, including spectrum width (QUALITY_FROM_WIDTH) and a CPA field (QUALITY_FROM_CPA)&lt;br /&gt;
* quality_field_name: name of the field to be used in the quality calcaulations, consistent with quality_source&lt;br /&gt;
* output_url: path where the output files are written to&lt;br /&gt;
&lt;br /&gt;
Algorithm parameters&lt;br /&gt;
&lt;br /&gt;
* ref_file_name_day: path and file name of daytime calibration file&lt;br /&gt;
* ref_file_name_night: path and file name of nighttime calibration file&lt;br /&gt;
* hms_night: hour, minute, and second for the beginning of nighttime&lt;br /&gt;
* hms_day: hour, minute, and second for the beginning of daytime&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== '''Running RefractCompute''' ===&lt;br /&gt;
&lt;br /&gt;
To check all command line options for RefractCompute, including debugging options and file paths, type the following command into a terminal.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;bash&amp;quot;&amp;gt;/path/to/lrose/install/bin/RefractCompute -h&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once your parameter file is complete, use a command similar to the following to run the application:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;bash&amp;quot;&amp;gt;/path/to/lrose/install/bin/RefractCompute -params param_file_name&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The user can also specify the location of cfradial files in the following manner:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code lang=&amp;quot;bash&amp;quot;&amp;gt;/path/to/lrose/install/bin/RefractCompute -f /path/to/cfradial/files/ -params param_file_name&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jcdehart</name></author>
		
	</entry>
</feed>