parsing of those terrible strings in hdf4 map files