I understand that you are experiencing an issue with the datacom and encountering an error. Firstly, it's important to note that Missile DATCOM is not officially supported by the “datcomimport” function.
It seems that the header generated by Missile DATCOM 9/02 may have been improperly generated. This could be a bug in that specific version or simply the way it was generated at the time. To resolve this, you can try copying and pasting the expected header provided below and replacing it in your files. This should allow you to continue importing the data:
1 ***** THE USAF AUTOMATED MISSILE DATCOM * REV 07/07 *****
AERODYNAMIC METHODS FOR MISSILE CONFIGURATIONS
CONERR - INPUT ERROR CHECKING
ERROR CODES - N* DENOTES THE NUMBER OF OCCURENCES OF EACH ERROR
A - UNKNOWN VARIABLE NAME
B - MISSING EQUAL SIGN FOLLOWING VARIABLE NAME
C - NON-ARRAY VARIABLE HAS AN ARRAY ELEMENT DESIGNATION - (N)
D - NON-ARRAY VARIABLE HAS MULTIPLE VALUES ASSIGNED
E - ASSIGNED VALUES EXCEED ARRAY DIMENSION
F - SYNTAX ERROR
************************* INPUT DATA CARDS *************************
To summarize, the issue you are facing is likely due to:
- Using an unsupported version of digital datcom.
- Having an incorrectly generated header in your output files.
- Encountering an error in the datcom case, which further prevents successful import.
I hope these suggestions help you resolve the issue you are facing