Skip to main content

Maesters-of-Clim tempt to help retriving climate data (climate index, reanalysis) from the main-stream climate insitution (like IRI, PSL, NCEI, RDA).

Project description

Maesters-of-Clim

Maesters-of-Clim tempt to help retriving climate data (climate index, reanalysis) from the main-stream climate insitution (like IRI, PSL, NCEI, RDA).

The following support

Institution Source DataType DataName FetchData
IRI IRI forecast ENSO Probability Climate_Maester(['enso'], 'iri').forecast(pred_at=date)
IRI CPC forecast ENSO Probability Climate_Maester(['enso'], 'cpc').forecast(pred_at=date)
JAMSTEC JAMSTEC forecast Dipole Mode Index Climate_Maester(['dmi'], 'jamstec').forecast()
PSL/NCEI PSL/NCEI history Nina 34 Anomaly Climate_Maester(['nina34a'], 'ncei').history()
PSL/NCEI PSL/NCEI history Nina 3 Anomaly Climate_Maester(['nina3'], 'ncei').history()
PSL/NCEI PSL/NCEI history Nina 4 Anomaly Climate_Maester(['nina4'], 'ncei').history()
PSL PSL history Nina 1 Anomaly Climate_Maester(['nina1a'], 'psl').history()
NCEI NCEI history Nina 1.2 Anomaly Climate_Maester(['nina12a'], 'ncei').history()
NCEI NCEI history Nina 1.2 SST Climate_Maester(['nina12'], 'ncei').history()
NCEI NCEI history Nina 3 SST Climate_Maester(['nina3'], 'ncei').history()
NCEI NCEI history Nina 3.4 SST Climate_Maester(['nina34'], 'ncei').history()
NCEI NCEI history Nina 4 SST Climate_Maester(['nina4'], 'ncei').history()
NCEI NCEI history Indian Ocean Dipole Climate_Maester(['iod'], 'ncei').history()
PSL PSL history Southern Oscillation Index Climate_Maester(['soi'], 'psl').history()
PSL PSL history Oceanic Nino index Climate_Maester(['oni'], 'psl').history()
PSL PSL history Trans Nino index Climate_Maester(['tni'], 'psl').history()
PSL PSL history Arctic Oscillation Climate_Maester(['ao'], 'psl').history()
PSL PSL history Bivariate ENSO from nina3.4 & soi Climate_Maester(['censo'], 'psl').history()
PSL PSL history Western Pacific Index Climate_Maester(['wp'], 'psl').history()
PSL PSL history AMO smoothed Climate_Maester(['amo_sm'], 'psl').history()
PSL PSL history Dipole Mode Index Climate_Maester(['dmi'], 'psl').history()
PSL PSL history Dipole Mode Index West Climate_Maester(['dmiwest'], 'psl').history()
PSL PSL history Dipole Mode Index East Climate_Maester(['dmieast'], 'psl').history()
PSL PSL history North Atlantic Oscillation Climate_Maester(['nao'], 'psl').history()
PSL PSL history North Pacific Index Climate_Maester(['np'], 'psl').history()
PSL PSL history Trans Polar Index Climate_Maester(['tpi'], 'psl').history()
PSL PSL history Global Average Temperature Anomaly from Station Climate_Maester(['glbts'], 'psl').history()
PSL PSL history Global Average Temperature Anomaly from Station and SST Climate_Maester(['glbtssst'], 'psl').history()
PSL/NCEI PSL/NCEI history AMO unsmoothed Climate_Maester(['amo'], 'ncei').history()
PSL/NCEI PSL/NCEI history Pacific Decadal Oscillation Climate_Maester(['pdo'], 'ncei').history()

Install

pip install maesters-clim

Usage

from maesters_of_clim import Climate_Maester
from datetime import datetime

# retrive history climate index from nina
c = Climate_Maester(
    indexes=['nina34a', 'pdo', 'soi'],
    source='psl'
)
df = c.history()

# retrive half-year ENSO forecast probability
c = Climate_Maester(
    indexes='enso',
    source='iri'
)
iridf = c.forecast(pred_at=datetime(2022, 10, 1))

c = Climate_Maester(
    indexes='enso',
    source='cpc'
)
cpcdf = c.forecast(pred_at=datetime(2022, 10, 1))

# calculate ENSO event from nina34a/nina3a/soi ...
from maesters_of_clim.analysis import enso_event
df['enso_event'] = enso_event(df, column='nina34a', temp=0.5, months=6)
df[~df['enso_event'].isna()]

TODO

The following support is on the way. 🚀🚀🚀

  1. Data
  • ERA5 reanalysis from RDA and AWS
  1. Basic Computation
  • Compiste Analysis

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

maesters-clim-0.0.4.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

maesters_clim-0.0.4-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file maesters-clim-0.0.4.tar.gz.

File metadata

  • Download URL: maesters-clim-0.0.4.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for maesters-clim-0.0.4.tar.gz
Algorithm Hash digest
SHA256 8571e26427ee677e09aaa78dc19767b33924146cdafb0d3889e699f9a4ab654e
MD5 1b1d4aee97a4106a61890c9f78215025
BLAKE2b-256 1cc7946e9cf03f2ea6d56be8747e8bad219324c3caa33a551a03396836483958

See more details on using hashes here.

File details

Details for the file maesters_clim-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for maesters_clim-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 58dbc56bce759634136eafc261749ce38086b4e8e8545f1d21d22e6f9c7b9024
MD5 28bbece80ee95f0368132619d7dc4dac
BLAKE2b-256 19b48cc0d2ecb3cf1cd0985905be35cc56691d65b14c5f1777c82384e1afffa4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page