Package: maesters-clim
Maesters-of-ClimMaesters-of-Clim tempt to help retriving climate data (climate index, reanalysis) from the main-stream climate insitution (like IRI, PSL, NCEI, RDA).The following supportInstitutionSourceDataTypeDataNameFetchDataIRIIRIforecastENSO ProbabilityClimate_Maester(['enso'], 'iri').forecast(pred_at=date)IRICPCforecastENSO ProbabilityClimate_Maester(['enso'], 'cpc').forecast(pred_at=date)JAMSTECJAMSTECforecastDipole Mode IndexClimate_Maester(['dmi'], 'jamstec').forecast()PSL/NCEIPSL/NCEIhistoryNina 34 AnomalyClimate_Maester(['nina34a'], 'ncei').history()PSL/NCEIPSL/NCEIhistoryNina 3 AnomalyClimate_Maester(['nina3'], 'ncei').history()PSL/NCEIPSL/NCEIhistoryNina 4 AnomalyClimate_Maester(['nina4'], 'ncei').history()PSLPSLhistoryNina 1 AnomalyClimate_Maester(['nina1a'], 'psl').history()NCEINCEIhistoryNina 1.2 AnomalyClimate_Maester(['nina12a'], 'ncei').history()NCEINCEIhistoryNina 1.2 SSTClimate_Maester(['nina12'], 'ncei').history()NCEINCEIhistoryNina 3 SSTClimate_Maester(['nina3'], 'ncei').history()NCEINCEIhistoryNina 3.4 SSTClimate_Maester(['nina34'], 'ncei').history()NCEINCEIhistoryNina 4 SSTClimate_Maester(['nina4'], 'ncei').history()NCEINCEIhistoryIndian Ocean DipoleClimate_Maester(['iod'], 'ncei').history()PSLPSLhistorySouthern Oscillation IndexClimate_Maester(['soi'], 'psl').history()PSLPSLhistoryOceanic Nino indexClimate_Maester(['oni'], 'psl').history()PSLPSLhistoryTrans Nino indexClimate_Maester(['tni'], 'psl').history()PSLPSLhistoryArctic OscillationClimate_Maester(['ao'], 'psl').history()PSLPSLhistoryBivariate ENSO from nina3.4 & soiClimate_Maester(['censo'], 'psl').history()PSLPSLhistoryWestern Pacific IndexClimate_Maester(['wp'], 'psl').history()PSLPSLhistoryAMO smoothedClimate_Maester(['amo_sm'], 'psl').history()PSLPSLhistoryDipole Mode IndexClimate_Maester(['dmi'], 'psl').history()PSLPSLhistoryDipole Mode Index WestClimate_Maester(['dmiwest'], 'psl').history()PSLPSLhistoryDipole Mode Index EastClimate_Maester(['dmieast'], 'psl').history()PSLPSLhistoryNorth Atlantic OscillationClimate_Maester(['nao'], 'psl').history()PSLPSLhistoryNorth Pacific IndexClimate_Maester(['np'], 'psl').history()PSLPSLhistoryTrans Polar IndexClimate_Maester(['tpi'], 'psl').history()PSLPSLhistoryGlobal Average Temperature Anomaly from StationClimate_Maester(['glbts'], 'psl').history()PSLPSLhistoryGlobal Average Temperature Anomaly from Station and SSTClimate_Maester(['glbtssst'], 'psl').history()PSL/NCEIPSL/NCEIhistoryAMO unsmoothedClimate_Maester(['amo'], 'ncei').history()PSL/NCEIPSL/NCEIhistoryPacific Decadal OscillationClimate_Maester(['pdo'], 'ncei').history()Installpipinstallmaesters-climUsagefrommaesters_of_climimportClimate_Maesterfromdatetimeimportdatetime# retrive history climate index from ninac=Climate_Maester(indexes=['nina34a','pdo','soi'],source='psl')df=c.history()# retrive half-year ENSO forecast probabilityc=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 ...frommaesters_of_clim.analysisimportenso_eventdf['enso_event']=enso_event(df,column='nina34a',temp=0.5,months=6)df[~df['enso_event'].isna()]TODOThe following support is on the way. 🚀🚀🚀DataERA5 reanalysis from RDA and AWSBasic ComputationCompiste Analysis