MAVENSDC / cdflib

A python module for reading NASA's Common Data Format (cdf) files
MIT License
82 stars 45 forks source link

Keep numpy type #247

Closed bryan-harter closed 6 months ago

bryan-harter commented 6 months ago

We need to keep the numpy type in the output of the _squeeze_or_scalar functions in utils.py. By selecting ".item()", you're removing numpy information, and potentially casting a np.int64 to a python int32