[AstroPy] how to determine whether a point was observed by hst ever?

gonghang.naoc ghang.naoc at gmail.com
Sun Feb 16 22:20:45 EST 2014


hi,
Thank you. I tried one position with a same ra&dec&radius and it seems
there is a big difference between that url output and the stsci output.
The fits names are different. So I use observation time,but the time is not
the same at all either.

hang



On Mon, Feb 17, 2014 at 4:16 AM, Thomas Robitaille <
thomas.robitaille at gmail.com> wrote:

> Hi Hang,
>
> You can query the HST archive from Python using the following URL:
>
>
> http://archive.stsci.edu/hst/search.php?RA=12.2&DEC=13.1&radius=100&max_records=1000&outputformat=CSV&action=Search
>
> modify RA, Dev, and radius as needed. I'm not sure what the latest
> radius and maximum number of records is, but you could always try and
> write a script that will run this for the whole sky by looping over RA
> and Dec.
>
> Cheers,
> Tom
>
>
> On 16 February 2014 15:51, gonghang.naoc <ghang.naoc at gmail.com> wrote:
> > hi,
> > If there is just one point, we can check stsci. How about many points?
> > I just need a yes or no.  Of course an observation log is even better.
> > Even we input a position and the output list is not null in stsci, there
> is
> > not necessarily archive data covered that point because of the search
> radius
> > and the shape of hst' fov.
> > Did anybody write a similar script before?   How do you check the archive
> > data? A web crawler is necessary?
> >
> > Thank you.
> > hang
> >
> >
> >
> >
> > _______________________________________________
> > AstroPy mailing list
> > AstroPy at scipy.org
> > http://mail.scipy.org/mailman/listinfo/astropy
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/astropy/attachments/20140217/6ac3fd0f/attachment.html>


More information about the AstroPy mailing list