I'm working with an old Fortran code to generate an atmospheric drag model using the NRLMSISE-00 model for an undergraduate research project. I have no experience with Fortran so I'm with a code in MATLAB that will run the Fortran executable file for various different input cases. However, when trying to create the executable file, I run into several errors, shown in the image below alongside the segment of code in error. I realize I probably need to redefine some of the parameters or equations in the lines of code in error but I'm unsure of how to do so.
I'm trying to build the executable file using gfortran on Cygwin on a 64-bit Windows 10 system. Any and all help would be greatly appreciated. Thanks!
If the image doesn't work here are the error messages from Cygwin:
Charles@DESKTOP-0CKR2M1 ~
$ gfortran -std=legacy -o nrlmsise00matlabtoformain04 nrlmsise00matlabtoformain04.for nrlmsise00_sub_mlp.for
nrlmsise00_sub_mlp.for:1671:10:
DATA NAME/'MSIS','E-00'/
1
Error: Incompatible types in DATA statement at (1); attempted conversion of CHARACTER(1) to INTEGER(4)
nrlmsise00_sub_mlp.for:1670:40:
DATA ISDATE/'01-F','EB-0','2 '/,ISTIME/'15:4','9:27'/
1
Error: Incompatible types in DATA statement at (1); attempted conversion of CHARACTER(1) to INTEGER(4)
nrlmsise00_sub_mlp.for:1670:10:
DATA ISDATE/'01-F','EB-0','2 '/,ISTIME/'15:4','9:27'/
1
Error: Incompatible types in DATA statement at (1); attempted conversion of CHARACTER(1) to INTEGER(4)
nrlmsise00_sub_mlp.for:592:49:
V2=VTST7(IYD,SEC,GLAT,GLONG,STL,F107A,F107,AP,2)
1
Warning: Actual argument contains too few elements for dummy argument ‘ap’ (1/7) at (1) [-Wargument-mismatch]