Giter Site home page Giter Site logo

Comments (4)

demorest avatar demorest commented on September 28, 2024

Ok, I added stopTime to ScanConfig, and code to Controller so that stopTime gets filled in when the next Obs doc comes in.

I was thinking that the simplest way to deal with processing where stopTime is needed would be to add an option so that the Controller.handle_config() is not called until the stop time is known; this will generally be right at the start of the scan. Does that sound like it will work to you?

from evla_mcast.

caseyjlaw avatar caseyjlaw commented on September 28, 2024

That makes sense to me. How about defining is_complete to consider whether the start and stop times are known? The controller could then check that before starting handle_config.
Since we're already at the point where "complete" is defined for multiple docs, we might as well define it for xml+vci+obs+obs, which is when a scan is completely defined.

from evla_mcast.

demorest avatar demorest commented on September 28, 2024

Ok, this is implemented and pushed to my branch. I'm still testing a bit, will close this when I think things are working OK, unless you have any other suggestions.

from evla_mcast.

demorest avatar demorest commented on September 28, 2024

I think this is basically working. We need to think a little bit about how to handle the special "finish" scans that come at the end of an SB. I'll open a new issue about this.

from evla_mcast.

Related Issues (8)

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.