Data downloadingΒΆ

You can download your HSC raw data through STARS (Subaru Telescope Archive System) . Please login STARS with your account and password. Once you login, please select Proposal_ID Instrument or Proposal_ID in Search by tab (shown at top left).

../_images/stars_1.png

Fig 1: Search by tab in STARS

Figure 2 shows search results by Proposal_ID. You can find all HSC raw data of your proposal ID by pressing [search] button. If you want to download all data taken with your proposal ID, you just press [Store query] (a red box) and submit a request. If you only get some specific data, please input raw data ID of the specific data in a blue box and submit a request. It takes some time depending on data amount to be displayed the results of data request.

../_images/stars_2.png

Fig 2: Search results by Proposal_ID of STARS


We show the results of data request in Figure 3. There is a box labeled Wget Input Files at the bottom left. Once you find the box, please download and expand S2Query.tar file into your computer. The python script in S2Query.tar is a script for downloading HSC raw data to your computer. We show an example to download from STARS.

# making a directory to store data
mkdir ~/data

cd data
mv ~/Downloads/S2Query.tar .

# expanding S2Query.tar file
tar xvf S2Query.tar

# Once you expand the tar file,
# zadmin/ zip/ zvalidate/ directories are generated in ~/data directory


# Runnig the python script to download your data
./zadmin/unpack.py

# You must run the script at ~/data direcroty,
# otherwise you are going to fail data downloading.
../_images/stars_3.png

Fig 3: Query results of data request in STARS

After you download your data, please check your data directory (~/data) whether there are fits files named HSCA123456**.fits. Note that we introduce the naming method for HSC data in Naming HSC data.