How do I know the dataType of an .exr image?

In the two .exr examples, the EXRLoades is called with a different dataType each time:

and

I have an .exr file, how do I know which type to set with the loader?

I am guessing it’s the same for the RGBELoader as well.