GithubHelp home page GithubHelp logo

Comments (5)

JavierArredondo avatar JavierArredondo commented on June 24, 2024

Hi @dharmesh1007, thanks for user our client!

We don't have a fast way to query/get the lightcurves via alerce client 😕 If you know PSQL syntax, you could access to our database via public credentials (https://github.com/alercebroker/usecases/blob/master/alercereaduser_v4.json).

We indexed some tables by candid and oid.

If you want to use the alerce client with a loop, just do it. But can be slow for you. If you do a small script that query our database in batches of 10-100 oid to table detection can be faster that client.

Cheers.

from alerce_client.

dharmesh1007 avatar dharmesh1007 commented on June 24, 2024

Hi @JavierArredondo, thanks for the quick response!

I'm going to use the alerce client with a loop then, but is there a way of caching my requests so I don't tax your server?

Cheers

from alerce_client.

JavierArredondo avatar JavierArredondo commented on June 24, 2024

@dharmesh1007,
Currently we haven't a cache for the API requests. But you can use our database or save locally the results for your queries. I will open a ticket for your request, maybe use a cache is a great solution for search popular lightcurves.

from alerce_client.

JavierArredondo avatar JavierArredondo commented on June 24, 2024

Hi @dharmesh1007, how are you?

were you able to download the light curves you needed?

from alerce_client.

dharmesh1007 avatar dharmesh1007 commented on June 24, 2024

Hi @JavierArredondo, I'm good thanks!

I've tested the looping with a few dozen targets and it works great. I've no problem doing it this way. I'm sure it will be ok for several hundred or a few thousand as I am just looking to build a dataset.

Cheers

from alerce_client.

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.