file
command can often identify the type of a file:
$ file S200616718_NCEP.MET
S200616718_NCEP.MET: Hierarchical Data Format (version 4) data
The
hdfview
program (part of hdf-java) can usually read netcdf and hdf files (both older and current versions of the formats).