Climat module¶
These functions compute averages, standard deviations, counds, and trends over the time axis in various ways.
Mean |
NaN-aware Mean |
Std. Deviation |
Nan-Aware Std. Dev. |
Count |
---|---|---|---|---|
- pygeode.climatology(var)[source]¶
Computes a climatological mean. Averages over all years, returning a single value for each distinct month, day, hour, etc.
- pygeode.seasonalmean(var)[source]¶
Averages over each season. Currently, the seasons are hard-coded as (DJF, MAM, JJA, SON).
- pygeode.diurnalmean(var)[source]¶
Computes an average value for each time of day (averages over all years, months, days).
- pygeode.nanclimatology(var)[source]¶
Computes a climatological nan-aware mean. Averages over all years, returning a single value for each distinct month, day, hour, etc.
- pygeode.seasonalnanmean(var)[source]¶
Nan-aware averages over each season. Currently, the seasons are hard-coded as (DJF, MAM, JJA, SON).
- pygeode.diurnalnanmean(var)[source]¶
Computes a nan-aware average value for each time of day (averages over all years, months, days).
- pygeode.climstdev(var)[source]¶
Computes a climatological standard deviation. Computes standard deviation over all years, returning a single value for each distinct month, day, hour, etc.
- pygeode.monthlycount(var)[source]¶
Counts number of non-nan data points contributing to monthly mean.
- pygeode.seasonalcount(var)[source]¶
Counts number of non-nan data points contributing to seasonal mean.
- pygeode.diurnalcount(var)[source]¶
Counts number of non-nan data points contributing to diurnal mean.
- pygeode.climtrend(var)[source]¶
For each month, day, hour, etc., compute a least-squares fit to a linear trend over all years. This is similar to the climatology, but instead of averaging over all years, it computes the rate of change over all years.