Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Drew Leonard <[email protected]>
  • Loading branch information
Cadair and SolarDrew committed Jan 16, 2025
1 parent e9f13e8 commit 8793992
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/howto_guides/sample_data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,21 @@ Using the `BKPLX <https://dkist.data.nso.edu/datasetview/BKPLX>`__ dataset from
import dkist.net
results = Fido.search(a.dkist.Dataset("BKPLX"))
asdf_file = Fido.fetch(results, ")
asdf_file = Fido.fetch(results)
ds = dkist.load_dataset(asdf_file)
Downloading the FITS files with Globus
--------------------------------------

Having loaded the ASDF file into a `dkist.Dataset` as this is a VISP dataset with polarimetry, we can download the Stokes I profile as so:
Having loaded the ASDF file into a `dkist.Dataset` as this is a VISP dataset with polarimetry, we can download the Stokes I profile by indexing the first element of the first dimension:

.. code-block:: python
ds[0].files.download() # doctest: +SKIP
This will download all the FITS files into the same directory as the ASDF file.
This will download the Stokes I FITS files into the same directory as the ASDF file.

To download the whole dataset do:

Expand Down

0 comments on commit 8793992

Please sign in to comment.