Closed jacobwilliams closed 4 months ago
I'm not much of a FORTRAN programmer. Is it also a problem that IERR is not defined?
IERR was an integer (since the Fortran implicit typing rules are in effect since this function doesn't have implicit none
), and given a value by the OPEN call, so that was fine. It doesn't hurt to explicitly define it as you have done.
https://github.com/nasa/radbelt/blob/75fbf407b5a62faaa152d6f8d819cca43cf38675/radbelt/core.f#L50
This
IER
inAEP8
should beIERR
. IER is never given a value, so it can be anything.