E3SM-Project / scorpio

A high-level Parallel I/O Library for structured grid applications
Other
21 stars 16 forks source link

include PIO_TYPENAME in error message #262

Open rljacob opened 5 years ago

rljacob commented 5 years ago

If you try to read a netcdf4 file with pnetcdf you get this error message:

NC_FORMAT_NETCDF4 is not yet supported

But that could be more informative by saying:

NC_FORMAT_NETCDF4 is not yet supported by PIO_TYPENAME pnetcdf

This will make it more clear to the user that they need to change the PIO_TYPENAME.

jayeshkrishna commented 5 years ago

@rljacob : Do you want this fixed in scorpio classic too?

Scorpio has more descriptive error messages but still might need some minor edits in the case where scorpio does not automatically retry opening with NetCDF (When Scorpio retries with NetCDF the user messages are more helpful) - the case where we configure Scorpio with just PnetCDF.

rljacob commented 5 years ago

Yes scorpio-classic too