Coder Social home page Coder Social logo

yixinnju / rainfall-teleconnections Goto Github PK

View Code? Open in Web Editor NEW

This project forked from niklasboers/rainfall-teleconnections

0.0 0.0 0.0 71 KB

Python code to compute global teleconnections from rainfall data

License: GNU General Public License v3.0

Python 100.00%

rainfall-teleconnections's Introduction

rainfall-teleconnections

Python code to compute global teleconnections from rainfall data

Author

Niklas Boers

License

This work is licensed under the GNU General Public License v3.0. For details please read LICENSE.txt.

General notes

This repository hosts python code to compute network representations of synchronizations between extreme rainfall events at different locations on the globe. The analysis is based on the Tropical Rainfall Measurement Mission (TRMM) 3B42 V7 dataset, which is available for download at https://pmm.nasa.gov/data-access/downloads/trmm.

Requirements

numpy scipy weave scikit-learn netCDF4 windspharm matplotlib basemap

Usage

The scripts should be run in the following order:

1. events_from_data.py

loads the data and computed events above predefined percentile thresholds

2. events_plots.py

plots the values of the percentile thresholds, and the corresponding numbers of events at each location

3. Event_Synchronization_null_model.py

computes the null model distribution for the Event Synchronization (ES) measure, based on surrogates with different event rates

4. Event_Synchronization.py

computes the ES measure in parallel, and saves the slices as binary arrays, with an entry equal to one if the corresponding ES value is above the significance threshold, chose at the 99.5th percentile of the null model distribution.

5. network_construction.py

computes the networks and corresponding geographical link distances.

6. distance_distribution.py

computes the distance distribution as a histogram of all link distances

7. distance_distribution_plot.py

plots the distance distribution together with a corresponding power law fit

8. distance_distribution_percentile_dependence.py

compares the distance distributions for different event strengths

9. distance_distribution_tropical_vs_extratropical.py

compares the distance distributions for different spatial subsets such as the tropics or the extratropics of both hemispheres

10. link_bundles.py

determines the links associated with the study region in South-Central Asia, and estimates their spatial density using a Kernel Density Estimator

11. link_bundles_null_model.py

computes the null model of the spatial density of links associated with South-Central Asia

12. link_bundles_plots.py

plots the link bundles and the corresponding null model distribution

13. sync_times_between_regions.py

determines times of high extreme event synchronizations between Europe and South-Central Asia

14. v_gph_psi_anomalies.py

computes composite anomalies of meridional wind speeds, geopotential height, and streamfunction for times of high extreme event synchronizations between Europe and South-Central Asia

15. v_gph_psi_anomalies_plots.py

plots the composite anomalies of meridional wind speeds, geopotential height, and streamfunction

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.