Skip to content

Commit 9878ec3

Browse files
committed
Remove lines from example as filenames are query dependent
1 parent bf7439c commit 9878ec3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/fermi/fermi.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,15 @@ Getting started
88
The following example illustrates a Fermi LAT query,
99
centered on M 31 for the energy range 1 to 100 GeV for the first day in 2013.
1010

11-
.. code-block:: python
1211
.. doctest-remote-data::
1312

1413
>>> from astroquery import fermi
1514
>>> result = fermi.FermiLAT.query_object('M31', energyrange_MeV='1000, 100000',
1615
... obsdates='2013-01-01 00:00:00, 2013-01-02 00:00:00')
1716
>>> print(result) # doctest: +IGNORE_OUTPUT
18-
['https://fermi.gsfc.nasa.gov/FTP/fermi/data/lat/queries/L210111120827756AAA3A88_PH00.fits',
17+
['https://fermi.gsfc.nasa.gov/FTP/fermi/data/lat/queries/L210111120827756AAA3A88_PH00.fits',
1918
'https://fermi.gsfc.nasa.gov/FTP/fermi/data/lat/queries/L210111120827756AAA3A88_SC00.fits']
20-
>>> from astropy.io import fits
21-
>>> sc = fits.open('https://fermi.gsfc.nasa.gov/FTP/fermi/data/lat/queries/L210111120827756AAA3A88_SC00.fits')
19+
2220

2321

2422
Reference/API

0 commit comments

Comments
 (0)