maserlib / ExPRES

Exoplanetary and Planetary Radio Emission Simulator
MIT License
4 stars 4 forks source link

error in fz_spdyn #8

Open BaptisteCecconi opened 5 years ago

BaptisteCecconi commented 5 years ago

I get an error in fz_spdynline 213:

for j=0l,parameters.time.n_step-1l do image(j,*)=interpol(float(image(j,*)),f,u)

Error message:

% INTERPOL: V and X arrays must have same # of elements
% Execution halted at: FZ_SPDYN          213

Input files (10 sources are configured)

CorentinLouis commented 5 years ago

Okay, there is a problem in the finalization of the pdf. I think I will have to rewrite part of the fz_spdyn. In the mean time, to be able to have the movie and the cdf at the end of the simulation, the ‘’solution’’ is to define ''PDF’’ as ‘’false’’ in the json file.

Le 28 mars 2019 à 12:11, Baptiste Cecconi notifications@github.com a écrit :

I get an error in fz_spdynline 213:

for j=0l,parameters.time.n_step-1l do image(j,)=interpol(float(image(j,)),f,u) Error message:

% INTERPOL: V and X arrays must have same # of elements % Execution halted at: FZ_SPDYN 213```

Input files (10 sources are configured)

CorentinLouis commented 5 years ago

With the ''multi sources within a source element'' now working, it seems to work again. So it is fixed for now, but don’t close the issue, I will have to work on re-write the fz_spdyn file.

Le 28 mars 2019 à 12:11, Baptiste Cecconi notifications@github.com a écrit :

I get an error in fz_spdynline 213:

for j=0l,parameters.time.n_step-1l do image(j,)=interpol(float(image(j,)),f,u) Error message:

% INTERPOL: V and X arrays must have same # of elements % Execution halted at: FZ_SPDYN 213```

Input files (10 sources are configured)