Compare it with the official file and check whether the type of data is integer or floating point and whether the number of decimal places is the same for each type of data.
Maybe try reading the generated EPW file with tools like this and make sure there are no errors?
Also noticed that you’re taking weather data from 1974~1979 - not sure how meaningful the future EPW file will be if you’re working with such outdated file to begin with.
The creators of this EPW should be using the “missing value” of 99 in this place instead of leaving it as empty text. Chapter 2.9.1 of the EnergyPlus Reference is pretty clear about this