bertrandplez / Turbospectrum2019

synthetic spectrum calculation companion to MARCS
21 stars 4 forks source link

I get error when using vald3line-BPz-v2.f #2

Open nedahejazi opened 3 weeks ago

nedahejazi commented 3 weeks ago

BillyEdwards.000211.txt

Greetings!

I have been trying to apply vald3line-BPz-v2.f to a short linelist that I took from VALD3 website (as you find attached). However I get this issue:


VALD3 'show line' (long format) file name? BillyEdwards.000211.txt reading BillyEdwards.000211.txt

stellar or all format? stellar using stellar output bsyn line file name? BillyEdwards.000211New.txt
writing to BillyEdwards.000211New.txt At line 417 of file vald3line-BPz-v2.f Fortran runtime error: Bad value during floating point read

Error termination. Backtrace:

0 0x1155d69ac

1 0x1155d7645

2 0x1155d7dd9

3 0x11579ef1d

4 0x1157a2308

5 0x1157a3a64

6 0x1067d79cf

7 0x1067d87d3


Would you please hep me with this issue?

Regards, Neda

bertrandplez commented 3 weeks ago

Hi Neda, VALD is regularly updated and the format evolves. You will find in TS-NLTE a version of vald3line that works with VALD current format: https://github.com/bertrandplez/Turbospectrum_NLTE/blob/master/Utilities/vald3line-BPz-freeformat.f

I will update it further very soon. Bertrand