Suzaku RIKEN Home
Question ID = 0142

Assigned Member (担当者)

2011-07-20 nakajima 2011-07-25 M.Suzuki

Name and Institute (質問者/機関)

Stefano Bianchi / Universita' degli Studi di Roma Tre

Question (質問)

I was wondering if you can provide Suzaku users with a command-line
script to mirror the CALDB files, in order not to download each time
all the files of the new releases. A similar service is provided by
XMM via a wget command.

Answer from(回答の文責)

Suzaku Help Desk

Answer (答え)

Although the Suzaku team does not provide the scripts which
can extract the latest CALDB files from web site, 
you can download those files by below commands.

$ cd ${PATH_TO_YOUR_CALDB_DIRECTRY}
$ wget -m -nH -np --cut-dirs=1 -R gz,Z ftp://heasarc.gsfc.nasa.gov/caldb/data/suzaku/hxd/
$ wget -m -nH -np --cut-dirs=1 -R gz,Z ftp://heasarc.gsfc.nasa.gov/caldb/data/suzaku/xis/
$ wget -m -nH -np --cut-dirs=1 -R gz,Z ftp://heasarc.gsfc.nasa.gov/caldb/data/suzaku/xrt/

Or, there is another method to access the latest caldb remotely.
You can find the detail description of the caldb remote access at
http://heasarc.gsfc.nasa.gov/docs/heasarc/caldb/caldb_remote_access.html.

When you use "-m" option with wget command,
it checks the timestamp of the files.
So you can download only the updated files
for the second time like rsync.

Status (詳細なステータス)

2011-07-20 Accept
2011-07-26 Reso.
2011-07-26 Done.

Suzaku Official Page Suzaku Help Desk Japan Suzaku Help Desk GOF Suzaku RIKEN Page RIKEN Makishima Cosmic Radiation Laboratory