Skip to content

ethan-nelson/mjo_indices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 

Repository files navigation

MJO Indices Script

This Python script retrieves and parses Madden-Julian Oscillation Wheeler-Hendon Index values from the Australian Bureau of Meteorology (BOM).

Functions

load_indices()

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.

_retrieve()

This function fetches the indices file from the BOM and returns its text.

_parse(data)

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.

_extract(data)

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages