Closed authule closed 3 years ago
Hi Alex,
to be honest, I never check the format of numbers as long as they are correct. I don't recall that we lately change something regarding the output notation, but maybe I'm wrong. Nevertheless, I don't know how can you store a really big or a really small number in a file without the exponent, e.g. 1e-28? In the decimal notation, you would waste more than 20 characters. It could be that you used different units before (for example joules instead of eV, or pc instead of metres). If you use Python for reading the output, there is always a possibility to convert numbers in any format you desire (i.e. float()
and format
), but if rounding is involved, you could lose valuable information.
Cheers,
Andrej
Hi Andrej,
Thanks for your quick response.
It could be that you used different units before (for example joules instead of eV, or pc instead of metres).
I am afraid this is not the case, because I used the same steering card (changing only the deprecated modules for Turbulent field and Observer surface for the correspondent ones), and compared the results for 3.1 and 3.1.7 versions.
if rounding is involved, you could lose valuable information. This is the very problem I am trying to avoid.
Cheers, Alex
Hi Oleksandr @authule I am not sure how we can help with your issue at the moment. We will not switch to a non-scientific output for the reasons Andrej (@adundovi) brought up. When you need more significant digits to be stored you can update, e.g., your TextOutput.txt. Please reopen this or open a new issue if there is anything specific you want to add.
Dear developers,
After asking the support staff to install the latest release (version 3.1.7), I realized that all the numbers are output in the scientific form, i.e. 8.29707E+18, etc. Previously I used the 3.1 version and got the output in real notation, which is preferrable for my task. Let me cite the reply from the helpdesk describing the installation process:
Are we missing something? Could you please suggest the way to get the output in real numbers, avoiding the scientific notation?
Thanks in advance, Alex