Function to convert flare class into GOES flux

Thought this might be useful, but I didn't really know where to put it, so it's in goes.py for now. But I'm quite happy to move it elsewhere if anyone has a better idea.
I was attempting to demonstrate that it doesn't have to be. You can give it upper or lower case as input because it does  .upper() on it anyway.