Skip to content
Snippets Groups Projects
Commit 819510e6 authored by Mattia Mancini's avatar Mattia Mancini
Browse files

Use subband frequency to define dataproduct frequency

parent d03e03f4
No related branches found
No related tags found
No related merge requests found
...@@ -79,7 +79,7 @@ def collect_dataproduct_info(msin): ...@@ -79,7 +79,7 @@ def collect_dataproduct_info(msin):
kHz_in_Hz = 1.e3 kHz_in_Hz = 1.e3
dataproduct['centralFrequency'] = { dataproduct['centralFrequency'] = {
'_attrs': {'units': 'MHz'}, '_attrs': {'units': 'MHz'},
'_value': float(observation.getcell('LOFAR_OBSERVATION_FREQUENCY_CENTER', 0)) '_value': float(spectral_window.getcell('REF_FREQUENCY', 0))
} }
dataproduct['channelWidth'] = { dataproduct['channelWidth'] = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment