Unfortunately the channel information for the very earliest Stereo data (eg 2001091721fa.dat) does not appear to be properly captured by either datdump or dattorawacf, but I'm not sure how widespread that issue is and it can probably be left for another pull request.
As indicated by the title, this pull request fixes a bug in
datdump
where the value ofusr_resL1
was being stored inusr_resL2
, and vice versa.Note that sometime in the early 2000's,
usr_resL1
became the field in whichoffset
information for Stereo radars was stored, eghttps://github.com/SuperDARN/rst/blob/main/codebase/superdarn/src.lib/tk/oldraw.1.16/src/rawreadcurrent.c#L221
Unfortunately the
channel
information for the very earliest Stereo data (eg2001091721fa.dat
) does not appear to be properly captured by eitherdatdump
ordattorawacf
, but I'm not sure how widespread that issue is and it can probably be left for another pull request.