NetCDF reader doesn't apply scale factor to lat/lon for CF compliant files
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
I'm trying to read swath data from a CF compliant NetCDF file. The lat/lon values are stored as integers with a scale factor of 0.001 that needs to be applied to scale to float/double values. Here is the NetCDF attribute for latitude in my file:
int lat(along_track=18158, cross_track=42); :units = "degrees_north"; :comment = "Pixel Latitude [-90:90]"; :scale_factor = 0.001; // double :long_name = "Pixel Latitude"; :standard_name = "latitude";
The reader correctly interprets the lat field as latitude based on the CF attribute "standard_name", but erroneously sets the points in the resulting unstructured grid as their unscaled values. I have noticed that the scale factor is correctly applied to other CF compliant variables just not the latitude and longitude point values.