Page 1 of 1

Fortran error when generating control files from a script

Posted: January 9th, 2018, 3:55 am
by tr_nz
Hi there

I've written a script (in matlab) to iteratively generate control files and run HYSPLIT to calculate a large number of trajectories. When I call hyts_std.exe from matlab, I get the following error:

Code: Select all

 HYSPLIT4 - Initialization 
 Last Changed Rev: 802 
 Last Changed Date: 2016-02-08 10:04:51 -0500 (Mon, 08 Feb 2016) 
  
forrtl: severe (59): list-directed I/O syntax error, unit -5, file Internal List-Directed Read 
Image              PC        Routine            Line        Source              
hyts_std.exe       00BD1CE4  Unknown               Unknown  Unknown 
hyts_std.exe       00BC1BE4  Unknown               Unknown  Unknown 
hyts_std.exe       00BC0826  Unknown               Unknown  Unknown 
hyts_std.exe       00B58BB2  Unknown               Unknown  Unknown 
hyts_std.exe       00B525D3  Unknown               Unknown  Unknown 
hyts_std.exe       00C22782  Unknown               Unknown  Unknown 
hyts_std.exe       00C0B9A8  Unknown               Unknown  Unknown 
KERNEL32.DLL       76A962C4  Unknown               Unknown  Unknown 
ntdll.dll          77EB0F79  Unknown               Unknown  Unknown 
ntdll.dll          77EB0F44  Unknown               Unknown  Unknown 
Any ideas? I'm wondering if there is a subtle error in the formatting or encoding of the control file? (as far as I can tell it is identical to those generated by the HYSPLIT gui...)

Any ideas/suggestions welcome!

Cheers

Re: Fortran error when generating control files from a script

Posted: January 9th, 2018, 1:27 pm
by Fantine
You can check the "MESSAGE" file which generated with the run to see the print out about the error.
Also, can you show your CONTROL and SETUP.CFG file?