Coder Social home page Coder Social logo

Comments (4)

cosmoJFH avatar cosmoJFH commented on August 20, 2024

Dear @javierggt, in the gaia help page https://www.cosmos.esa.int/web/gaia-users/archive/use-cases#ClusterAnalysisPythonTutorial you can see that right after calling the function launch_job_async you can use the method results = job.get_results().

The documentation of this function says:

This method will block if the job is asynchronous and the job has not finished yet.

from astroquery.

javierggt avatar javierggt commented on August 20, 2024

Hi Cosmo, thanks for the answer, but I think that does not answer my question. I do not want to get the results, I want to upload them to a table so I can use them later.

My question is motivated by wanting my script to know when uploading finished so I can launch a query to use the table, and in general to know when jobs finished without having to check the web page myself.

from astroquery.

cosmoJFH avatar cosmoJFH commented on August 20, 2024

I think that the only way to know that your table has been created in the system is at the time a message like this is printed

INFO: Created table 't1705434281894O' from job: '1705434281894O'.

I think that the execution of the function upload_table_from_job is blocked till the task has been completed, isn't it?

from astroquery.

javierggt avatar javierggt commented on August 20, 2024

I think that the execution of the function upload_table_from_job is blocked till the task has been completed, isn't it?

No, it isn't.

from astroquery.

Related Issues (20)

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.