I'm new to this list and to PyFerret (though I've used
Ferret for a while). I'm having an issue plotting fields with
the netCDF scale_factor attribute. For example, I have a 2D
field "thck" (type float) with scale_factor = 1000., and with
values of 0.0 in parts of the domain. It seems that ferret
gets confused about the zero values.
- When I type "list thck", then wherever the value is 0.0,
I see four dots instead of the value.
- When I type "shade thck", then wherever the value is
0.0, I get a white background instead of the color
corresponding to 0.0.
A manual fix is to use NCO to delete the scale_factor
attribute and then multiply thck by 1000. The zero values
are of course still zero, but now they list and plot
correctly.
I was wondering if this is a known issue and if there is
a workaround within Ferret, without removing the attribute.
I'm using PyFerret v7.5 (optimized) on a Mac, with Darwin
17.7.0. I have the same problem on Cheyenne, an NCAR HPC
using PyFerret 7.5 with Linux 4.12.14-94.41-default. I
don't recall having this issue with earlier versions of
Ferret (before PyFerret).
Thanks,
Bill