<div dir="ltr">Hi Leonid,<div><br></div><div>Padding in that manner is not presently supported in DiFX. The most suitable starting place is probably difx2difx.py, which is a tool for re-packaging .difx output, but you would need to extend its capabilities to add such a padding mode. (It's been used up until now to  reproduce evenly sized bands from a mish-mash of different sized zoom bands, and I've extended it in a different tool called mergeOversampledDiFX to discard oversampled edge regions of bands.) </div><div><br></div><div>difx2difx.py lives in sites/MPIfR/oneoff/, and as the name implies, it was not intended to be a general purpose tool, so it might be a reasonable sized effort to add padding support.</div><div><br></div><div>Cheers,<br>Adam</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 1 Aug 2020 at 05:19, Leonid Petrov via Difx-users <<a href="mailto:difx-users@listmgr.nrao.edu">difx-users@listmgr.nrao.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear colleagues,<br>
<br>
  I have the data that were correlated with A different resolution<br>
at different stations within the same input file. Here is the excerpt <br>
from an input file <a href="http://astrogeo.org/s0/corr_difx/rd1810/h_1087.input" rel="noreferrer" target="_blank">http://astrogeo.org/s0/corr_difx/rd1810/h_1087.input</a><br>
<br>
#station 1 <br>
FREQ (MHZ) 32:      8212.99000000000<br>
BW (MHZ) 32:        8.00000000000<br>
SIDEBAND 32:        U<br>
NUM CHANNELS 32:    800<br>
CHANS TO AVG 32:    25<br>
<br>
#station 2 <br>
FREQ (MHZ) 23:      8238.40000000000<br>
BW (MHZ) 23:        32.00000000000<br>
SIDEBAND 23:        L<br>
NUM CHANNELS 23:    3200<br>
CHANS TO AVG 23:    25<br>
<br>
dixio is rightfully rejects these data:<br>
<br>
Error: DifxInput setGlobalValues: detected unequal IF bandwidths (32.000000 and 8.000000 MHz), not supported!<br>
<br>
I want to pad data from station #1 with zero in order <br>
to have the same bandwidth and the same number of channels <br>
as the data for station #2. The baseband data are already <br>
recycled.<br>
<br>
Best ideas how to achieve it?<br>
<br>
Leonid<br>
2020.07.31_15:13:30<br>
<br>
_______________________________________________<br>
Difx-users mailing list<br>
<a href="mailto:Difx-users@listmgr.nrao.edu" target="_blank">Difx-users@listmgr.nrao.edu</a><br>
<a href="https://listmgr.nrao.edu/mailman/listinfo/difx-users" rel="noreferrer" target="_blank">https://listmgr.nrao.edu/mailman/listinfo/difx-users</a><br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr" style="font-size:12.8px"><div dir="ltr" style="font-size:12.8px"><div dir="ltr" style="font-size:12.8px"><div dir="ltr" style="font-size:12.8px"><div dir="ltr" style="font-size:12.8px">!=============================================================!<br><div dir="ltr" style="font-size:12.8px">A/Prof. Adam Deller         </div><div dir="ltr" style="font-size:12.8px">ARC Future Fellow</div></div><div style="font-size:12.8px">Centre for Astrophysics & Supercomputing </div><div dir="ltr" style="font-size:12.8px">Swinburne University of Technology    <br>John St, Hawthorn VIC 3122 Australia</div><div style="font-size:12.8px">phone: +61 3 9214 5307</div><div style="font-size:12.8px">fax: +61 3 9214 8797</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">office days (usually): Mon-Thu<br>!=============================================================!</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>