Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
a03b099
Added astrometry.net script
fred3m Apr 22, 2015
eda20ff
Rename DummyClass to AstrometryClass
Apr 22, 2015
df6bd9a
Rename Dummy to Astrometry
Apr 22, 2015
836c557
Add AstrometryClass.key property
Apr 22, 2015
316a8d2
Add setter for AstrometryClass.key
Apr 22, 2015
1b2a717
Add AstrometryClass.__init__()
Apr 22, 2015
20ae786
Add stub for AstrometryClass._store_API_key()
Apr 22, 2015
8589b73
Add stub for AstrometryClass._get_stored_API_key()
Apr 22, 2015
34a95ab
Added new functions to query astrometry.net
fred3m Apr 23, 2015
fa627ef
Fixed prit functions to install astroquery
fred3m Apr 23, 2015
b19d947
Bug fixes
fred3m Apr 23, 2015
0d91edd
Add Astrometry.net API key to the configuration file
Apr 23, 2015
472b984
Still debugging query, but latest updates for Friday
fred3m Apr 24, 2015
042e6f2
Added docstring, examples, and tested
fred3m Apr 25, 2015
87969f5
Change print function to support Python 3
fred3m Apr 25, 2015
2c59a17
Use an empty value instead of None
Apr 23, 2015
07ee0ff
Rename 'key' attribute to 'api_key' — avoid confusion with dict keys …
Apr 23, 2015
811cb80
Remove legacy configuration stuff
mwcraig Jun 6, 2018
bc3d8f4
Whitespace changes
mwcraig Jun 6, 2018
bd34989
Add some tests
mwcraig Jun 7, 2018
1ff4dab
Add config items for server, timeout
mwcraig Jun 7, 2018
2b9c95f
Start re-write of internals
mwcraig Jun 7, 2018
1297512
Fix name of API key configuration item
mwcraig Jun 7, 2018
72c8e61
Turn off cacheing for requests for job/submission status
mwcraig Jun 7, 2018
b16bb43
Update files for test of returned solution
mwcraig Jun 7, 2018
3dc9374
Add a test of the service
mwcraig Jun 7, 2018
bfd3e15
Quiet PEP8
mwcraig Jun 7, 2018
eda63d8
Hush, PEP8, hush...
mwcraig Jun 7, 2018
e60a612
Move remote test to appropriate file
mwcraig Jun 7, 2018
8d57cb0
Remove unused variables
mwcraig Jun 7, 2018
93d42ec
Fill in template values
mwcraig Jun 7, 2018
a159ce2
Add ability to solve from an image
mwcraig Aug 19, 2018
ee66791
PEP8 fix
mwcraig Aug 21, 2018
90818a3
Rework parameter setting
mwcraig Aug 21, 2018
8149c9e
Fix PEP8 issue so the tests will run....
mwcraig Aug 21, 2018
d59d75d
Raise error if invalid setting passed as argument and add test for that
mwcraig Sep 23, 2018
a308129
Make required arguments positional
mwcraig Sep 23, 2018
960e1c9
Bounds checking of settings should include the limiting values
mwcraig Sep 23, 2018
f5da7fa
Remove image_width/image_height from settings
mwcraig Sep 23, 2018
df3ab8b
Include gzipped fits files in test data
mwcraig Sep 24, 2018
1feec0b
Add solve from image and tests
mwcraig Sep 24, 2018
bd15ac7
Remove long docstring from source file
mwcraig Sep 24, 2018
4d41112
Fix a PEP8 issue
mwcraig Sep 24, 2018
b37f328
Fix test that fails in Python 2.7
mwcraig Sep 25, 2018
0a5d94e
Fix broken links in docstrings
mwcraig Sep 29, 2018
86577b6
Add narrative docs
mwcraig Sep 29, 2018
ca3a325
Add section on handling success, failure and timeouts
mwcraig Sep 29, 2018
1233a10
Rename method for checking response, expose its API and add test
mwcraig Sep 29, 2018
057cd30
Add changelog entry
mwcraig Sep 29, 2018
34d14f6
Remove a few comments left over from the template
mwcraig Sep 29, 2018
068bcbd
Clean up one more line from template
mwcraig Sep 29, 2018
2ff64db
Check whether CCDData is available from astropy and handle its absenc…
mwcraig Sep 30, 2018
fc4e8ff
Fix typo in method name
mwcraig Sep 30, 2018
975d250
Add several tests that do not require remote data
mwcraig Sep 30, 2018
b98d63d
Use caplog.text instead of .messages which is new-ish
mwcraig Oct 1, 2018
fa5f2f2
Try skipping a couple tests if pytest is really old
mwcraig Oct 1, 2018
868d855
Address review comments
mwcraig Dec 5, 2018
fa4cce6
Use LooseVersion instead of a hack
mwcraig Jul 13, 2019
f3fd3f2
Fix white space and long lines in docs
mwcraig Jul 13, 2019
e72e004
Fix typo
mwcraig Jul 13, 2019
1cc9227
Update checks of error messages to work with pytest >=5
mwcraig Jul 14, 2019
d728080
Increase timeout so that remote tests pass
mwcraig Aug 1, 2019
1150a89
Add more robust check that test function dependencies are installed
mwcraig Aug 1, 2019
1f9b033
Add photutils and scipy as test dependencies
mwcraig Aug 1, 2019
fedcc82
Use ImportError instead of ModuleNotFoundError for py2k compatibility
mwcraig Aug 1, 2019
378360e
Add astrometry.net API key for remote_data tests
mwcraig Aug 1, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ env:
- CONDA_CHANNELS='astropy'
- EVENT_TYPE='pull_request push'
- DEBUG=True
# astrometry.net API key
- secure: "al9u/QSQfrwNljdu8gYUaT9z4BxEL1FlE4ntsn6eqtN2Y0rurqll+gq46quYjtE6zgcpb0uYtGIubusJkp7ceE6IBGhQdsel4UY16VIqeEuQ3GpVDb4RiJgU51SAjbmXYV1dMAJnOm4Ra41WzxokStKRDdoRraAsae9zK3H6AnI="

matrix:
- PYTHON_VERSION=2.7 SETUP_CMD='egg_info'
Expand Down
11 changes: 9 additions & 2 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ cadc
New Tools and Services
----------------------

astrometry_net
^^^^^^^^^^^^^^

- Module added to interface to astrometry.net plate-solving service. [#1163]

cadc
^^^^

Expand All @@ -37,6 +42,7 @@ gaia




Infrastructure fixes and enhancements
-------------------------------------

Expand Down Expand Up @@ -264,7 +270,7 @@ Infrastructure, Utility and Other Changes and Additions
- New tool ``JPLSDB``: New module for querying JPL's Small Body Database
Browser [#1214]

- ATOMIC: fix several bugs for using Quantited for the range parameters.
- ATOMIC: fix several bugs for using Quantities for the range parameters.
[#1187]
- CADC: added the get_collections method. [#1482]
- ESASKY: get_maps() accepts dict or list of (name, Table) pairs as input
Expand All @@ -288,7 +294,7 @@ Infrastructure, Utility and Other Changes and Additions
- MAST: Add functionality for switching to auth.mast when it goes live [#1256]
- MAST: Support downloading data from multiple missions from the cloud [#1275]
- MAST: Updating HSC and Gaia catalog calls (bugfix) [#1203]
- MAST: Fixing bug in catalog criteria querues, and updating remote tests.
- MAST: Fixing bug in catalog criteria queries, and updating remote tests.
[#1223]
- MAST: Fixing mrp_only but and changing default to False [#1238]
- MAST: TESS input catalog bugfix [#1297]
Expand All @@ -312,6 +318,7 @@ Infrastructure, Utility and Other Changes and Additions
- JPLHorizons: warn if URI is longer than 2000 chars, docs updated
- JPLSBDB: fix for missing value, test added


0.3.8 (2018-04-27)
------------------

Expand Down
33 changes: 33 additions & 0 deletions astroquery/astrometry_net/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst

"""
astrometry.net
--------------

:author: Matt Craig (<[email protected]>)
"""

# Make the URL of the server, timeout and other items configurable
from astropy import config as _config


class Conf(_config.ConfigNamespace):
""" Configuration parameters for `astroquery.astrometry_net` """

api_key = _config.ConfigItem(
'',
"The Astrometry.net API key."
)
server = _config.ConfigItem('http://nova.astrometry.net', 'Name of server')
timeout = _config.ConfigItem(120,
'Default timeout for connecting to server')


conf = Conf()

# Now import your public class
# Should probably have the same name as your module

from .core import AstrometryNet, AstrometryNetClass

__all__ = ['AstrometryNet', 'AstrometryNetClass']
Loading