Dennis Heimbigner
Dennis Heimbigner
>Or could it be when it is trying to print the default fill value? Because I only write > one data element to the array, leaving the rest as fill...
That is also a possibility. It occurs to me that it is vary difficult to tell if a fill value is needed until the variable is sync'd to disk and...
Another possibility is to define a special _UNDEFINED enum constant that is implicitly part of every enum type. Sort of the equivalent of NAN for floats. If you ask for...
Good point. That is another argument for an _UNDEFINED enum constant.
I send a request to hdfgroup to see if they have any insight. The question I would have is: is it possible to create an hdf5 file in which the...
I did a quick experiment and it appears to be the case that it is possible to set any arbitrary value as the fill value for an enum typed variable....
One more thought. For the netcdf API, we can enforce that setting a fill value requires setting it to a legal enum constant value.
It is not just ncdump. We need to decide at the API level how to handle zero by, for example, using _FillValue as the enum constant name for it.
The problem at the API level occurs when a program reads a set of enum values from a variable and then uses e.g. nc_inq_enum_ident() to get the corresponding name. What...
The hdfgroup has asked for a program showing the problem, so I sent them a simple netcdf program. Let us see what they say.