CALDB 的问题 -- NICER 数据处理



我一直在 ubuntu 上处理 NICER 数据,我在使用 CALDB 时遇到了一些问题。我正在尝试使用远程访问 CALDB (1(,但似乎无法使其工作。这是我执行后出现的一串错误

海尼特

Nicerl2 indir=/home/[user]/w3browse-319801/1050360102 clobber = yes

在终端中。

错误信息:

ERROR: CALDB MPU_GAIN file query failed at /home/[user]/heasoft-6.27.2/x86_64-pc-linux-gnu-libc2.31/bin/nicerpi line 222.
Dumping CFITSIO error stack:
--------------------------------------------------
ERROR ftp_status wants 331  but got 550
Server is requesting SSL, will switch to ftps (ftp_file_exist)
ERROR: This CFITSIO build was not compiled with the libcurl library package
and therefore it cannot perform HTTPS or FTPS connections.
Unable to read ftps file into memory (ftps_open)
failed to find or open the following file: (ffopen)
ftp://legacy.gsfc.nasa.gov/data/nicer/xti/caldb.indx
CFITSIO error stack dump complete.
Fail to select CALDB file with the given criteria (at HDgtcalf.c: 142)
Unable to open CALDB index file (at HDgtcalf.c: 202)
CFITSIO ERROR FILE_NOT_OPENED: could not open the named file
Task nicerpi 1.24 terminating with status 104
ERROR: fast event calibration failed at /home/[user]/heasoft-6.27.2/x86_64-pc-linux-gnu-libc2.31/bin/nimpucal line 206.
Task nimpucal 1.8 terminating with status -1
Warning: something's wrong at /home/[user]/heasoft-6.27.2/x86_64-pc-linux-gnu-libc2.31/bin/nimpucal line 33.
ERROR: MPU0 calibration failed at /home/[user]/heasoft-6.27.2/x86_64-pc-linux-gnu-libc2.31/bin/nicercal line 291.
Task nicercal 1.7 terminating with status -1
ERROR: task nicercal failed at /home/[user]/heasoft-6.27.2/x86_64-pc-linux-gnu-libc2.31/bin/nicerl2 line 299.
Task nicerl2 1.12 terminating with status -1

非常感谢!

事实证明,问题是 cfitsio 无法远程打开文件,因为我在没有安装 libcurl 的情况下安装了 heasoft。

我认为问题是HEASARC不再支持ftp,因此您需要将$CALDB环境变量指向

https://heasarc.gsfc.nasa.gov/FTP/caldb

而不是

ftp://legacy.gsfc.nasa.gov/caldb

最新更新