Closed JamiePringle closed 6 years ago
this old code assumed that spherical = nc.variables['spherical'][:] returns a string if the netcdf type is char. This is not true, it returns a sequence of bytes. I put in code to convert it, and if it fails assumes it is an integer.
This bug was only triggered if spherical was "F"
this old code assumed that spherical = nc.variables['spherical'][:] returns a string if the netcdf type is char. This is not true, it returns a sequence of bytes. I put in code to convert it, and if it fails assumes it is an integer.
This bug was only triggered if spherical was "F"