From 822bd9493c88acd2d1f03ace7381e7f23f0d7f46 Mon Sep 17 00:00:00 2001
From: Maeva Pourpoint <maeva@passcal.nmt.edu>
Date: Wed, 26 Jan 2022 10:29:21 -0700
Subject: [PATCH] UI files

---
 lemi2seed/ui_files/electricwidget.ui          |  78 +++---
 lemi2seed/ui_files/helpwidget.ui              | 240 +++++++++++++++++
 lemi2seed/ui_files/magneticwidget.ui          |  16 +-
 lemi2seed/ui_files/mainwindow.ui              |  74 ++++--
 .../{surveywidget.ui => networkwidget.ui}     |  30 +--
 lemi2seed/ui_files/runwidget.ui               | 242 +++++++++---------
 lemi2seed/ui_files/stationwidget.ui           |  67 ++---
 7 files changed, 510 insertions(+), 237 deletions(-)
 create mode 100644 lemi2seed/ui_files/helpwidget.ui
 rename lemi2seed/ui_files/{surveywidget.ui => networkwidget.ui} (94%)

diff --git a/lemi2seed/ui_files/electricwidget.ui b/lemi2seed/ui_files/electricwidget.ui
index 4ccf6aa..6ed0741 100644
--- a/lemi2seed/ui_files/electricwidget.ui
+++ b/lemi2seed/ui_files/electricwidget.ui
@@ -13,6 +13,12 @@
     <height>660</height>
    </rect>
   </property>
+  <property name="sizePolicy">
+   <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
+    <horstretch>0</horstretch>
+    <verstretch>0</verstretch>
+   </sizepolicy>
+  </property>
   <property name="windowTitle">
    <string>Form</string>
   </property>
@@ -43,27 +49,13 @@
        </widget>
       </item>
       <item row="0" column="1">
-       <widget class="QComboBox" name="uiChannelNumber">
-        <item>
-         <property name="text">
-          <string>E1</string>
-         </property>
-        </item>
-        <item>
-         <property name="text">
-          <string>E2</string>
-         </property>
-        </item>
-        <item>
-         <property name="text">
-          <string>E3</string>
-         </property>
-        </item>
-        <item>
-         <property name="text">
-          <string>E4</string>
-         </property>
-        </item>
+       <widget class="QComboBox" name="uiChaNum">
+        <property name="sizePolicy">
+         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
        </widget>
       </item>
       <item row="1" column="0">
@@ -87,7 +79,7 @@ Set to 1 Hz since the LEMI datalogger only has one sample rate for data recordin
       <item row="2" column="0">
        <widget class="QLabel" name="label">
         <property name="toolTip">
-         <string>Azimuth angle of the channel in the specified survey orientation reference frame.</string>
+         <string>Azimuth angle of the channel in the orientation reference frame specified at the station level.</string>
         </property>
         <property name="text">
          <string>Azimuth (°) *</string>
@@ -95,12 +87,12 @@ Set to 1 Hz since the LEMI datalogger only has one sample rate for data recordin
        </widget>
       </item>
       <item row="2" column="1">
-       <widget class="QLineEdit" name="uiMeasurementAzimuth"/>
+       <widget class="QLineEdit" name="uiMeasAzimuth"/>
       </item>
       <item row="3" column="0">
        <widget class="QLabel" name="label_2">
         <property name="toolTip">
-         <string>Tilt angle of the channel in the specified survey orientation reference frame.</string>
+         <string>Tilt angle of the channel in the orientation reference frame specified at the station level.</string>
         </property>
         <property name="text">
          <string>Tilt (°) *</string>
@@ -108,12 +100,12 @@ Set to 1 Hz since the LEMI datalogger only has one sample rate for data recordin
        </widget>
       </item>
       <item row="3" column="1">
-       <widget class="QLineEdit" name="uiMeasurementTilt"/>
+       <widget class="QLineEdit" name="uiMeasTilt"/>
       </item>
       <item row="4" column="0">
        <widget class="QLabel" name="label_5">
         <property name="toolTip">
-         <string>Lenght of the dipole (i.e. from the positive electrode to the negative one or vice versa).</string>
+         <string>Length of the dipole (i.e. from the positive electrode to the negative one or vice versa).</string>
         </property>
         <property name="text">
          <string>Dipole length (m) *</string>
@@ -121,7 +113,7 @@ Set to 1 Hz since the LEMI datalogger only has one sample rate for data recordin
        </widget>
       </item>
       <item row="4" column="1">
-       <widget class="QLineEdit" name="uiDipoleLength"/>
+       <widget class="QLineEdit" name="uiDipoleLen"/>
       </item>
       <item row="5" column="0">
        <widget class="QLabel" name="label_10">
@@ -134,7 +126,13 @@ Set to 1 Hz since the LEMI datalogger only has one sample rate for data recordin
        </widget>
       </item>
       <item row="5" column="1">
-       <widget class="QComboBox" name="uiInstrumentSpecs">
+       <widget class="QComboBox" name="uiInstSpecs">
+        <property name="sizePolicy">
+         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
         <item>
          <property name="text">
           <string>Borin STELTH 4 - Silver-Silver Chloride</string>
@@ -239,7 +237,7 @@ Set to 1 Hz since the LEMI datalogger only has one sample rate for data recordin
        <widget class="QLabel" name="label_14">
         <property name="toolTip">
          <string>Direction in which negative electrode was installed.
- By convention South or West.</string>
+By convention South or West.</string>
         </property>
         <property name="text">
          <string>Direction *</string>
@@ -247,7 +245,13 @@ Set to 1 Hz since the LEMI datalogger only has one sample rate for data recordin
        </widget>
       </item>
       <item row="13" column="1">
-       <widget class="QComboBox" name="uiNegativeElectrodeDirection">
+       <widget class="QComboBox" name="uiNegElecDir">
+        <property name="sizePolicy">
+         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
         <item>
          <property name="text">
           <string>North</string>
@@ -281,7 +285,7 @@ Set to 1 Hz since the LEMI datalogger only has one sample rate for data recordin
        </widget>
       </item>
       <item row="14" column="1">
-       <widget class="QLineEdit" name="uiNegativeElectrodeSerialNumber"/>
+       <widget class="QLineEdit" name="uiNegElecSn"/>
       </item>
       <item row="15" column="0">
        <widget class="QLabel" name="label_11">
@@ -299,7 +303,7 @@ Set to 1 Hz since the LEMI datalogger only has one sample rate for data recordin
        <widget class="QLabel" name="label_16">
         <property name="toolTip">
          <string>Direction in which positive electrode was installed.
- By convention North or East.</string>
+By convention North or East.</string>
         </property>
         <property name="text">
          <string>Direction *</string>
@@ -307,7 +311,13 @@ Set to 1 Hz since the LEMI datalogger only has one sample rate for data recordin
        </widget>
       </item>
       <item row="16" column="1">
-       <widget class="QComboBox" name="uiPositiveElectrodeDirection">
+       <widget class="QComboBox" name="uiPosElecDir">
+        <property name="sizePolicy">
+         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
         <item>
          <property name="text">
           <string>North</string>
@@ -341,7 +351,7 @@ Set to 1 Hz since the LEMI datalogger only has one sample rate for data recordin
        </widget>
       </item>
       <item row="17" column="1">
-       <widget class="QLineEdit" name="uiPositiveElectrodeSerialNumber"/>
+       <widget class="QLineEdit" name="uiPosElecSn"/>
       </item>
      </layout>
     </widget>
diff --git a/lemi2seed/ui_files/helpwidget.ui b/lemi2seed/ui_files/helpwidget.ui
new file mode 100644
index 0000000..2250cbd
--- /dev/null
+++ b/lemi2seed/ui_files/helpwidget.ui
@@ -0,0 +1,240 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>HelpWindow</class>
+ <widget class="QWidget" name="HelpWindow">
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>1091</width>
+    <height>438</height>
+   </rect>
+  </property>
+  <property name="windowTitle">
+   <string>Form</string>
+  </property>
+  <property name="styleSheet">
+   <string notr="true">background-color: white;</string>
+  </property>
+  <widget class="QTextEdit" name="textEdit">
+   <property name="geometry">
+    <rect>
+     <x>10</x>
+     <y>10</y>
+     <width>1111</width>
+     <height>91</height>
+    </rect>
+   </property>
+   <property name="styleSheet">
+    <string notr="true">border: 0;</string>
+   </property>
+   <property name="html">
+    <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
+&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
+p, li { white-space: pre-wrap; }
+&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'.AppleSystemUIFont'; font-size:13pt; font-weight:400; font-style:normal;&quot;&gt;
+&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Description&lt;/span&gt;&lt;/p&gt;
+&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;lemi2seed is a GUI software tool developped by the PASSCAL Instrument Center to convert LEMI data and metadata into day-long mseed and StationXML files.&lt;/p&gt;
+&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
+&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Usage&lt;/span&gt;&lt;/p&gt;
+&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;The tool bar offers the following options:&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+   </property>
+   <property name="textInteractionFlags">
+    <set>Qt::NoTextInteraction</set>
+   </property>
+  </widget>
+  <widget class="QTextEdit" name="textEdit_2">
+   <property name="geometry">
+    <rect>
+     <x>20</x>
+     <y>110</y>
+     <width>25</width>
+     <height>25</height>
+    </rect>
+   </property>
+   <property name="styleSheet">
+    <string notr="true">border-image: url(:/icons/open_metadata.png) 0 0 0 0 strech strech;</string>
+   </property>
+   <property name="textInteractionFlags">
+    <set>Qt::NoTextInteraction</set>
+   </property>
+  </widget>
+  <widget class="QTextEdit" name="textEdit_3">
+   <property name="geometry">
+    <rect>
+     <x>60</x>
+     <y>110</y>
+     <width>731</width>
+     <height>31</height>
+    </rect>
+   </property>
+   <property name="styleSheet">
+    <string notr="true">border: 0;</string>
+   </property>
+   <property name="html">
+    <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
+&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
+p, li { white-space: pre-wrap; }
+&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'.AppleSystemUIFont'; font-size:13pt; font-weight:400; font-style:normal;&quot;&gt;
+&lt;p align=&quot;justify&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Upload metadata previously saved with the GUI. The uploaded file has to be in a pickle format (.pkl file extension).&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+   </property>
+   <property name="textInteractionFlags">
+    <set>Qt::NoTextInteraction</set>
+   </property>
+  </widget>
+  <widget class="QTextEdit" name="textEdit_4">
+   <property name="geometry">
+    <rect>
+     <x>20</x>
+     <y>144</y>
+     <width>25</width>
+     <height>25</height>
+    </rect>
+   </property>
+   <property name="styleSheet">
+    <string notr="true">border-image: url(:/icons/save_metadata.png) 0 0 0 0 strech strech;</string>
+   </property>
+   <property name="textInteractionFlags">
+    <set>Qt::NoTextInteraction</set>
+   </property>
+  </widget>
+  <widget class="QTextEdit" name="textEdit_5">
+   <property name="geometry">
+    <rect>
+     <x>60</x>
+     <y>140</y>
+     <width>681</width>
+     <height>31</height>
+    </rect>
+   </property>
+   <property name="styleSheet">
+    <string notr="true">border: 0;</string>
+   </property>
+   <property name="html">
+    <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
+&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
+p, li { white-space: pre-wrap; }
+&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'.AppleSystemUIFont'; font-size:13pt; font-weight:400; font-style:normal;&quot;&gt;
+&lt;p align=&quot;justify&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Save inputted metadata. The metadata will be stored in a pickle format (.pkl file extension).&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+   </property>
+   <property name="textInteractionFlags">
+    <set>Qt::NoTextInteraction</set>
+   </property>
+  </widget>
+  <widget class="QTextEdit" name="textEdit_6">
+   <property name="geometry">
+    <rect>
+     <x>20</x>
+     <y>185</y>
+     <width>28</width>
+     <height>28</height>
+    </rect>
+   </property>
+   <property name="styleSheet">
+    <string notr="true">border-image: url(:/icons/write_mseed.png) 0 0 0 0 strech strech;</string>
+   </property>
+   <property name="textInteractionFlags">
+    <set>Qt::NoTextInteraction</set>
+   </property>
+  </widget>
+  <widget class="QTextEdit" name="textEdit_7">
+   <property name="geometry">
+    <rect>
+     <x>60</x>
+     <y>170</y>
+     <width>1051</width>
+     <height>61</height>
+    </rect>
+   </property>
+   <property name="styleSheet">
+    <string notr="true">border: 0;</string>
+   </property>
+   <property name="html">
+    <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
+&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
+p, li { white-space: pre-wrap; }
+&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'.AppleSystemUIFont'; font-size:13pt; font-weight:400; font-style:normal;&quot;&gt;
+&lt;p align=&quot;justify&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Write day-long mseed files in user defined output directory or default directory (./MSEED).&lt;/p&gt;
+&lt;p align=&quot;justify&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Write calibration information in log file under user defined output directory or default directory (./LOGS) if calibration coefficient files (.def) were provided by the user. &lt;/p&gt;
+&lt;p align=&quot;justify&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;This option is only enabled if all user provided metadata are valid and all required metadata are filled.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+   </property>
+   <property name="textInteractionFlags">
+    <set>Qt::NoTextInteraction</set>
+   </property>
+  </widget>
+  <widget class="QTextEdit" name="textEdit_8">
+   <property name="geometry">
+    <rect>
+     <x>20</x>
+     <y>238</y>
+     <width>25</width>
+     <height>25</height>
+    </rect>
+   </property>
+   <property name="styleSheet">
+    <string notr="true">border-image: url(:/icons/write_stationxml.png) 0 0 0 0 strech strech;</string>
+   </property>
+   <property name="textInteractionFlags">
+    <set>Qt::NoTextInteraction</set>
+   </property>
+  </widget>
+  <widget class="QTextEdit" name="textEdit_9">
+   <property name="geometry">
+    <rect>
+     <x>60</x>
+     <y>230</y>
+     <width>681</width>
+     <height>41</height>
+    </rect>
+   </property>
+   <property name="styleSheet">
+    <string notr="true">border: 0;</string>
+   </property>
+   <property name="html">
+    <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
+&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
+p, li { white-space: pre-wrap; }
+&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'.AppleSystemUIFont'; font-size:13pt; font-weight:400; font-style:normal;&quot;&gt;
+&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Write StationXML file in user defined output directory or default directory (./STATIONXML).&lt;/p&gt;
+&lt;p align=&quot;justify&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;This option will only be enabled if all user provided metadata are valid and all required metadata are filled.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+   </property>
+   <property name="textInteractionFlags">
+    <set>Qt::NoTextInteraction</set>
+   </property>
+  </widget>
+  <widget class="QTextEdit" name="textEdit_10">
+   <property name="geometry">
+    <rect>
+     <x>10</x>
+     <y>290</y>
+     <width>1061</width>
+     <height>151</height>
+    </rect>
+   </property>
+   <property name="styleSheet">
+    <string notr="true">border: 0;</string>
+   </property>
+   <property name="html">
+    <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
+&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
+p, li { white-space: pre-wrap; }
+&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'.AppleSystemUIFont'; font-size:13pt; font-weight:400; font-style:normal;&quot;&gt;
+&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;The main window has four panels: &lt;span style=&quot; font-weight:600;&quot;&gt;Network&lt;/span&gt;, &lt;span style=&quot; font-weight:600;&quot;&gt;Station&lt;/span&gt;, &lt;span style=&quot; font-weight:600;&quot;&gt;Electric&lt;/span&gt;, &lt;span style=&quot; font-weight:600;&quot;&gt;Magnetic&lt;/span&gt;. To navigate from one panel to another, just select the panel of interest.&lt;/p&gt;
+&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
+&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;In each panel, the required metadata are identified with the asterisk symbol (&lt;span style=&quot; font-weight:600;&quot;&gt;*&lt;/span&gt;).&lt;/p&gt;
+&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;For more information about a metadata field and its expected format, hover your mouse on its label.&lt;/p&gt;
+&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
+&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;To validate the inputted metadata, select the &amp;quot;&lt;span style=&quot; font-weight:600;&quot;&gt;Validate Metadata&lt;/span&gt;&amp;quot; button in the bottom right corner of the main window.&lt;/p&gt;
+&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Invalid metadata or unfilled required metadata will be circled in red. The name of the panels for which metadata are invalid or missing will also be highlighted in red.&lt;/p&gt;
+&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;For more information about why a given metadata field is flagged as invalid, check the logging outputs in the terminal window.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+   </property>
+   <property name="textInteractionFlags">
+    <set>Qt::NoTextInteraction</set>
+   </property>
+  </widget>
+ </widget>
+ <resources>
+  <include location="../resources/resources.qrc"/>
+ </resources>
+ <connections/>
+</ui>
diff --git a/lemi2seed/ui_files/magneticwidget.ui b/lemi2seed/ui_files/magneticwidget.ui
index 2c8b41b..d65642d 100644
--- a/lemi2seed/ui_files/magneticwidget.ui
+++ b/lemi2seed/ui_files/magneticwidget.ui
@@ -53,7 +53,8 @@ Set to 1 Hz since the LEMI datalogger only has one sample rate for data recordin
       <item row="1" column="0">
        <widget class="QLabel" name="label_2">
         <property name="toolTip">
-         <string>Azimuth angle of the channel in the specified survey orientation reference frame.</string>
+         <string>Azimuth angle of the channel in the orientation reference frame specified at the station level.
+If the fluxgate is perfectly aligned with the geomagnetic or geographic north, the provided azimuth angle should be 0°.</string>
         </property>
         <property name="text">
          <string>Azimuth (°) *</string>
@@ -61,12 +62,13 @@ Set to 1 Hz since the LEMI datalogger only has one sample rate for data recordin
        </widget>
       </item>
       <item row="1" column="1">
-       <widget class="QLineEdit" name="uiMeasurementAzimuth"/>
+       <widget class="QLineEdit" name="uiMeasAzimuth"/>
       </item>
       <item row="2" column="0">
        <widget class="QLabel" name="label_3">
         <property name="toolTip">
-         <string>Tilt angle of the channel in the specified survey orientation reference frame.</string>
+         <string>Tilt angle of the fluxgate in the orientation reference frame specified at the station level.
+If the fluxgate is installed perfectly vertically, the provided tilt angle should be 90°.</string>
         </property>
         <property name="text">
          <string>Tilt (°) *</string>
@@ -74,12 +76,12 @@ Set to 1 Hz since the LEMI datalogger only has one sample rate for data recordin
        </widget>
       </item>
       <item row="2" column="1">
-       <widget class="QLineEdit" name="uiMeasurementTilt"/>
+       <widget class="QLineEdit" name="uiMeasTilt"/>
       </item>
       <item row="3" column="0">
        <widget class="QLabel" name="label_4">
         <property name="toolTip">
-         <string>Magnetometer specifications.</string>
+         <string>Magnetometer specifications (Manufacturer - Model - Type).</string>
         </property>
         <property name="text">
          <string>Magnetometer - Specs *</string>
@@ -87,7 +89,7 @@ Set to 1 Hz since the LEMI datalogger only has one sample rate for data recordin
        </widget>
       </item>
       <item row="3" column="1">
-       <widget class="QComboBox" name="uiInstrumentSpecs">
+       <widget class="QComboBox" name="uiInstSpecs">
         <item>
          <property name="text">
           <string>LEMI-039</string>
@@ -111,7 +113,7 @@ Set to 1 Hz since the LEMI datalogger only has one sample rate for data recordin
        </widget>
       </item>
       <item row="4" column="1">
-       <widget class="QLineEdit" name="uiSerialNumber"/>
+       <widget class="QLineEdit" name="uiFluxgateSn"/>
       </item>
      </layout>
     </widget>
diff --git a/lemi2seed/ui_files/mainwindow.ui b/lemi2seed/ui_files/mainwindow.ui
index 80de55b..9e37146 100644
--- a/lemi2seed/ui_files/mainwindow.ui
+++ b/lemi2seed/ui_files/mainwindow.ui
@@ -10,29 +10,41 @@
     <height>850</height>
    </rect>
   </property>
+  <property name="sizePolicy">
+   <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
+    <horstretch>0</horstretch>
+    <verstretch>0</verstretch>
+   </sizepolicy>
+  </property>
   <property name="minimumSize">
    <size>
-    <width>0</width>
-    <height>850</height>
+    <width>1200</width>
+    <height>800</height>
    </size>
   </property>
   <property name="windowTitle">
    <string>MainWindow</string>
   </property>
   <widget class="QWidget" name="centralwidget">
+   <property name="minimumSize">
+    <size>
+     <width>0</width>
+     <height>700</height>
+    </size>
+   </property>
    <layout class="QVBoxLayout" name="verticalLayout">
     <item>
-     <widget class="QTabWidget" name="tabWidget">
+     <widget class="QTabWidget" name="uiMainTabs">
       <property name="sizePolicy">
-       <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
+       <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
       <property name="minimumSize">
        <size>
-        <width>1300</width>
-        <height>715</height>
+        <width>1100</width>
+        <height>650</height>
        </size>
       </property>
       <property name="styleSheet">
@@ -42,9 +54,9 @@
 }</string>
       </property>
       <property name="currentIndex">
-       <number>2</number>
+       <number>0</number>
       </property>
-      <widget class="QWidget" name="uiSurvey">
+      <widget class="QWidget" name="uiNet">
        <attribute name="title">
         <string>Network</string>
        </attribute>
@@ -53,11 +65,11 @@
        </attribute>
        <layout class="QHBoxLayout" name="horizontalLayout">
         <item>
-         <layout class="QVBoxLayout" name="uiSurveyEditor"/>
+         <layout class="QVBoxLayout" name="uiNetEditor"/>
         </item>
        </layout>
       </widget>
-      <widget class="QWidget" name="uiStation">
+      <widget class="QWidget" name="uiSta">
        <attribute name="title">
         <string>Station</string>
        </attribute>
@@ -66,11 +78,11 @@
        </attribute>
        <layout class="QHBoxLayout" name="horizontalLayout_3">
         <item>
-         <layout class="QVBoxLayout" name="uiStationEditor"/>
+         <layout class="QVBoxLayout" name="uiStaEditor"/>
         </item>
        </layout>
       </widget>
-      <widget class="QWidget" name="uiElectric">
+      <widget class="QWidget" name="uiElec">
        <attribute name="title">
         <string>Electric</string>
        </attribute>
@@ -79,11 +91,11 @@
        </attribute>
        <layout class="QVBoxLayout" name="verticalLayout_2">
         <item>
-         <layout class="QVBoxLayout" name="uiElectricEditor"/>
+         <layout class="QVBoxLayout" name="uiElecEditor"/>
         </item>
        </layout>
       </widget>
-      <widget class="QWidget" name="uiMagnetic">
+      <widget class="QWidget" name="uiMag">
        <attribute name="title">
         <string>Magnetic</string>
        </attribute>
@@ -92,14 +104,14 @@
        </attribute>
        <layout class="QHBoxLayout" name="horizontalLayout_5">
         <item>
-         <layout class="QVBoxLayout" name="uiMagneticEditor"/>
+         <layout class="QVBoxLayout" name="uiMagEditor"/>
         </item>
        </layout>
       </widget>
      </widget>
     </item>
     <item alignment="Qt::AlignRight|Qt::AlignBottom">
-     <widget class="QPushButton" name="uiValidateMetadata">
+     <widget class="QPushButton" name="uiValidateMD">
       <property name="sizePolicy">
        <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
         <horstretch>0</horstretch>
@@ -132,7 +144,8 @@
     <property name="title">
      <string>&amp;File</string>
     </property>
-    <addaction name="actionLoad_metadata"/>
+    <addaction name="actionLoad_MD"/>
+    <addaction name="actionSave_MD"/>
     <addaction name="actionWrite_mseed"/>
     <addaction name="actionWrite_StationXML"/>
     <addaction name="actionExit"/>
@@ -150,21 +163,25 @@
    <attribute name="toolBarBreak">
     <bool>false</bool>
    </attribute>
-   <addaction name="actionLoad_metadata"/>
+   <addaction name="actionLoad_MD"/>
+   <addaction name="actionSave_MD"/>
    <addaction name="actionWrite_mseed"/>
    <addaction name="actionWrite_StationXML"/>
    <addaction name="actionHelp"/>
   </widget>
-  <action name="actionLoad_metadata">
+  <action name="actionLoad_MD">
    <property name="icon">
     <iconset resource="../resources/resources.qrc">
-     <normaloff>:/icons/load_metadata.png</normaloff>:/icons/load_metadata.png</iconset>
+     <normaloff>:/icons/open_metadata.png</normaloff>:/icons/open_metadata.png</iconset>
    </property>
    <property name="text">
     <string>Load metadata</string>
    </property>
    <property name="toolTip">
-    <string>Load metadata recorded in field sheets</string>
+    <string>Load previously saved metadata</string>
+   </property>
+   <property name="shortcut">
+    <string>Ctrl+F</string>
    </property>
   </action>
   <action name="actionWrite_mseed">
@@ -220,6 +237,21 @@
     <string>Ctrl+Q</string>
    </property>
   </action>
+  <action name="actionSave_MD">
+   <property name="icon">
+    <iconset resource="../resources/resources.qrc">
+     <normaloff>:/icons/save_metadata.png</normaloff>:/icons/save_metadata.png</iconset>
+   </property>
+   <property name="text">
+    <string>Save metadata</string>
+   </property>
+   <property name="toolTip">
+    <string>Save inputted metadata</string>
+   </property>
+   <property name="shortcut">
+    <string>Ctrl+S</string>
+   </property>
+  </action>
  </widget>
  <resources>
   <include location="../resources/resources.qrc"/>
diff --git a/lemi2seed/ui_files/surveywidget.ui b/lemi2seed/ui_files/networkwidget.ui
similarity index 94%
rename from lemi2seed/ui_files/surveywidget.ui
rename to lemi2seed/ui_files/networkwidget.ui
index 16acb69..691c48a 100644
--- a/lemi2seed/ui_files/surveywidget.ui
+++ b/lemi2seed/ui_files/networkwidget.ui
@@ -50,9 +50,9 @@ Should be two characters long.</string>
        </widget>
       </item>
       <item row="0" column="1">
-       <widget class="QLineEdit" name="uiArchiveNetwork">
+       <widget class="QLineEdit" name="uiArchiveNet">
         <property name="sizePolicy">
-         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
+         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
@@ -91,9 +91,9 @@ Should be two characters long.</string>
        </widget>
       </item>
       <item row="1" column="1">
-       <widget class="QDateTimeEdit" name="uiTimePeriodStart">
+       <widget class="QDateTimeEdit" name="uiStart">
         <property name="sizePolicy">
-         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
+         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
@@ -142,9 +142,9 @@ Should be two characters long.</string>
        </widget>
       </item>
       <item row="2" column="1">
-       <widget class="QDateTimeEdit" name="uiTimePeriodEnd">
+       <widget class="QDateTimeEdit" name="uiEnd">
         <property name="sizePolicy">
-         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
+         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
@@ -185,17 +185,17 @@ Should be two characters long.</string>
          </sizepolicy>
         </property>
         <property name="toolTip">
-         <string>Are the data at the network level open access or restricted?</string>
+         <string>Are the access to the data at the network level open, partially open or closed?</string>
         </property>
         <property name="text">
-         <string>Restricted status *</string>
+         <string>Restricted status</string>
         </property>
        </widget>
       </item>
       <item row="3" column="1">
        <widget class="QComboBox" name="uiRestrictedStatus">
         <property name="sizePolicy">
-         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
+         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
@@ -251,7 +251,7 @@ Should be two characters long.</string>
       <item row="4" column="1">
        <widget class="QPlainTextEdit" name="uiComments">
         <property name="sizePolicy">
-         <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
+         <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
@@ -302,7 +302,7 @@ Should be two characters long.</string>
        </widget>
       </item>
       <item row="0" column="1">
-       <widget class="QLineEdit" name="uiAcquiredByAuthor">
+       <widget class="QLineEdit" name="uiAcqByAuthor">
         <property name="font">
          <font>
           <weight>50</weight>
@@ -322,7 +322,7 @@ Should be two characters long.</string>
        </widget>
       </item>
       <item row="1" column="1">
-       <widget class="QLineEdit" name="uiAcquiredByComments"/>
+       <widget class="QLineEdit" name="uiAcqByComments"/>
       </item>
       <item row="2" column="0">
        <widget class="QLabel" name="label_7">
@@ -389,7 +389,7 @@ Ex: USA, Canada</string>
          </font>
         </property>
         <property name="toolTip">
-         <string>Geograhic names that encompass the survey.
+         <string>Geographic names that encompass the survey.
 These should be broad geographic names.
 Ex: Eastern Mojave, Southwestern USA</string>
         </property>
@@ -399,7 +399,7 @@ Ex: Eastern Mojave, Southwestern USA</string>
        </widget>
       </item>
       <item row="4" column="1">
-       <widget class="QLineEdit" name="uiGeographicName">
+       <widget class="QLineEdit" name="uiGeoName">
         <property name="font">
          <font>
           <weight>50</weight>
@@ -501,7 +501,7 @@ If multiple, input as comma separated.</string>
          </font>
         </property>
         <property name="toolTip">
-         <string>Email of the project lead. 
+         <string>Email of the project lead.
 If multiple, input as comma separated.</string>
         </property>
         <property name="text">
diff --git a/lemi2seed/ui_files/runwidget.ui b/lemi2seed/ui_files/runwidget.ui
index 42e4ff7..64523ce 100644
--- a/lemi2seed/ui_files/runwidget.ui
+++ b/lemi2seed/ui_files/runwidget.ui
@@ -6,16 +6,25 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>662</width>
-    <height>334</height>
+    <width>777</width>
+    <height>518</height>
    </rect>
   </property>
   <property name="windowTitle">
    <string>Form</string>
   </property>
-  <layout class="QGridLayout" name="gridLayout_4">
-   <item row="0" column="0">
-    <widget class="QGroupBox" name="groupBox">
+  <layout class="QVBoxLayout" name="verticalLayout">
+   <property name="spacing">
+    <number>20</number>
+   </property>
+   <item>
+    <widget class="QGroupBox" name="groupBox_3">
+     <property name="sizePolicy">
+      <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
+       <horstretch>0</horstretch>
+       <verstretch>0</verstretch>
+      </sizepolicy>
+     </property>
      <property name="font">
       <font>
        <weight>75</weight>
@@ -23,28 +32,23 @@
       </font>
      </property>
      <property name="title">
-      <string>Operation</string>
+      <string>Data logger</string>
      </property>
      <layout class="QGridLayout" name="gridLayout_2">
       <item row="0" column="0">
-       <widget class="QLabel" name="label_23">
+       <widget class="QLabel" name="label_24">
         <property name="toolTip">
-         <string>List of components recorded by the station.
-If multiple, enter components as a comma separated list.
-Options: E1, E2, E3, E4, Hx, Hy, Hz. </string>
+         <string>Model version of the data logger.</string>
         </property>
         <property name="text">
-         <string>Components recorded *</string>
+         <string>Model *</string>
         </property>
        </widget>
       </item>
       <item row="0" column="1">
-       <widget class="QLineEdit" name="uiComponentsRecorded">
-        <property name="maximumSize">
-         <size>
-          <width>160</width>
-          <height>16777215</height>
-         </size>
+       <widget class="QLineEdit" name="uiDataloggerModel">
+        <property name="enabled">
+         <bool>false</bool>
         </property>
         <property name="font">
          <font>
@@ -54,36 +58,18 @@ Options: E1, E2, E3, E4, Hx, Hy, Hz. </string>
         </property>
        </widget>
       </item>
-     </layout>
-    </widget>
-   </item>
-   <item row="0" column="1" rowspan="2">
-    <widget class="QGroupBox" name="groupBox_3">
-     <property name="font">
-      <font>
-       <weight>75</weight>
-       <bold>true</bold>
-      </font>
-     </property>
-     <property name="title">
-      <string>Data logger</string>
-     </property>
-     <layout class="QGridLayout" name="gridLayout_3">
-      <item row="0" column="0">
-       <widget class="QLabel" name="label_24">
+      <item row="1" column="0">
+       <widget class="QLabel" name="label_25">
         <property name="toolTip">
-         <string>Model version of the data logger.</string>
+         <string>Serial number of data logger.</string>
         </property>
         <property name="text">
-         <string>Model *</string>
+         <string>Serial number *</string>
         </property>
        </widget>
       </item>
-      <item row="0" column="1">
-       <widget class="QLineEdit" name="uiDataloggerModel">
-        <property name="enabled">
-         <bool>false</bool>
-        </property>
+      <item row="1" column="1">
+       <widget class="QLineEdit" name="uiDataloggerSn">
         <property name="font">
          <font>
           <weight>50</weight>
@@ -92,18 +78,20 @@ Options: E1, E2, E3, E4, Hx, Hy, Hz. </string>
         </property>
        </widget>
       </item>
-      <item row="1" column="0">
-       <widget class="QLabel" name="label_25">
+      <item row="2" column="0">
+       <widget class="QLabel" name="label_23">
         <property name="toolTip">
-         <string>Serial number of data logger.</string>
+         <string>List of components recorded by the station.
+If multiple, enter components as a comma separated list.
+Options: E1, E2, E3, E4, Hx, Hy, Hz. </string>
         </property>
         <property name="text">
-         <string>Serial number *</string>
+         <string>Components recorded *</string>
         </property>
        </widget>
       </item>
-      <item row="1" column="1">
-       <widget class="QLineEdit" name="uiDataloggerSerialNumber">
+      <item row="2" column="1">
+       <widget class="QLineEdit" name="uiCompsRec">
         <property name="font">
          <font>
           <weight>50</weight>
@@ -115,8 +103,20 @@ Options: E1, E2, E3, E4, Hx, Hy, Hz. </string>
      </layout>
     </widget>
    </item>
-   <item row="1" column="0" rowspan="3">
+   <item>
     <widget class="QGroupBox" name="groupBox_2">
+     <property name="sizePolicy">
+      <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
+       <horstretch>0</horstretch>
+       <verstretch>0</verstretch>
+      </sizepolicy>
+     </property>
+     <property name="minimumSize">
+      <size>
+       <width>0</width>
+       <height>0</height>
+      </size>
+     </property>
      <property name="font">
       <font>
        <weight>75</weight>
@@ -127,24 +127,50 @@ Options: E1, E2, E3, E4, Hx, Hy, Hz. </string>
       <string>Credentials</string>
      </property>
      <layout class="QGridLayout" name="gridLayout">
-      <item row="0" column="0">
-       <widget class="QLabel" name="label_6">
+      <item row="1" column="0">
+       <widget class="QLabel" name="label_9">
+        <property name="toolTip">
+         <string>Comments from the person who acquired the data for this run.</string>
+        </property>
+        <property name="text">
+         <string>Acquired by - Comments</string>
+        </property>
+       </widget>
+      </item>
+      <item row="3" column="1">
+       <widget class="QLineEdit" name="uiMdByComments">
         <property name="font">
          <font>
           <weight>50</weight>
           <bold>false</bold>
          </font>
         </property>
-        <property name="toolTip">
-         <string>Name of the person who acquired the station data.</string>
+       </widget>
+      </item>
+      <item row="4" column="1">
+       <widget class="QPlainTextEdit" name="uiComments">
+        <property name="sizePolicy">
+         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
         </property>
-        <property name="text">
-         <string>Acquired by - Author</string>
+        <property name="minimumSize">
+         <size>
+          <width>0</width>
+          <height>0</height>
+         </size>
+        </property>
+        <property name="font">
+         <font>
+          <weight>50</weight>
+          <bold>false</bold>
+         </font>
         </property>
        </widget>
       </item>
       <item row="0" column="1">
-       <widget class="QLineEdit" name="uiAcquiredByAuthor">
+       <widget class="QLineEdit" name="uiAcqByAuthor">
         <property name="font">
          <font>
           <weight>50</weight>
@@ -153,91 +179,79 @@ Options: E1, E2, E3, E4, Hx, Hy, Hz. </string>
         </property>
        </widget>
       </item>
-      <item row="1" column="0">
-       <widget class="QLabel" name="label_9">
+      <item row="4" column="0">
+       <widget class="QLabel" name="label_4">
+        <property name="sizePolicy">
+         <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
+        <property name="font">
+         <font>
+          <weight>50</weight>
+          <bold>false</bold>
+         </font>
+        </property>
         <property name="toolTip">
-         <string>Comments from the person who acquired the station data.</string>
+         <string>Any comments about this run that are important for any user to know.</string>
+        </property>
+        <property name="styleSheet">
+         <string notr="true"/>
         </property>
         <property name="text">
-         <string>Acquired by - Comments</string>
+         <string>Comments</string>
         </property>
        </widget>
       </item>
-      <item row="1" column="1">
-       <widget class="QLineEdit" name="uiAcquiredByComments"/>
-      </item>
       <item row="2" column="0">
        <widget class="QLabel" name="label_8">
         <property name="toolTip">
-         <string>Person who inputs the metadata.</string>
+         <string>Person who inputs the metadata for this run.</string>
         </property>
         <property name="text">
          <string>Metadata by - Author</string>
         </property>
        </widget>
       </item>
-      <item row="2" column="1">
-       <widget class="QLineEdit" name="uiMetadataByAuthor">
+      <item row="0" column="0">
+       <widget class="QLabel" name="label_6">
         <property name="font">
          <font>
           <weight>50</weight>
           <bold>false</bold>
          </font>
         </property>
-       </widget>
-      </item>
-      <item row="3" column="0">
-       <widget class="QLabel" name="label_10">
         <property name="toolTip">
-         <string>Comments from the person who inputs the metadata.</string>
+         <string>Name of the person who acquired the data for this run.</string>
         </property>
         <property name="text">
-         <string>Metadata by - Comments</string>
+         <string>Acquired by - Author</string>
         </property>
        </widget>
       </item>
-      <item row="3" column="1">
-       <widget class="QLineEdit" name="uiMetadataByComments"/>
-      </item>
-      <item row="4" column="0">
-       <widget class="QLabel" name="label_4">
-        <property name="sizePolicy">
-         <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
-          <horstretch>0</horstretch>
-          <verstretch>0</verstretch>
-         </sizepolicy>
-        </property>
+      <item row="2" column="1">
+       <widget class="QLineEdit" name="uiMdByAuthor">
         <property name="font">
          <font>
           <weight>50</weight>
           <bold>false</bold>
          </font>
         </property>
+       </widget>
+      </item>
+      <item row="3" column="0">
+       <widget class="QLabel" name="label_10">
         <property name="toolTip">
-         <string>Any comments about the station that are important for any user to know.</string>
-        </property>
-        <property name="styleSheet">
-         <string notr="true"/>
+         <string>Comments from the person who inputs the metadata for this run.</string>
         </property>
         <property name="text">
-         <string>Comments</string>
+         <string>Metadata by - Comments</string>
         </property>
        </widget>
       </item>
-      <item row="4" column="1">
-       <widget class="QPlainTextEdit" name="uiComments">
-        <property name="sizePolicy">
-         <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
-          <horstretch>0</horstretch>
-          <verstretch>0</verstretch>
-         </sizepolicy>
-        </property>
-        <property name="maximumSize">
-         <size>
-          <width>160</width>
-          <height>60</height>
-         </size>
-        </property>
+      <item row="1" column="1">
+       <widget class="QLineEdit" name="uiAcqByComments">
         <property name="font">
          <font>
           <weight>50</weight>
@@ -249,32 +263,6 @@ Options: E1, E2, E3, E4, Hx, Hy, Hz. </string>
      </layout>
     </widget>
    </item>
-   <item row="2" column="1">
-    <spacer name="verticalSpacer">
-     <property name="orientation">
-      <enum>Qt::Vertical</enum>
-     </property>
-     <property name="sizeHint" stdset="0">
-      <size>
-       <width>20</width>
-       <height>167</height>
-      </size>
-     </property>
-    </spacer>
-   </item>
-   <item row="3" column="1">
-    <spacer name="horizontalSpacer">
-     <property name="orientation">
-      <enum>Qt::Horizontal</enum>
-     </property>
-     <property name="sizeHint" stdset="0">
-      <size>
-       <width>266</width>
-       <height>20</height>
-      </size>
-     </property>
-    </spacer>
-   </item>
   </layout>
  </widget>
  <resources/>
diff --git a/lemi2seed/ui_files/stationwidget.ui b/lemi2seed/ui_files/stationwidget.ui
index 49929ca..f1723b6 100644
--- a/lemi2seed/ui_files/stationwidget.ui
+++ b/lemi2seed/ui_files/stationwidget.ui
@@ -42,7 +42,7 @@
         </property>
         <property name="toolTip">
          <string>Station name that is archived.
-For IRIS, this is a 5 character long string (a-z;A-Z,0-9).</string>
+Per SEED format requirement, this is a 5-character long string (a-z;A-Z;0-9).</string>
         </property>
         <property name="text">
          <string>Station name *</string>
@@ -52,7 +52,7 @@ For IRIS, this is a 5 character long string (a-z;A-Z,0-9).</string>
       <item row="0" column="1">
        <widget class="QLineEdit" name="uiArchiveId">
         <property name="sizePolicy">
-         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
+         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
@@ -94,9 +94,9 @@ For IRIS, this is a 5 character long string (a-z;A-Z,0-9).</string>
        </widget>
       </item>
       <item row="1" column="1">
-       <widget class="QDateTimeEdit" name="uiTimePeriodStart">
+       <widget class="QDateTimeEdit" name="uiStart">
         <property name="sizePolicy">
-         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
+         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
@@ -109,29 +109,29 @@ For IRIS, this is a 5 character long string (a-z;A-Z,0-9).</string>
         </property>
         <property name="dateTime">
          <datetime>
-          <hour>8</hour>
+          <hour>6</hour>
           <minute>0</minute>
           <second>0</second>
           <year>2021</year>
           <month>1</month>
-          <day>3</day>
+          <day>6</day>
          </datetime>
         </property>
         <property name="date">
          <date>
           <year>2021</year>
           <month>1</month>
-          <day>3</day>
+          <day>6</day>
          </date>
         </property>
         <property name="maximumDateTime">
          <datetime>
-          <hour>14</hour>
+          <hour>12</hour>
           <minute>59</minute>
           <second>59</second>
           <year>7999</year>
           <month>12</month>
-          <day>3</day>
+          <day>6</day>
          </datetime>
         </property>
         <property name="currentSection">
@@ -165,9 +165,9 @@ For IRIS, this is a 5 character long string (a-z;A-Z,0-9).</string>
        </widget>
       </item>
       <item row="2" column="1">
-       <widget class="QDateTimeEdit" name="uiTimePeriodEnd">
+       <widget class="QDateTimeEdit" name="uiEnd">
         <property name="sizePolicy">
-         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
+         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
@@ -180,19 +180,19 @@ For IRIS, this is a 5 character long string (a-z;A-Z,0-9).</string>
         </property>
         <property name="dateTime">
          <datetime>
-          <hour>8</hour>
+          <hour>6</hour>
           <minute>0</minute>
           <second>0</second>
           <year>2021</year>
           <month>1</month>
-          <day>4</day>
+          <day>7</day>
          </datetime>
         </property>
         <property name="date">
          <date>
           <year>2021</year>
           <month>1</month>
-          <day>4</day>
+          <day>7</day>
          </date>
         </property>
         <property name="currentSection">
@@ -218,17 +218,17 @@ For IRIS, this is a 5 character long string (a-z;A-Z,0-9).</string>
          </sizepolicy>
         </property>
         <property name="toolTip">
-         <string>Are the data at the station level open access or restricted?</string>
+         <string>Are the access to the data at the station level open, partially open or closed?</string>
         </property>
         <property name="text">
-         <string>Restricted status *</string>
+         <string>Restricted status</string>
         </property>
        </widget>
       </item>
       <item row="3" column="1">
        <widget class="QComboBox" name="uiRestrictedStatus">
         <property name="sizePolicy">
-         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
+         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
@@ -259,16 +259,17 @@ For IRIS, this is a 5 character long string (a-z;A-Z,0-9).</string>
       <item row="4" column="0">
        <widget class="QLabel" name="label_8">
         <property name="toolTip">
-         <string>Closest geopgraphic name to the station.
- Ex: Whitehorse,YK.</string>
+         <string>Closest geographic name to the station.
+Description of the station location should use geopolitical entities (country, city...).
+Ex: Whitehorse, YK.</string>
         </property>
         <property name="text">
-         <string>Geographic Name *</string>
+         <string>Site name *</string>
         </property>
        </widget>
       </item>
       <item row="4" column="1">
-       <widget class="QLineEdit" name="uiGeographicName_2">
+       <widget class="QLineEdit" name="uiGeoName">
         <property name="font">
          <font>
           <weight>50</weight>
@@ -288,7 +289,7 @@ For IRIS, this is a 5 character long string (a-z;A-Z,0-9).</string>
        </widget>
       </item>
       <item row="5" column="1">
-       <widget class="QLineEdit" name="uiLatitude">
+       <widget class="QLineEdit" name="uiLat">
         <property name="font">
          <font>
           <weight>50</weight>
@@ -308,7 +309,7 @@ For IRIS, this is a 5 character long string (a-z;A-Z,0-9).</string>
        </widget>
       </item>
       <item row="6" column="1">
-       <widget class="QLineEdit" name="uiLongitude">
+       <widget class="QLineEdit" name="uiLon">
         <property name="font">
          <font>
           <weight>50</weight>
@@ -328,7 +329,7 @@ For IRIS, this is a 5 character long string (a-z;A-Z,0-9).</string>
        </widget>
       </item>
       <item row="7" column="1">
-       <widget class="QLineEdit" name="uiElevation">
+       <widget class="QLineEdit" name="uiElev">
         <property name="font">
          <font>
           <weight>50</weight>
@@ -350,7 +351,7 @@ In decimal degrees.</string>
        </widget>
       </item>
       <item row="8" column="1">
-       <widget class="QLineEdit" name="uiDeclinationValue">
+       <widget class="QLineEdit" name="uiDeclinationVal">
         <property name="font">
          <font>
           <weight>50</weight>
@@ -372,7 +373,7 @@ In decimal degrees.</string>
       <item row="9" column="1">
        <widget class="QComboBox" name="uiDeclinationModel">
         <property name="sizePolicy">
-         <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
+         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
@@ -421,9 +422,9 @@ In decimal degrees.</string>
       <item row="10" column="0">
        <widget class="QLabel" name="label_21">
         <property name="toolTip">
-         <string>Reference framefor station layout.
+         <string>Reference frame for station layout.
 There are only two options.
-Both assume a right-handed coordinate system with North=0, E-90 and vertical positive downward.</string>
+Both assume a right-handed coordinate system with North=0, E=90 and vertical positive downward.</string>
         </property>
         <property name="text">
          <string>Orientation - Reference frame *</string>
@@ -433,7 +434,7 @@ Both assume a right-handed coordinate system with North=0, E-90 and vertical pos
       <item row="10" column="1">
        <widget class="QComboBox" name="uiOrientationReferenceFrame">
         <property name="sizePolicy">
-         <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
+         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
@@ -469,7 +470,7 @@ Both assume a right-handed coordinate system with North=0, E-90 and vertical pos
       <item row="11" column="1">
        <widget class="QComboBox" name="uiOrientationMethod">
         <property name="sizePolicy">
-         <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
+         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
@@ -535,7 +536,7 @@ Both assume a right-handed coordinate system with North=0, E-90 and vertical pos
       <item row="12" column="1">
        <widget class="QPlainTextEdit" name="uiComments">
         <property name="sizePolicy">
-         <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
+         <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
@@ -660,8 +661,8 @@ Both assume a right-handed coordinate system with North=0, E-90 and vertical pos
     <widget class="QGroupBox" name="uiRuns">
      <property name="minimumSize">
       <size>
-       <width>300</width>
-       <height>110</height>
+       <width>0</width>
+       <height>0</height>
       </size>
      </property>
      <property name="font">
-- 
GitLab