Coder Social home page Coder Social logo

Comments (4)

bsipocz avatar bsipocz commented on July 23, 2024 1

@ttmc - We do close this issue, as the issue tracker is only supposed to track issues that are not yet fixed. Also, please note that the documentation clearly states that for astroquery the recommended way to install is with --pre (we do push out a lot of dev releases to pypi that contain hotfixes to address changes to server changes, so the library not at all like a usual backward compatible one.

from astroquery.

bsipocz avatar bsipocz commented on July 23, 2024

@ttmc - Your wild-carded query works for me. what version of astroquery are you using? (if not the dev branch, then I would suggest to update with python -m pip install -U --pre astroquery

In [1]: >>> from astroquery.jplsbdb import SBDB
   ...: >>> result = SBDB.query('467P*')
   ...: >>> print(SBDB.schematic(result))
+-+ object: 
| +-+ orbit_class: 
| | +-- code: JFc
| | +-- name: Jupiter-family Comet
| +-- pha: False
| +-- orbit_id: 14
| +-- kind: cn
| +-- fullname: 467P/LINEAR-Grauer
| +-- prefix: P
| +-- des: 467P
| +-- neo: False
| +-- spkid: 1003153
+-+ orbit: 
| +-- orbit_id: 14
| +-- two_body: None
| +-- pe_used: DE441
| +-- data_arc: 5182
| +-- n_del_obs_used: None
| +-- cov_epoch: 2456140.5 d
| +-- first_obs: 2009-07-14
| +-- rms: 0.73
| +-- n_dop_obs_used: None
| +-- source: JPL
| +-- n_obs_used: 94
| +-- sb_used: SB441-N16
| +-- moid: 4.25 AU
| +-- not_valid_before: None
| +-- epoch: 2456140.5 d
| +-- comment: None
| +-+ elements: 
| | +-- e: 0.0739
| | +-- e_sig: 2.9e-06
| | +-- a: 5.68 AU
| | +-- a_sig: 3.6e-06 AU
| | +-- q: 5.26 AU
| | +-- q_sig: 1.4e-05 AU
| | +-- i: 2.55 deg
| | +-- i_sig: 5.7e-05 deg
| | +-- om: 44.1 deg
| | +-- om_sig: 0.00059 deg
| | +-- w: 263.0 deg
| | +-- w_sig: 0.0012 deg
| | +-- ma: 96.2 deg
| | +-- ma_sig: 0.00058 deg
| | +-- tp: 2454818.316 d
| | +-- tp_sig: 0.0092 d
| | +-- per: 4950.0 d
| | +-- per_sig: 0.0047 d
| | +-- n: 0.0727 deg / d
| | +-- n_sig: 6.9e-08 deg / d
| | +-- ad: 6.1 AU
| | +-- ad_sig: 3.9e-06 AU
| +-- soln_date: 2023-10-11 04:52:10
| +-- moid_jup: 0.182 AU
| +-- condition_code: 1
| +-- not_valid_after: None
| +-- equinox: J2000
| +-- model_pars: []
| +-- t_jup: 2.998
| +-- producer: Otto Matic
| +-- last_obs: 2023-09-21
+-+ signature: 
| +-- source: NASA/JPL Small-Body Database (SBDB) API
| +-- version: 1.3

from astroquery.

ttmc avatar ttmc commented on July 23, 2024

@bsipocz I just did a "normal" update of the astroquery package (with no --pre) but still had the same issue. Then I upgraded to the dev branch (by adding the --pre) as you suggested, and sure enough, the query for '467P*' now works.

I'm reluctant to close this issue, because for "normal" users of astroquery, it's still an issue. Maybe leave this issue open until the dev branch gets merged into the main branch?

from astroquery.

bsipocz avatar bsipocz commented on July 23, 2024

https://astroquery.readthedocs.io/en/latest/#installation

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.