From 1589947aa54bcc3bcff23cd5bc431c81477bae29 Mon Sep 17 00:00:00 2001
From: stedif <stefano.difrischia@inaf.it>
Date: Wed, 1 Mar 2023 14:45:16 +0100
Subject: [PATCH] L2SS-1203: update version

---
 README.md                                     |  1 +
 VERSION                                       |  2 +-
 lofar_station_client/statistics/README.md     | 23 +++++++++++--------
 .../statistics/writer/VERSION                 |  2 +-
 .../statistics/writer/entry.py                |  4 ++--
 5 files changed, 19 insertions(+), 13 deletions(-)

diff --git a/README.md b/README.md
index c22e6a5..0aba8c9 100644
--- a/README.md
+++ b/README.md
@@ -105,6 +105,7 @@ tox -e debug tests.requests.test_prometheus
 ```
 
 ## Releasenotes
+- 0.14.1 - Added `beamlet.subband_select_RW` attribute to BSTHdf5Writer 
 - 0.14  - Added new attributes to statistics HDF file as well as documentation
 - 0.13  - Added lazy connection behavior to `devices.LofarDeviceProxy` class
 - 0.12.
diff --git a/VERSION b/VERSION
index a803cc2..930e300 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.14.0
+0.14.1
diff --git a/lofar_station_client/statistics/README.md b/lofar_station_client/statistics/README.md
index d7d8df3..64bb561 100644
--- a/lofar_station_client/statistics/README.md
+++ b/lofar_station_client/statistics/README.md
@@ -14,15 +14,20 @@ those matrices (as well as a bunch of metadata) to hdf5.
 The statistics writer can be called with the `statistics_writer.py` script.
 This script can be called with the following arguments:
   ```
-  -a  --host        the address to connect to
-  -p  --port        the port to use (default: 0)
-  -f  --file        file to read from (alternative to using host and port)
-  -i  --interval    The time between creating new files in seconds (default: 3600)
-  -o  --output_dir  specifies the folder to write all the files (default: current)
-  -m  --mode        sets the statistics type to be decoded options: "SST", "XST", "BST" (default: SST)
-  -v  --debug       takes no arguments, when used prints a lot of extra data to help with debugging (default: off)
-  -d  --decimation  Configure the writer to only store one every n samples. Saves storage space (default: 1 (everything))
-  -r  --reconnect   Set the writer to keep trying to reconnect whenever connection is lost. (default: off)
+  -a  --host          the address to connect to
+  -p  --port          the port to use (default: 0)
+  -f  --file          file to read from (alternative to using host and port)
+  -i  --interval      The time between creating new files in seconds (default: 3600)
+  -o  --output_dir    specifies the folder to write all the files (default: current)
+  -m  --mode          sets the statistics type to be decoded options: "SST", "XST", "BST" (default: SST)
+  -v  --debug         takes no arguments, when used prints a lot of extra data to help with debugging (default: off)
+  -d  --decimation    Configure the writer to only store one every n samples. Saves storage space (default: 1 (everything))
+  -r  --reconnect     Set the writer to keep trying to reconnect whenever connection is lost. (default: off)
+  -nt --no-tango      Disable connection to Tango device attribute values retrieval (default: false)
+  -A  --antennafield  Device name for AntennaField Proxy device
+  -S  --sdp           Device name for SDP Proxy device
+  -TB --tilebeam      Device name for Tilebeam Proxy device
+  -DB --digitalbeam   Device name for Digitalbeam Proxy device
   ```
 An example call could be:
 
diff --git a/lofar_station_client/statistics/writer/VERSION b/lofar_station_client/statistics/writer/VERSION
index 3b04cfb..be58634 100644
--- a/lofar_station_client/statistics/writer/VERSION
+++ b/lofar_station_client/statistics/writer/VERSION
@@ -1 +1 @@
-0.2
+0.3
diff --git a/lofar_station_client/statistics/writer/entry.py b/lofar_station_client/statistics/writer/entry.py
index 578b658..b064039 100644
--- a/lofar_station_client/statistics/writer/entry.py
+++ b/lofar_station_client/statistics/writer/entry.py
@@ -109,7 +109,7 @@ def _create_parser():
         help="Antenna field to collect data for",
     )
     parser.add_argument(
-        "-SDP",
+        "-S",
         "--sdp",
         type=str,
         choices=["", "1"],
@@ -291,7 +291,7 @@ def main():
 
     if args.tilebeam:
         tilebeam_device = _get_tango_device(
-            tango_disabled, host, f"STAT/TileBeam/{args.sdp}"
+            tango_disabled, host, f"STAT/TileBeam/{args.tilebeam}"
         )
     else:
         tilebeam_device = None
-- 
GitLab