Coder Social home page Coder Social logo

mwax_beamdb2fil's People

Contributors

gsleap avatar

Watchers

 avatar  avatar

mwax_beamdb2fil's Issues

Bugs in behaviour when we have non-contiguous dada blocks/subobs ids

For example if mwax_u2s fails mid way through and observation, then as the next obs_id comes through, mwax_beamdb2fil does not close off the old fil files properly and then fails to be write the new obs filterbank files. E.g.

[2021-11-17-19:00:48] dada_dbfil_close(): Waiting for next ringbuffer block... (Marker=32, Duration=120).
[2021-11-17-19:00:48] dada_dbfil_close(): completed
[2021-11-17-19:00:48] 327680000 bytes transferred in 4.433269s (70.4897 MB/s)
[2021-11-17-19:00:48] main: dada_hdu_unlock_read()
[2021-11-17-19:00:48] main: dada_hdu_lock_read()
[2021-11-17-19:00:48] main: dada_client_read()
[2021-11-19-10:27:47] dada_dbfil_open(): extracting params from dada header
[2021-11-19-10:27:47] dada_dbfil_open(): MODE == MWAX_CORRELATOR
[2021-11-19-10:27:47] dada_dbfil_open(): New OBS_ID detected. Starting 1321324064...
[2021-11-19-10:27:47] dada_dbfil_open(): Closing 4267111...
[2021-11-19-10:27:47] dada_dbfil_open(): Closing /datax2/mwa_fil//1321182016_20211117105958_ch76_01.fil...
[2021-11-19-10:27:47] dada_dbfil_open(): Closing /datax2/mwa_fil//1321182016_20211117105958_ch76_02.fil...
[2021-11-19-10:27:47] Obs Id:                     1321324064
[2021-11-19-10:27:47] Subobs Id:                  1321324064

The text "Closing 4267111" is telling, since that should be a filename not numbers! Something is getting confused!

Further down, we see the effect of this confusion:

[2021-11-19-10:27:48] create_fil(): filheader.nifs         : 1 Number of pols?
[2021-11-19-10:27:48] create_fil(): filheader.nbeams       : 1 Number of beams
[2021-11-19-10:27:48] create_fil(): filheader.ibeam        : 1 Beam number in this file
ERROR : error in code did not write keyword name HEADER_START correctly (written 0 + 0 bytes, expected 13 bytes)

And a complete exit of the program.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.