% FXADDPAR: Required NAXIS keyword not found
UPDATE 20180414: Finally I found the solution!!!
FXADDPAR: Required NAXIS keyword not found #2
s25_t=img2[9.4:89.5,9.2:88.2]
mwrfits,s25_t,'s25.fits',h2,/create
end
みたいなプログラムを流したら
IDL> .r error.pro
% Compiled module: $MAIN$.
MRDFITS: Image array (99,99) Type=Real*8
% FXADDPAR: Required NAXIS keyword not found
% Execution halted at: CHK_AND_UPD 347 /usr/local/exelis/astron/pro/mwrfits.pro
% MWR_IMAGE 1496 /usr/local/exelis/astron/pro/mwrfits.pro
% MWRFITS 1675 /usr/local/exelis/astron/pro/mwrfits.pro
% $MAIN$ 3 /home/moe/5k-slaw/n4303/error.pro
IDL>
とエラーを吐いて止まった。
img2=mrdfits('hoge.fits',0,h2)
みたいな、extn_no=0のときは動いたプログラムなのに…。
むり。
更新 20180414: 解決できた!
FXADDPAR: Required NAXIS keyword not found #2
I could not find any solution...
I worked without header information.
for example...
create new header or not to use "h"extract, "h"astrom (these command use header information)
I decided to use python because I could not find any solution with IDL.
[AGAIN] UPDATE 20180414: Finally I found the solution!!!
FXADDPAR: Required NAXIS keyword not found #2
FXADDPAR: Required NAXIS keyword not found #2
状況
img2=mrdfits('HRS114_250.fits',1,h2);s250s25_t=img2[9.4:89.5,9.2:88.2]
mwrfits,s25_t,'s25.fits',h2,/create
end
みたいなプログラムを流したら
IDL> .r error.pro
% Compiled module: $MAIN$.
MRDFITS: Image array (99,99) Type=Real*8
% FXADDPAR: Required NAXIS keyword not found
% Execution halted at: CHK_AND_UPD 347 /usr/local/exelis/astron/pro/mwrfits.pro
% MWR_IMAGE 1496 /usr/local/exelis/astron/pro/mwrfits.pro
% MWRFITS 1675 /usr/local/exelis/astron/pro/mwrfits.pro
% $MAIN$ 3 /home/moe/5k-slaw/n4303/error.pro
IDL>
とエラーを吐いて止まった。
img2=mrdfits('hoge.fits',0,h2)
みたいな、extn_no=0のときは動いたプログラムなのに…。
解決方法
ヘッダーガン無視でできるコードに書き換える。むり。
更新 20180414: 解決できた!
FXADDPAR: Required NAXIS keyword not found #2
I could not find any solution...
I worked without header information.
for example...
create new header or not to use "h"extract, "h"astrom (these command use header information)
I decided to use python because I could not find any solution with IDL.
[AGAIN] UPDATE 20180414: Finally I found the solution!!!
FXADDPAR: Required NAXIS keyword not found #2
コメント
コメントを投稿