usgs / gspy

Other
18 stars 5 forks source link

Add numpy data types to specify internal storage requirements when converting to netcdf #1

Closed leonfoks closed 1 year ago

leonfoks commented 1 year ago

float64 is superflous for data that is maybe uint8. re-visit this in the json definition files

leonfoks commented 1 year ago

We are going to add two optional attributes. dtype and format. dtype will control internal storage i.e. int8, uint8. and format will control any output if data is every converted back from netcdf to say csv. format will not be used internally within gspy, but will be honoured on data conversion.