This Python script retrieves and parses Madden-Julian Oscillation Wheeler-Hendon Index values from the Australian Bureau of Meteorology (BOM).
This is a meta-function that runs all functions in the script: retrieving, parsing, and extracting indices from the BOM site.
The output is a two-dimensional matrix with each row containing the year, julian day, phase, and amplitude.
This function fetches the indices file from the BOM and returns its text.
This function takes the text output from _retrieve()
, removes the header information, and parses the data.
The output is a two-dimensional matrix with each row containing the year, month, day, first EOF magnitude, second EOF magnitude, phase, amplitude, and note for each day. Missing values are set to 999.
This function takes the output from _parse()
and returns only certain information.
The output is a two-dimensional matrix with each row containing the year, julian day, phase, and amplitude.