NOAA-EMC / NCEPLIBS-bacio

This library performs binary I/O for the NCEP models.
Other
2 stars 6 forks source link

Code in byteswap.c prints message to stderr even when everything is working, but it should not... #60

Closed edwardhartnett closed 2 years ago

edwardhartnett commented 2 years ago

This code in byteswap.c prints a message, it should just shut up and do it's job silently like a good library.

  if( fast_count_calls == 0 ) { 
fprintf (stderr, " FAST_BYTESWAP ALGORITHM HAS BEEN USED AND DATA ALIGNMENT IS CORRECT FOR  %9d  )\n",nb );
fast_count_calls= 1 ;
}
edwardhartnett commented 2 years ago

I am just going to take this out. If anyone complains we can add it back in. But the library should not be sending anything to stderr when everything is working fine...