Closed DusanJovic-NOAA closed 6 months ago
@pjpegion may I ask if you can take a look at the warning message? We were asked to remove the warnings before we can deliver the code to NCO. Thanks
@pjpegion May I ask if you have time to take a look at this issue? Thanks
I will take a look
I do not know who put the logic is to truncate a real8 to real4, so I don't know what the best solution is. Any recommendations? I would just to integer(iseed,4), but this was explicitly not done.
@pjpegion Please take a look at these changes:
I changed all integer constants that are outside the default integer range to be integer(8), and I also removed unused function (see second commit).
I'm running regression test now to confirm that results are bit-identical to the current baselines.
@DusanJovic-NOAA that change make total sense to me. Thanks for figuring it out.
Currently compiler warnings are suppressed when this repo is compiled as a sub-module in the ufs-weather-model, which is not allowed by NCO (see https://github.com/ufs-community/ufs-weather-model/issues/1984). The following warnings must be fixed before this code is implemented in production: