""" Module for importing instrument files from eso archive. Wrapper of astroquery.eso 

Use:
    from gravi_download import newquery
    q = newquery("2015-11-14")
    q.query()
    q.download()

see help of newquery() for more advanced search  
"""
try:
    from astroquery.eso import EsoClass
except:
    raise ValueError( "You need to install astroquery on your system, the fast way is: > pip install astroquery")

from .query import GraviQuery, RunError 
newquery = GraviQuery