Opened 5 years ago

Closed 5 years ago

#1727 closed error (answered)

convsh confusing error message

Reported by: iwi Owned by: um_support
Component: UM Tools Keywords: convsh
Cc: Platform: Other
UM Version:


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 Hierarchical Data Format (version 5) data

$ convsh

convsh1.93 % readfile 0
file 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 -1 
Creating classic format NetCDF file 


   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.)

Attachments (1) (16.5 KB) - added by iwi 5 years ago.

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by iwi

comment:1 Changed 5 years ago by ros

  • Keywords convsh added
  • Resolution set to answered
  • Status changed from new to closed
  • UM Version <select version> deleted

Comment noted. Thanks for the feedback.

Note: See TracTickets for help on using tickets.