GithubHelp home page GithubHelp logo

small-bodies-node / catch-apis Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 0.0 38.71 MB

Python-Flask-Gunicorn-Redis-Jenkins APIs for CATCH tool.

Home Page: https://catch.astro.umd.edu/catch-stage/docs

Python 1.97% HTML 0.44% Shell 0.42% JavaScript 97.17%

catch-apis's People

Contributors

d-w-d avatar dependabot[bot] avatar mkelley avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

catch-apis's Issues

Define worker vs worRQer

HI @d-w-d ,

Can you define each of these a different way? What does a gunicorn worker do, what does an RQ worker do?

- There are two kinds of worker in this code: gunicorn production workers and redis 'rq' workers. TO distinguish between the two, we call the latter "woRQer" wherever possible

CATCH survey status

Consider adding a route for users to retrieve the status of the survey metadata. Status could be number of images and the time range of the data set. This feature would be especially useful for the CSS and ATLAS surveys, for which data will be continuously added.

v2 search for C/1995 O1 fails

Query NEAT Maui GEODSS from 1996-04-17 to 1998-05-26.
Obtained ephemeris from JPL Horizons.
Critical error: could not search database for this target.

Save query times

Save survey-by-survey query times to the catch_query database. This may help identify current issues or speed improvements in the future.

v2 search of single source still searches all sources

Limiting the search to one survey, e.g., source=skymapper, still searches all sources.

catch-apis-dev  | 172.18.0.1 - - [06/Feb/2022 16:32:34] "GET /catch?target=1I%2F%60Oumuamua&cached=False&source=skymapper HTTP/1.1" 200 -
catch-apis-dev  | 172.18.0.1 - - [06/Feb/2022 16:32:34] "GET /stream HTTP/1.1" 200 -
woRQer-dev      | INFO 2022-02-06 16:32:37,255 (Catch): Obtained ephemeris from JPL Horizons.
woRQer-dev      | INFO 2022-02-06 16:32:37,386 (Catch): 0 observations found.
woRQer-dev      | INFO 2022-02-06 16:32:39,307 (Catch): Obtained ephemeris from JPL Horizons.
woRQer-dev      | INFO 2022-02-06 16:32:39,513 (Catch): 1 observation found.
woRQer-dev      | INFO 2022-02-06 16:32:40,306 (Catch): Added 1 observation of 1I.
woRQer-dev      | INFO 2022-02-06 16:32:44,930 (Catch): Obtained ephemeris from JPL Horizons.
woRQer-dev      | INFO 2022-02-06 16:32:45,407 (Catch): 2 observations found.
woRQer-dev      | INFO 2022-02-06 16:32:46,033 (Catch): Added 2 observations of 1I.
woRQer-dev      | INFO 2022-02-06 16:32:46,078 (Catch): Terminated

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.