NOAA-EMC / NCEPLIBS-bufr

The NCEPLIBS-bufr library contains routines and utilites for working with the WMO BUFR format.
Other
44 stars 19 forks source link

using standard fortran internal read to demonstrate how strnum() may be replaced #409

Closed edwardhartnett closed 1 year ago

edwardhartnett commented 1 year ago

Part of https://github.com/NOAA-EMC/NCEPLIBS-bufr/issues/369

@jbathegit take a look at the code in test_misc.F90. Doesn't it do everything that strnum() does, using only standard Fortran internal reads?

edwardhartnett commented 1 year ago

This was not intended to be merged but just to demonstrate that an internal read() can be used to replace the strnum() function.

If we can remove a function from the library, as you have done with valx(), that is a great cost savings for NOAA and time saver for every programmer involved with the code, moving forward.

I will close this PR and we can continue discussion in #369.