convsh confusing error message
|Reported by:||iwi||Owned by:||um_support|
When reading in an HDF5 file, the error message "can only read classic data model format NetCDF4 files" is obtained. In convsh, this gives a misleading impression that the data has not been read:
$ file test.nc test.nc: Hierarchical Data Format (version 5) data $ convsh convsh1.93 % readfile 0 test.nc file test.nc is a HDF5 or NetCDF4 file can only read classic data model format NetCDF4 files
but in fact if you just ignore it and carry on, the data has been read okay, but the error message may deter the user from doing so:
convsh1.93 % list_fields 0 : 2 4 0 2 Cloud area fraction convsh1.93 % writefile netcdf test2.nc -1 Creating classic format NetCDF file test2.nc =========================================================== 2 4 0 1.000000 cld 2 4 0 2.000000 cld ===========================================================
In xconv it is less of an issue, because although the error is shown under "Output messages", the variables are also listed in the main panel, so it is obvious that the file open succeeded.
The test file is attached. (Subsetted with ncks for sake of file size, hence only a few grid points, but still exhibiting the same issues regarding file format.)