NetCDF units are lost unless the source file has a nodata or a valid range defined for the variables

Description

The GridSampleDimension carries the unit out of the reader, but does so only if categories are defined.
However, categories are built only for the two cases reported in the title

Environment

None

Assignee

Andrea Aime

Reporter

Andrea Aime

Triage

None

Components

Fix versions

Priority

Medium
Configure