NCAR / icar

The Intermediate Complexity Atmospheric Research model (ICAR)
MIT License
72 stars 53 forks source link

bugfix: CAMtr_volume_mixing_ratio read issue #176

Closed scrasmussen closed 7 months ago

scrasmussen commented 7 months ago

TYPE: bugfix

KEYWORDS: read file, iso_fortran_env

SOURCE: Soren Rasmussen, NCAR

DESCRIPTION OF CHANGES: The iso_fortran_env constant iostat_end has replaced the traditional, but not defined by the Fortran standard, -1 to mean the end-of-file has been reached. This fix reflects that change that is starting to appear in some compilers.

TESTS CONDUCTED: The CLWRF -- clwrf -- CLWRF ALERT! statement had started appearing with the Cray compiler 15.0.1, without any change to the "CAMtr_volume_mixing_ratio.SSP245" input file. This warning message is not showing up anymore.

Checklist

Merging the PR depends on following checklist being completed. Add X between each of the square brackets if they are completed in the PR itself. If a bullet is not relevant to you, please comment on why below the bullet.