Browse Source

Upload readme, figures and scripts

master
Fedor Sarafanov 3 years ago
commit
59f50dc647
  1. 2
      .gitignore
  2. 36
      Readme.md
  3. 679
      eof_analysis.ipynb
  4. 8410
      figures/eofs_and_pcs.eps
  5. BIN
      figures/eofs_and_pcs.png
  6. 2831
      figures/equatorial_variation.eps
  7. BIN
      figures/equatorial_variation.png
  8. 5986
      figures/ip_pg_rmm_variation.eps
  9. BIN
      figures/ip_pg_rmm_variation.png
  10. 5409
      figures/ip_pg_variation_partial.eps
  11. BIN
      figures/ip_pg_variation_partial.png
  12. 19319
      figures/longitudinal_structure.eps
  13. BIN
      figures/longitudinal_structure.png
  14. 52303
      figures/map_of_contributions.eps
  15. BIN
      figures/map_of_contributions.png
  16. 1229
      figures/rmm_diagram.eps
  17. BIN
      figures/rmm_diagram.png
  18. 244
      map_of_contributions.ipynb
  19. 999
      variations_ip_pg_rmm_with_mjo_phase.ipynb

2
.gitignore vendored

@ -0,0 +1,2 @@
.ipynb_checkpoints
data/*

36
Readme.md

@ -0,0 +1,36 @@
# The effect of the MJO on the GEC
The code in this repository accompanies an article about the influence of the Madden–Julian Oscillation on the global electric circuit.
* The **Madden–Julian Oscillation (MJO)** is the most dominant component of the climate variability in the tropics on the timescale of tens of days.
* We investigate the effect of the MJO on the direct current **global electric circuit (GEC)**, using both numerical simulations and the results of electric field measurements.
### Get big binary files
If you want run code on local computer, you need download all files from [https://eee.ipfran.ru/files/mjo](https://eee.ipfran.ru/files/mjo) and put them to folder `data`.
### Get the code and prepare to launch
All the code is written in `Python 3.7` using `Jupyter notebook`. You can get the latest version of the code and data as an archive [(click here to download a zip-archive)](https://git260.ipfran.ru/eee/mjo-gec-2022/archive/master.zip) or using `Git`:
```bash
git clone https://git260.ipfran.ru/eee/mjo-gec-2022.git
```
<!-- You can also download a pure Python version of the code without using the Jupyter notebook ([click here to download a zip-archive](https://git260.ipfran.ru/eee/mjo-gec-2022/archive/pure_python.zip)). With `Git 1.7.10` or later you can also clone a specific branch: -->
<!-- ```bash
git clone --single-branch --branch pure_python https://git260.ipfran.ru/eee/mjo-gec-2022.git
```-->
### Python requirements
In order to run the code, you will need to have the following python packages:
* `scipy >= 1.6.0`
* `matplotlib >= 3.5.0`
* `cartopy >= 0.18.0`
### About the attached data
* `rmm.txt`. Source of this text file you can [download directly](http://www.bom.gov.au/climate/mjo/graphics/rmm.74toRealtime.txt) from the Australian Bureau of Meteorology. The columns of the file represent the date (from 1974 onwards), components of the Real-time Multivariate MJO index (RMM), MJO phase and amplitude.
* `OLR_41year_NOAA.npy` This is a `numpy` array with the shape `(14976, 180, 360)`, containing daily averaged (14976 days) Outgoing Longwave Radiation values from NOAA dataset [olr.day.mean.nc](https://psl.noaa.gov/data/gridded/data.interp_OLR.html) for every cell of a 1°×1° latitude-longitude grid (180×360) starting with 1980-1-1 and ending with 2021-12-31.
* `DAILY-ENSO34.npy`. This is a `numpy` array with the shape `(4992,)`, containing daily averaged sea surface temperature in the Niño 3.4 region. Here 4992 is the number of days when every third day in 1980–2020 is taken.
* `DAILY-IP-MAP-V4.3.npy`. This is a `numpy` array with the shape `(4992, 180, 360)`, containing daily averaged (4992 days) contributions to the ionospheric potential (IP) for every cell of a 1°×1° latitude-longitude grid (180×360) for every third day. The gird cell contributions are calculated with the Weather Research and Forecasting model (WRF) version 4.3.
* `vostok_hourly <...>.txt` text files contain two columns, one of which represents the date and time (column `Datetime`) and the other, hourly averaged potential gradient (PG) values on the basis of the measurements at the Russian Antarctic station Vostok (column `Field`, the units are V/m).
* `sunspot_number_data.csv` contains information about total sunspot number for every day of years 1818--2022. You can download file [here](https://www.sidc.be/silso/datafiles).
### About the scripts
* `map_of_contributions` plots the anomalies in grid cell contributions to the IP during different MJO phases.
* `variations_ip_pg_rmm_with_mjo_phase` plots variations of various parameters with the MJO cycle. In particular, we plot the IP, the fair-weather PG and the two components of the RMM index.
* `eof_analysis` represents a more elaborate analysis of contributions to the IP using the concept of empirical orthogonal functions (EOFs) and principal components (PCs).

679
eof_analysis.ipynb

File diff suppressed because one or more lines are too long

8410
figures/eofs_and_pcs.eps

File diff suppressed because it is too large Load Diff

BIN
figures/eofs_and_pcs.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 KiB

2831
figures/equatorial_variation.eps

File diff suppressed because it is too large Load Diff

BIN
figures/equatorial_variation.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

5986
figures/ip_pg_rmm_variation.eps

File diff suppressed because it is too large Load Diff

BIN
figures/ip_pg_rmm_variation.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 321 KiB

5409
figures/ip_pg_variation_partial.eps

File diff suppressed because it is too large Load Diff

BIN
figures/ip_pg_variation_partial.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 247 KiB

19319
figures/longitudinal_structure.eps

File diff suppressed because it is too large Load Diff

BIN
figures/longitudinal_structure.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 590 KiB

52303
figures/map_of_contributions.eps

File diff suppressed because it is too large Load Diff

BIN
figures/map_of_contributions.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

1229
figures/rmm_diagram.eps

File diff suppressed because it is too large Load Diff

BIN
figures/rmm_diagram.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

244
map_of_contributions.ipynb

File diff suppressed because one or more lines are too long

999
variations_ip_pg_rmm_with_mjo_phase.ipynb

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save