我最近安装了GDL,因为我没有IDL的许可证。
我试图运行和IDL (.pro)脚本来模拟系外行星凌日(使用exomoon),我得到了一些问题:
GDL> .reset_session
(gdl:16530): Gtk-WARNING **: gtk_disable_setlocale() must be called before gtk_init()
GDL>
GDL> restore, 'paramk63.save', /v
% Procedure not found: RESTORE
% Execution halted at: $MAIN$
GDL>
GDL> Per = PER
GDL> ap = A
% Variable is undefined: A
% Execution halted at: $MAIN$
GDL> Rplan = RP
% Variable is undefined: RP
% Execution halted at: $MAIN$
GDL> inc = INC
GDL> Pm = 1
GDL> Rmoon = 0.03
GDL> dmoon = 4.0
GDL> tetam0 = 0.0
GDL> dt = 1.0
GDL> wl = WL
GDL>
GDL> eclipse_moon,Per,ap,Rplan,inc,Pm,Rmoon,dmoon,tetam0,dt,wl,/plot
% Compiled module: ECLIPSE_MOON.
% ECLIPSE_MOON: Ambiguous: Variable is undefined: MEAN or: Function not found: MEAN
% Execution halted at: ECLIPSE_MOON 23 /home/fabian/Downloads/eclipse_moon.pro
% $MAIN$
GDL> 0:45 / 9:10
% ECLIPSE_MOON: Parser syntax error: unexpected token: 0
GDL> 我在安装了IDL的linux上运行了同样的代码,它完全没有问题。
看起来我必须安装更多的东西。是那么回事吗?
https://stackoverflow.com/questions/47445603
复制相似问题