Pfm (or Portable FloatMap) image format stores image as floating point pixels and hence are not restricted to usual 0-255 pixel value range. This is useful for HDR images or images that describes something other than colors like depth.
One of the good viewer to view this file format is PfmPad. We don't recommand Maverick photo viewer because it doesn't seem to show depth images properly.
AirSim has code to write pfm file for C++ and read as well as write for Python.