Commit 516e2d17 authored by Marion Bandet's avatar Marion Bandet

update WERA calibrations

parent 5fde9a30
This diff is collapsed.
......@@ -37,7 +37,7 @@ Steps of the algorithm:
For each index, we load the corresponding HFR file (i.e. 20132440000_pao.mat). Each file contains a grid (X,Y) with radial currents at each grid point (Ur), a corresponding time vector (t) and the angle and distance from the site (theta,r).
.. figure:: ../../figures/RadialVelocities/ADCP/Radial_ADCPbin2_HFR_PAO_version5_Sept2013.png
.. figure:: figures/Radial_ADCPbin2_HFR_PAO_version5_Sept2013.png
:align: center
Hourly radial currents from ADCP bin 2 and HFR WERA at PAO - September 2013
......
This diff is collapsed.
......@@ -10,7 +10,7 @@ CODAR
**POINTE-AU-PERE:**
***********************
Please see notes from field work on `2013-02-01`_
Please see notes from field work on `2013-02-01`_.
.. _2013-02-01: http://demeter.uqar.ca/submesoscale/index.php/Pap
......@@ -67,6 +67,94 @@ To generate the new Antenna diagram:
WERA
#####
Go to the **"Submesoscale"** `wiki`_ and click on "useful links" under **Outils**, then "WERA HF Radar Software - Fortran Programs Documentation". Here we find which Fortran program we need to use to do what we want.
.. _wiki: http://demeter.uqar.ca/submesoscale/index.php/Accueil
.. topic:: Objectives
We need to "remove wrong calibration data and apply new ones", so we need to use Modify_WERA_SORT.
Steps to generate new calibration file
*****************************************
#. loggin to the wera server wera@132.215.11.14
#. cd etc/
In this folder, we find the original calibration files:
- calibration_pab.wera
- calibration_pao.wera
If we look at what the content of the calibration file:
- cat calibration_pab.wera
the phase is given in the 3rd column.
On 2014-10-29 (PAO) and 2014_10-30 (PAB), calibrations were undertaken in the field.
Calibration data are stored in:
- /hfr-data-processing/calibrations/PAB/2014303 every minute from 16:53 to 17:55
- /hfr-data-processing/calibrations/PAO/2014302 every minute from 17:46 to 18:23
While the calibrations were running, tracks were recorded with an instrument belonging to Helzel (PAO and PAB) as well as with an instrument belonging to Flament (PAB). So for PAB we are going to be able to compare the two.
The tracks can be found in :
- /hfr-data-processing/calibrations/PAO/HelzelPAO_Track_29-OCT-14 183138.gpx
- /hfr-data-processing/calibrations/PAB/HelzelPAB_Track_30-OCT-14 175446.gpx
- /hfr-data-processing/calibrations/PAB/FlamentPAB_Track_30-OCT-14 182008.gpx
We use the routine **GPS_gpx2mat.m** to convert .gpx files into .mat files.
We use the routine **WERA_AntennaCoord_txt2mat.m** to transform the .txt files with antennas'coordinates to .mat files.
We use the routine **WERAphase_txt2mat.m** to convert the .txt files containing phases into .mat files.
The routine **WERAcalibration.m** is available at this `page`_.
.. _page: WERAcalibration.html
All the Matlab routines are located in ~/hfr-data-processing/calibrations/.
Re-processing of radial currents with new phases
***************************************************
For the all month of September 2013, we are going to generate new files using the new calibration phases.
Post-processing of WERA radial currents is documented `here`_.
.. _here: WERAprocessing.html
For example, let us see what we have to do to generate radial currents at PAO using the new calibration phases for september 1st, 2013 (Julian day 244):
Data in the ~/data1/PAO/2013244/raw/ folder are converted in .SORT and .RFI in the ~/data1/PAO/2013244/results/ folder using the **do_process_SORT_pol** shell script. These files are generated using the "original" calibration phases.
First we need to change the original .SORT and .RFI files and save them to .SORT0 and .RFI0 to save them for future reference. This is done with the shell script **changeName.sh** located in /hfr-data-processing/postprocessing/wera/.
.SORT====> .SORT0 (generated with original calibration)
.RFI ====> .RFI0
as well as 2 symbolic links to point towards which file is the calibration to remove (with link calibration.wera.remove) and which file is the calibration to use (with link calibration.wera.apply).
If we look at what the content of the calibration file is:
* cat calibration_pab.wera
We want to compare the value of the phase given in the 3rd column with the one that we compute.
COMPARISON OLD/NEW WERA CALIBRATIONS
**************************************
......
......@@ -55,7 +55,7 @@
<h2>CODAR<a class="headerlink" href="#codar" title="Permalink to this headline"></a></h2>
<div class="section" id="pointe-au-pere">
<h3><strong>POINTE-AU-PERE:</strong><a class="headerlink" href="#pointe-au-pere" title="Permalink to this headline"></a></h3>
<p>Please see notes from field work on <a class="reference external" href="http://demeter.uqar.ca/submesoscale/index.php/Pap">2013-02-01</a></p>
<p>Please see notes from field work on <a class="reference external" href="http://demeter.uqar.ca/submesoscale/index.php/Pap">2013-02-01</a>.</p>
<p>Starting 2013-02-01: <strong>Change of frequency</strong> due to a misreading in the frequency permits...</p>
<blockquote>
<div><ul class="simple">
......@@ -108,6 +108,77 @@
</div>
<div class="section" id="wera">
<h2>WERA<a class="headerlink" href="#wera" title="Permalink to this headline"></a></h2>
<p>Go to the <strong>&#8220;Submesoscale&#8221;</strong> <a class="reference external" href="http://demeter.uqar.ca/submesoscale/index.php/Accueil">wiki</a> and click on &#8220;useful links&#8221; under <strong>Outils</strong>, then &#8220;WERA HF Radar Software - Fortran Programs Documentation&#8221;. Here we find which Fortran program we need to use to do what we want.</p>
<div class="topic">
<p class="topic-title first">Objectives</p>
<p>We need to &#8220;remove wrong calibration data and apply new ones&#8221;, so we need to use Modify_WERA_SORT.</p>
</div>
<div class="section" id="steps-to-generate-new-calibration-file">
<h3>Steps to generate new calibration file<a class="headerlink" href="#steps-to-generate-new-calibration-file" title="Permalink to this headline"></a></h3>
<blockquote>
<div><ol class="arabic simple">
<li>loggin to the wera server <a class="reference external" href="mailto:wera&#37;&#52;&#48;132&#46;215&#46;11&#46;14">wera<span>&#64;</span>132<span>&#46;</span>215<span>&#46;</span>11<span>&#46;</span>14</a></li>
<li>cd etc/</li>
</ol>
</div></blockquote>
<dl class="docutils">
<dt>In this folder, we find the original calibration files:</dt>
<dd><ul class="first last simple">
<li>calibration_pab.wera</li>
<li>calibration_pao.wera</li>
</ul>
</dd>
<dt>If we look at what the content of the calibration file:</dt>
<dd><ul class="first last simple">
<li>cat calibration_pab.wera</li>
</ul>
</dd>
</dl>
<p>the phase is given in the 3rd column.</p>
<p>On 2014-10-29 (PAO) and 2014_10-30 (PAB), calibrations were undertaken in the field.</p>
<dl class="docutils">
<dt>Calibration data are stored in:</dt>
<dd><ul class="first last simple">
<li>/hfr-data-processing/calibrations/PAB/2014303 every minute from 16:53 to 17:55</li>
<li>/hfr-data-processing/calibrations/PAO/2014302 every minute from 17:46 to 18:23</li>
</ul>
</dd>
</dl>
<p>While the calibrations were running, tracks were recorded with an instrument belonging to Helzel (PAO and PAB) as well as with an instrument belonging to Flament (PAB). So for PAB we are going to be able to compare the two.</p>
<dl class="docutils">
<dt>The tracks can be found in :</dt>
<dd><ul class="first last simple">
<li>/hfr-data-processing/calibrations/PAO/HelzelPAO_Track_29-OCT-14 183138.gpx</li>
<li>/hfr-data-processing/calibrations/PAB/HelzelPAB_Track_30-OCT-14 175446.gpx</li>
<li>/hfr-data-processing/calibrations/PAB/FlamentPAB_Track_30-OCT-14 182008.gpx</li>
</ul>
</dd>
</dl>
<p>We use the routine <strong>GPS_gpx2mat.m</strong> to convert .gpx files into .mat files.
We use the routine <strong>WERA_AntennaCoord_txt2mat.m</strong> to transform the .txt files with antennas&#8217;coordinates to .mat files.
We use the routine <strong>WERAphase_txt2mat.m</strong> to convert the .txt files containing phases into .mat files.</p>
<p>The routine <strong>WERAcalibration.m</strong> is available at this <a class="reference external" href="WERAcalibration.html">page</a>.</p>
<p>All the Matlab routines are located in ~/hfr-data-processing/calibrations/.</p>
</div>
<div class="section" id="re-processing-of-radial-currents-with-new-phases">
<h3>Re-processing of radial currents with new phases<a class="headerlink" href="#re-processing-of-radial-currents-with-new-phases" title="Permalink to this headline"></a></h3>
<p>For the all month of September 2013, we are going to generate new files using the new calibration phases.</p>
<p>Post-processing of WERA radial currents is documented <a class="reference external" href="WERAprocessing.html">here</a>.</p>
<p>For example, let us see what we have to do to generate radial currents at PAO using the new calibration phases for september 1st, 2013 (Julian day 244):</p>
<p>Data in the ~/data1/PAO/2013244/raw/ folder are converted in .SORT and .RFI in the ~/data1/PAO/2013244/results/ folder using the <strong>do_process_SORT_pol</strong> shell script. These files are generated using the &#8220;original&#8221; calibration phases.</p>
<p>First we need to change the original .SORT and .RFI files and save them to .SORT0 and .RFI0 to save them for future reference. This is done with the shell script <strong>changeName.sh</strong> located in /hfr-data-processing/postprocessing/wera/.</p>
<p>.SORT====&gt; .SORT0 (generated with original calibration)
.RFI ====&gt; .RFI0</p>
<p>as well as 2 symbolic links to point towards which file is the calibration to remove (with link calibration.wera.remove) and which file is the calibration to use (with link calibration.wera.apply).</p>
<dl class="docutils">
<dt>If we look at what the content of the calibration file is:</dt>
<dd><ul class="first last simple">
<li>cat calibration_pab.wera</li>
</ul>
</dd>
</dl>
<p>We want to compare the value of the phase given in the 3rd column with the one that we compute.</p>
</div>
<div class="section" id="comparison-old-new-wera-calibrations">
<h3>COMPARISON OLD/NEW WERA CALIBRATIONS<a class="headerlink" href="#comparison-old-new-wera-calibrations" title="Permalink to this headline"></a></h3>
<p>In March 2015, we used data collected in September 2013 to compare old and new calibrations in order to know which ones we should use for the on-going analysis of currents data.</p>
......@@ -142,6 +213,8 @@ Superimposed are the 48-h averages</div>
</ul>
</li>
<li><a class="reference internal" href="#wera">WERA</a><ul>
<li><a class="reference internal" href="#steps-to-generate-new-calibration-file">Steps to generate new calibration file</a></li>
<li><a class="reference internal" href="#re-processing-of-radial-currents-with-new-phases">Re-processing of radial currents with new phases</a></li>
<li><a class="reference internal" href="#comparison-old-new-wera-calibrations">COMPARISON OLD/NEW WERA CALIBRATIONS</a></li>
</ul>
</li>
......
......@@ -64,6 +64,8 @@
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="calibration.html#wera">WERA</a><ul>
<li class="toctree-l3"><a class="reference internal" href="calibration.html#steps-to-generate-new-calibration-file">Steps to generate new calibration file</a></li>
<li class="toctree-l3"><a class="reference internal" href="calibration.html#re-processing-of-radial-currents-with-new-phases">Re-processing of radial currents with new phases</a></li>
<li class="toctree-l3"><a class="reference internal" href="calibration.html#comparison-old-new-wera-calibrations">COMPARISON OLD/NEW WERA CALIBRATIONS</a></li>
</ul>
</li>
......
This diff is collapsed.
......@@ -37,7 +37,7 @@ Steps of the algorithm:
For each index, we load the corresponding HFR file (i.e. 20132440000_pao.mat). Each file contains a grid (X,Y) with radial currents at each grid point (Ur), a corresponding time vector (t) and the angle and distance from the site (theta,r).
.. figure:: ../../figures/RadialVelocities/ADCP/Radial_ADCPbin2_HFR_PAO_version5_Sept2013.png
.. figure:: figures/Radial_ADCPbin2_HFR_PAO_version5_Sept2013.png
:align: center
Hourly radial currents from ADCP bin 2 and HFR WERA at PAO - September 2013
......
This diff is collapsed.
......@@ -10,7 +10,7 @@ CODAR
**POINTE-AU-PERE:**
***********************
Please see notes from field work on `2013-02-01`_
Please see notes from field work on `2013-02-01`_.
.. _2013-02-01: http://demeter.uqar.ca/submesoscale/index.php/Pap
......@@ -67,6 +67,94 @@ To generate the new Antenna diagram:
WERA
#####
Go to the **"Submesoscale"** `wiki`_ and click on "useful links" under **Outils**, then "WERA HF Radar Software - Fortran Programs Documentation". Here we find which Fortran program we need to use to do what we want.
.. _wiki: http://demeter.uqar.ca/submesoscale/index.php/Accueil
.. topic:: Objectives
We need to "remove wrong calibration data and apply new ones", so we need to use Modify_WERA_SORT.
Steps to generate new calibration file
*****************************************
#. loggin to the wera server wera@132.215.11.14
#. cd etc/
In this folder, we find the original calibration files:
- calibration_pab.wera
- calibration_pao.wera
If we look at what the content of the calibration file:
- cat calibration_pab.wera
the phase is given in the 3rd column.
On 2014-10-29 (PAO) and 2014_10-30 (PAB), calibrations were undertaken in the field.
Calibration data are stored in:
- /hfr-data-processing/calibrations/PAB/2014303 every minute from 16:53 to 17:55
- /hfr-data-processing/calibrations/PAO/2014302 every minute from 17:46 to 18:23
While the calibrations were running, tracks were recorded with an instrument belonging to Helzel (PAO and PAB) as well as with an instrument belonging to Flament (PAB). So for PAB we are going to be able to compare the two.
The tracks can be found in :
- /hfr-data-processing/calibrations/PAO/HelzelPAO_Track_29-OCT-14 183138.gpx
- /hfr-data-processing/calibrations/PAB/HelzelPAB_Track_30-OCT-14 175446.gpx
- /hfr-data-processing/calibrations/PAB/FlamentPAB_Track_30-OCT-14 182008.gpx
We use the routine **GPS_gpx2mat.m** to convert .gpx files into .mat files.
We use the routine **WERA_AntennaCoord_txt2mat.m** to transform the .txt files with antennas'coordinates to .mat files.
We use the routine **WERAphase_txt2mat.m** to convert the .txt files containing phases into .mat files.
The routine **WERAcalibration.m** is available at this `page`_.
.. _page: WERAcalibration.html
All the Matlab routines are located in ~/hfr-data-processing/calibrations/.
Re-processing of radial currents with new phases
***************************************************
For the all month of September 2013, we are going to generate new files using the new calibration phases.
Post-processing of WERA radial currents is documented `here`_.
.. _here: WERAprocessing.html
For example, let us see what we have to do to generate radial currents at PAO using the new calibration phases for september 1st, 2013 (Julian day 244):
Data in the ~/data1/PAO/2013244/raw/ folder are converted in .SORT and .RFI in the ~/data1/PAO/2013244/results/ folder using the **do_process_SORT_pol** shell script. These files are generated using the "original" calibration phases.
First we need to change the original .SORT and .RFI files and save them to .SORT0 and .RFI0 to save them for future reference. This is done with the shell script **changeName.sh** located in /hfr-data-processing/postprocessing/wera/.
.SORT====> .SORT0 (generated with original calibration)
.RFI ====> .RFI0
as well as 2 symbolic links to point towards which file is the calibration to remove (with link calibration.wera.remove) and which file is the calibration to use (with link calibration.wera.apply).
If we look at what the content of the calibration file is:
* cat calibration_pab.wera
We want to compare the value of the phase given in the 3rd column with the one that we compute.
COMPARISON OLD/NEW WERA CALIBRATIONS
**************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment