hamsci_psws.goes.flare_value¶
- hamsci_psws.goes.flare_value(flare_class)[source]¶
Convert a string solar flare class [1] into the lower bound in W/m**2 of the 1-8 Angstrom X-Ray Band for the GOES Spacecraft.
An ‘X10’ flare = 0.001 W/m**2.
This function currently only works on scalars.
- Parameters
flare_class (string) – class of solar flare (e.g. ‘X10’)
- Returns
value – numerical value of the GOES 1-8 Angstrom band X-Ray Flux in W/m**2.
- Return type
float
References
[1] See http://www.spaceweatherlive.com/en/help/the-classification-of-solar-flares
Example
value = flare_value(‘X10’)
Written by Nathaniel Frissell 2014 Sept 07