Opened 7 years ago
Closed 7 years ago
#114 closed defect (invalid)
CF checker incorrectly complains about scale_factor of same type as variable.
Reported by: | biard | Owned by: | cf-checker@… |
---|---|---|---|
Priority: | medium | Milestone: | |
Component: | cf-checker | Version: | |
Keywords: | scale_factor | Cc: |
Description
When running the CF checker on a file with a variable of type double which has a scale_factor of type double, I get the complaint
"must be of type byte, short or int"
When you use a scale_factor, that unpacks to double, you need the data in the variable to be type byte short or int. See: "Section 8.1 - Packed Data"
Yet Section 3.1 states:
The Udunits syntax that allows scale factors and offsets to be applied to a unit is not supported by this standard. The application of any scale factors or offsets to data should be indicated by the scale_factor and add_offset attributes.
This is, in fact what is being done in file in question.
Change History (1)
comment:1 Changed 7 years ago by biard
- Resolution set to invalid
- Status changed from new to closed
My bad. There isn't actually a problem.