Handling of normalised (scaled) data derived from variables with CF standard names where units aren't known/useful #435
Replies: 2 comments 3 replies
|
Take a look at the packed data section of the CF Convention. As I think this is what you might be describing. The CF standard doesn't seem to have the formula, but it's: actual value = (stored value * scale_factor) + add_offset This comes out of the netCDF user guide (NUG). |
|
Dear Luke @lhmarsden You're right that However, the crucial point you make is that you don't know the scale factor, or equivalently that you don't know the Best wishes Jonathan |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Maybe there is already a solution for this, but...
I’d like to raise a question about how to handle cases where scientific data (with a well-defined CF standard name and physical units) are stored in a normalised or scaled form for visualisation or distribution, rather than as physically meaningful values.
Example use case
A dataset contains
toa_outgoing_radiance_per_unit_wavelength(W m-2 sr-1 m-1). For distribution, the values are min–max normalised to the 16-bit integer range [0, 65535]. The resulting stored data are dimensionless “digital numbers” (DN).Problem
The CF standard name
toa_outgoing_radiance_per_unit_wavelengthimplies canonical units of radiance. If the stored values are instead dimensionless, then:standard_namewould be misleading, because the units are no longer compatible.standard_namemeans we lose the formal link to the underlying quantity.Questions
normalised_of = "toa_outgoing_radiance_per_unit_wavelength".All reactions