Name | cdsclient JSON |
Version |
1.1.9
JSON |
| download |
home_page | None |
Summary | CDS VizieR client (query large table) |
upload_time | 2024-04-03 14:48:22 |
maintainer | None |
docs_url | None |
author | Gilles Landais (CDS) |
requires_python | >=3.6 |
license | None |
keywords |
astronomy
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
## CDS Python package to query large catalogues
**Note**: API import changed in the last version - see example below
**License** : BSD License
**Installation** :
```
git clone https://github.com/cds-astro/cds.cdsclient.git
cd cds.cdsclient
pip install .
```
**vizquery.py** : the vizquery package
query all VizieR catalogues using ASU parameters
metadata retrieving: get columns/table information
and list large tables
**Examples** :
* list big catalogues : vizquery.py -l
* get columns information for 2mass (=II/246) : vizquery.py -source=II/246 -i
* query GAIA (I/337/gaia) arroud M1 (10arcsec) : vizquery.py -source=I/337/gaia -c=M1 -c.rs=10
* get hipparcos (HIP=A) in votable : vizquery.py -source=I/239/hip_main -mime=votable -out.max=50 "HIP=1"
**Using dedicated script: find_...py**
* query 2mass arround M1: find_2mass.py M1
* query sdss12 arround '217.488910+36.086880': find_sdss-dr12.py "217.488910+36.086880"
* query gaia by offset (**allows to get the whole table by parts**) : find_gaia_edr3.py --offset 0..1000
* query 2mass with jamg constraint: find_2mass.py --jmag="<11"
You can also query with constraints see --help
* query sdss using identifier: find_sdss-dr12.py --objID=1237662225689281592 --mime=tsv
**API Example**:
```
import cdsclient.find_sdss9 as sdss
process = sdss.QueryCatVizieR()
process.position = "217.091350+35.985222"
process.radius = 120
process.query_cat(limit=10)
data = process.get()
print (data)
```
Raw data
{
"_id": null,
"home_page": null,
"name": "cdsclient",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "astronomy",
"author": "Gilles Landais (CDS)",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/36/57/7719a1b0b91842b5a6609ba89bacd6821ae6fa27291301bfe4ea96b91e81/cdsclient-1.1.9.tar.gz",
"platform": null,
"description": "## CDS Python package to query large catalogues\n\n**Note**: API import changed in the last version - see example below\n\n**License** : BSD License\n\n**Installation** : \n```\ngit clone https://github.com/cds-astro/cds.cdsclient.git\ncd cds.cdsclient\npip install .\n```\n\n**vizquery.py** : the vizquery package\n query all VizieR catalogues using ASU parameters\n metadata retrieving: get columns/table information \n\t\t\t\t and list large tables\n\n**Examples** :\n* list big catalogues : vizquery.py -l\n* get columns information for 2mass (=II/246) : vizquery.py -source=II/246 -i\n* query GAIA (I/337/gaia) arroud M1 (10arcsec) : vizquery.py -source=I/337/gaia -c=M1 -c.rs=10\n* get hipparcos (HIP=A) in votable : vizquery.py -source=I/239/hip_main -mime=votable -out.max=50 \"HIP=1\"\n\n\n**Using dedicated script: find_...py**\n* query 2mass arround M1: find_2mass.py M1\n* query sdss12 arround '217.488910+36.086880': find_sdss-dr12.py \"217.488910+36.086880\"\n* query gaia by offset (**allows to get the whole table by parts**) : find_gaia_edr3.py --offset 0..1000 \n* query 2mass with jamg constraint: find_2mass.py --jmag=\"<11\"\nYou can also query with constraints see --help \n* query sdss using identifier: find_sdss-dr12.py --objID=1237662225689281592 --mime=tsv\n\n**API Example**:\n\n```\nimport cdsclient.find_sdss9 as sdss\nprocess = sdss.QueryCatVizieR()\nprocess.position = \"217.091350+35.985222\"\nprocess.radius = 120\nprocess.query_cat(limit=10)\ndata = process.get()\nprint (data)\n```\n\n",
"bugtrack_url": null,
"license": null,
"summary": "CDS VizieR client (query large table)",
"version": "1.1.9",
"project_urls": {
"repository": "https://github.com/cds-astro/cds.cdsclient"
},
"split_keywords": [
"astronomy"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d5fab83c57ebf2c6405941b37906b03957cb5d8f5cd9db02c461d458e7804b1f",
"md5": "36604c2be59bc4de3c1fd0b9315221c7",
"sha256": "4103d8413b096997ae78d184d1351625f8f5889f7d622887ab4f8afcc11e7fee"
},
"downloads": -1,
"filename": "cdsclient-1.1.9-py3-none-any.whl",
"has_sig": false,
"md5_digest": "36604c2be59bc4de3c1fd0b9315221c7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 395494,
"upload_time": "2024-04-03T14:48:20",
"upload_time_iso_8601": "2024-04-03T14:48:20.514210Z",
"url": "https://files.pythonhosted.org/packages/d5/fa/b83c57ebf2c6405941b37906b03957cb5d8f5cd9db02c461d458e7804b1f/cdsclient-1.1.9-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "36577719a1b0b91842b5a6609ba89bacd6821ae6fa27291301bfe4ea96b91e81",
"md5": "9419e5c08adba946f7d5fbe87810057e",
"sha256": "111aa4c09dfd51c9f0bc743abf35895638d3e417ceb7b5b1ae51d98e516111fc"
},
"downloads": -1,
"filename": "cdsclient-1.1.9.tar.gz",
"has_sig": false,
"md5_digest": "9419e5c08adba946f7d5fbe87810057e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 32369,
"upload_time": "2024-04-03T14:48:22",
"upload_time_iso_8601": "2024-04-03T14:48:22.907564Z",
"url": "https://files.pythonhosted.org/packages/36/57/7719a1b0b91842b5a6609ba89bacd6821ae6fa27291301bfe4ea96b91e81/cdsclient-1.1.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-03 14:48:22",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "cds-astro",
"github_project": "cds.cdsclient",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "cdsclient"
}