I created a derived type with a couple of 2K (8) vectors, a few strings, logicals, and misc variables for a total of 13 variables. I then dimensioned 100 of them, initialized them, and wrote them out (write (7,) scans). Created clean file but when I tried to read it with same (read(7,*) scans), I got an invalid character on read. Dropping down to a single example (a single instance of the derived type) didn't help. Reducing the size of the vectors to 1K vectors didn't help. Finally, by writing out each component seperately, even some explicitly formated, didn't help. I got around this by writing half of the variables (the two 2K vectors and some long strings) to one very large file and the few other scalar variables to another, very small, file. This I could read. I then tried it with the 100 instance case. Could only read about 30 instances before I got the invalid character error. By breaking up the pieces into 4 files, I could finally read back in the 100 scans.
I'm not a beginner to Fortran but this is the strangest thing I've seen in 40 years with the language.
Bruce