Commit 9ce85642 authored by Marion Bandet's avatar Marion Bandet

update calibration outputs PAO and PAB

parent f45a2133
......@@ -79,8 +79,8 @@ Go to the **"Submesoscale"** `wiki`_ and click on "useful links" under **Outils*
Steps to generate new calibration file
*****************************************
1. Steps to generate new calibration phases
*********************************************
#. loggin to the wera server wera@132.215.11.14
#. cd etc/
......@@ -109,14 +109,15 @@ The tracks can be found in :
- /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 used for the data processing are located in **~/hfr-data-processing/calibrations/**.
......@@ -125,7 +126,7 @@ Outputs of **WERAcalibration.m** for PAO site are available here: `calibrationPA
.. _calibrationPAO: calibPAO.html
+---------------------------------------------+
| PAO - Helzel |
| PAO - Helzel- Phases in degrees |
+-------------+-----------------+-------------+
| Antenna nb | original phase | new phase |
+=============+=================+=============+
......@@ -154,14 +155,16 @@ Outputs of **WERAcalibration.m** for PAO site are available here: `calibrationPA
| 12 | -9.7778 | 153.9098 |
+-------------+-----------------+-------------+
The new phase values were saved under **calibration_pao_29OCT2014.wera**.
Outputs of WERAcalibration.m for PAB site are available here: `calibrationPAB`_
.. _calibrationPAB: calibPAB.html
+---------------------------------------------+
| PAB - Helzel |
| PAB - Helzel - Phases in degrees |
+-------------+-----------------+-------------+
| Antenna nb | original phase | new phase |
+=============+=================+=============+
......@@ -190,40 +193,51 @@ Outputs of WERAcalibration.m for PAB site are available here: `calibrationPAB`_
| 12 | -2.7529 | 7.4966 |
+-------------+-----------------+-------------+
The new phase values were saved under **calibration_pab_30OCT2014.wera**.
Re-processing of radial currents with new phases
2. 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.
For the all month of September 2013, we are going to generate new radial currents using the new calibration phases.
Post-processing of WERA radial currents is documented `here`_.
Common steps for the 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.
For example, let us see what we have to do to generate new radial currents at PAO using the new calibration phases for september 1st, 2013 (Julian day 244):
- loggin to the wera server
- go to the folder containing the data:
. cd ~/data1/PAO/2013244/
. the raw currents are located in **2013244/raw/**
. the analysis takes the raw currents, apply the calibration phases and save the resulting radial currents in **/2013244/results/** under .SORT and .RFI files using the **do_process_SORT_pol** shell script. This is done using the original calibration phases.
. the new radial currents using the updated calibration phases will be saved under **/2013244/results/new**.
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/.
- 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
- then we need to create a symbolic link to specify with files to use in terms of calibration phases. This file is different for each site.
For the example taken here (site = PAO): calibration.wera.apply ---> calibration_pao_29OCT2014.wera and calibration.wera.remove -----> calibration_pao.wera
- then we need to run **MODIFY_WERA_SORT** to generate new .SORT and .RFI files using the new calibration phases.
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).
All these steps are done in a shell script **do_postprocess_SORT_newCalib.sh** that calls **wera_new_calibration.sh**.
Large data files transfer has been automatized in **do_filetransferssh.sh** that calls **fileTransferSSH.sh**.
All the shell scripts are located on the WERA server under **/home/wera/bin/**.
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.
......
......@@ -22,6 +22,7 @@ Documentation about the steps of the analysis
WERAprocessing
calibration
calibPAO
calibPAB
Comparison_WERA-ADCP_Sept2013
CurrentsCombination
......
......@@ -113,8 +113,8 @@
<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>
<div class="section" id="steps-to-generate-new-calibration-phases">
<h3>1. Steps to generate new calibration phases<a class="headerlink" href="#steps-to-generate-new-calibration-phases" 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>
......@@ -154,9 +154,9 @@
</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>We use the routine <strong>GPS_gpx2mat.m</strong> to convert .gpx files into .mat files.</p>
<p>We use the routine <strong>WERA_AntennaCoord_txt2mat.m</strong> to transform the .txt files with antennas&#8217;coordinates to .mat files.</p>
<p>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 used for the data processing are located in <strong>~/hfr-data-processing/calibrations/</strong>.</p>
<p>Outputs of <strong>WERAcalibration.m</strong> for PAO site are available here: <a class="reference external" href="calibPAO.html">calibrationPAO</a></p>
......@@ -167,7 +167,7 @@ We use the routine <strong>WERAphase_txt2mat.m</strong> to convert the .txt file
<col width="30%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head" colspan="3">PAO - Helzel</th>
<tr class="row-odd"><th class="head" colspan="3">PAO - Helzel- Phases in degrees</th>
</tr>
<tr class="row-even"><th class="head">Antenna nb</th>
<th class="head">original phase</th>
......@@ -225,6 +225,7 @@ We use the routine <strong>WERAphase_txt2mat.m</strong> to convert the .txt file
</tr>
</tbody>
</table>
<p>The new phase values were saved under <strong>calibration_pao_29OCT2014.wera</strong>.</p>
<p>Outputs of WERAcalibration.m for PAB site are available here: <a class="reference external" href="calibPAB.html">calibrationPAB</a></p>
<table border="1" class="docutils">
<colgroup>
......@@ -233,7 +234,7 @@ We use the routine <strong>WERAphase_txt2mat.m</strong> to convert the .txt file
<col width="30%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head" colspan="3">PAB - Helzel</th>
<tr class="row-odd"><th class="head" colspan="3">PAB - Helzel - Phases in degrees</th>
</tr>
<tr class="row-even"><th class="head">Antenna nb</th>
<th class="head">original phase</th>
......@@ -291,25 +292,41 @@ We use the routine <strong>WERAphase_txt2mat.m</strong> to convert the .txt file
</tr>
</tbody>
</table>
<p>The new phase values were saved under <strong>calibration_pab_30OCT2014.wera</strong>.</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>
<h3>2. 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 radial currents using the new calibration phases.</p>
<p>Common steps for the 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 new radial currents at PAO using the new calibration phases for september 1st, 2013 (Julian day 244):</p>
<blockquote>
<div><ul>
<li><p class="first">loggin to the wera server</p>
</li>
<li><p class="first">go to the folder containing the data:</p>
<blockquote>
<div><p>. cd ~/data1/PAO/2013244/
. the raw currents are located in <strong>2013244/raw/</strong>
. the analysis takes the raw currents, apply the calibration phases and save the resulting radial currents in <strong>/2013244/results/</strong> under .SORT and .RFI files using the <strong>do_process_SORT_pol</strong> shell script. This is done using the original calibration phases.
. the new radial currents using the updated calibration phases will be saved under <strong>/2013244/results/new</strong>.</p>
</div></blockquote>
</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>
<blockquote>
<div><ul class="simple">
<li>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 <strong>/hfr-data-processing/postprocessing/wera/</strong>.</li>
<li>then we need to create a symbolic link to specify with files to use in terms of calibration phases. This file is different for each site.</li>
</ul>
<blockquote>
<div>For the example taken here (site = PAO): calibration.wera.apply &#8212;&gt; calibration_pao_29OCT2014.wera and calibration.wera.remove &#8212;&#8211;&gt; calibration_pao.wera</div></blockquote>
<ul class="simple">
<li>then we need to run <strong>MODIFY_WERA_SORT</strong> to generate new .SORT and .RFI files using the new calibration phases.</li>
</ul>
</div></blockquote>
</div></blockquote>
<p>All these steps are done in a shell script <strong>do_postprocess_SORT_newCalib.sh</strong> that calls <strong>wera_new_calibration.sh</strong>.</p>
<p>Large data files transfer has been automatized in <strong>do_filetransferssh.sh</strong> that calls <strong>fileTransferSSH.sh</strong>.</p>
<p>All the shell scripts are located on the WERA server under <strong>/home/wera/bin/</strong>.</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>
......@@ -345,8 +362,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="#steps-to-generate-new-calibration-phases">1. Steps to generate new calibration phases</a></li>
<li><a class="reference internal" href="#re-processing-of-radial-currents-with-new-phases">2. 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,14 +64,15 @@
</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#steps-to-generate-new-calibration-phases">1. Steps to generate new calibration phases</a></li>
<li class="toctree-l3"><a class="reference internal" href="calibration.html#re-processing-of-radial-currents-with-new-phases">2. 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>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="calibPAO.html">Outputs of WERAcalibration.m for PAO site</a></li>
<li class="toctree-l1"><a class="reference internal" href="calibPAB.html">Outputs of WERAcalibration.m for PAB site</a></li>
<li class="toctree-l1"><a class="reference internal" href="Comparison_WERA-ADCP_Sept2013.html">Comparison WERA and ADCP radial velocities September 2013</a></li>
<li class="toctree-l1"><a class="reference internal" href="Comparison_WERA-ADCP_Sept2013.html#hfr-direction">HFR direction</a></li>
<li class="toctree-l1"><a class="reference internal" href="CurrentsCombination.html">Current combination and OGSL data feed</a></li>
......
This diff is collapsed.
......@@ -79,8 +79,8 @@ Go to the **"Submesoscale"** `wiki`_ and click on "useful links" under **Outils*
Steps to generate new calibration file
*****************************************
1. Steps to generate new calibration phases
*********************************************
#. loggin to the wera server wera@132.215.11.14
#. cd etc/
......@@ -109,14 +109,15 @@ The tracks can be found in :
- /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 used for the data processing are located in **~/hfr-data-processing/calibrations/**.
......@@ -125,7 +126,7 @@ Outputs of **WERAcalibration.m** for PAO site are available here: `calibrationPA
.. _calibrationPAO: calibPAO.html
+---------------------------------------------+
| PAO - Helzel |
| PAO - Helzel- Phases in degrees |
+-------------+-----------------+-------------+
| Antenna nb | original phase | new phase |
+=============+=================+=============+
......@@ -154,14 +155,16 @@ Outputs of **WERAcalibration.m** for PAO site are available here: `calibrationPA
| 12 | -9.7778 | 153.9098 |
+-------------+-----------------+-------------+
The new phase values were saved under **calibration_pao_29OCT2014.wera**.
Outputs of WERAcalibration.m for PAB site are available here: `calibrationPAB`_
.. _calibrationPAB: calibPAB.html
+---------------------------------------------+
| PAB - Helzel |
| PAB - Helzel - Phases in degrees |
+-------------+-----------------+-------------+
| Antenna nb | original phase | new phase |
+=============+=================+=============+
......@@ -190,40 +193,51 @@ Outputs of WERAcalibration.m for PAB site are available here: `calibrationPAB`_
| 12 | -2.7529 | 7.4966 |
+-------------+-----------------+-------------+
The new phase values were saved under **calibration_pab_30OCT2014.wera**.
Re-processing of radial currents with new phases
2. 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.
For the all month of September 2013, we are going to generate new radial currents using the new calibration phases.
Post-processing of WERA radial currents is documented `here`_.
Common steps for the 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.
For example, let us see what we have to do to generate new radial currents at PAO using the new calibration phases for september 1st, 2013 (Julian day 244):
- loggin to the wera server
- go to the folder containing the data:
. cd ~/data1/PAO/2013244/
. the raw currents are located in **2013244/raw/**
. the analysis takes the raw currents, apply the calibration phases and save the resulting radial currents in **/2013244/results/** under .SORT and .RFI files using the **do_process_SORT_pol** shell script. This is done using the original calibration phases.
. the new radial currents using the updated calibration phases will be saved under **/2013244/results/new**.
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/.
- 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
- then we need to create a symbolic link to specify with files to use in terms of calibration phases. This file is different for each site.
For the example taken here (site = PAO): calibration.wera.apply ---> calibration_pao_29OCT2014.wera and calibration.wera.remove -----> calibration_pao.wera
- then we need to run **MODIFY_WERA_SORT** to generate new .SORT and .RFI files using the new calibration phases.
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).
All these steps are done in a shell script **do_postprocess_SORT_newCalib.sh** that calls **wera_new_calibration.sh**.
Large data files transfer has been automatized in **do_filetransferssh.sh** that calls **fileTransferSSH.sh**.
All the shell scripts are located on the WERA server under **/home/wera/bin/**.
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.
......
......@@ -22,6 +22,7 @@ Documentation about the steps of the analysis
WERAprocessing
calibration
calibPAO
calibPAB
Comparison_WERA-ADCP_Sept2013
CurrentsCombination
......
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