Gridpp API documentation
A library for post-processing gridded weather forecasts. Check out the github page for more information.
Releases
- Released: Jan 25, 2024
- New features
- Improved computational performance of optimal interpolation functions by around 10%
- Added
mask_threshold_downscale_quantile
to compute quantiles and downscale in one go (thanks @LonnekevB)
- Added points-to-points gridding methods
- Added vector version of gridpp::interpolate
- Added
RandomChoice
statistic. For functions that compute statistics on vectors, this allows you to randomly pick an element in the vector.
- Added
neighbourhood_score
function that computes a verification score for all observations in a neighbourhood
- Added
gridding
and gridding_nearest
methods that takes points as inputs and points as output
- Better handling of repeated x-values in
apply_curve
- Raise exception if constructing
Grid
or Points
objects with undefined (e.g. NaN) coordinates
- Pre-compiled linux packages for Python 3.7 to 3.11 available
- Bug fixes
- Fixed
bilinear
interpolation for unusual cases (polar stereographic case covering the north pole; thanks @trygveasp)
- Fixed bug in structure functions across dateline (thanks @joewkr)
- Fixed
optional_interpolation_full
for points (thanks Christoph Herbert and Ewan Pinnington)
- Released: Oct 14, 2022
- New features
- optimal_interpolation_full that returns analysis variance
- Point-to-point variant of nearest neighbour and simple gradient downscaling
- allow_extrapolation option in OI functions
- local_distribution_correction method
- doping_square and doping_circle methods
- neighbourhood_search function
- allow_extrapolation boolean to optional_interpolation function
- full_gradient to downscale with spatially varying gradients
- calc_gradient to compute neighbourhood gradient
- grid-to-grid and point-to-point variants of distance and count functions
- sea level pressure function
- window function to compute moving window statistics for timeseries
- Gamma transformation
- Calibration with spatially varying calibration curve
- Speed improvement and bux fixes in bilinear function
- Faster implementation of nearest neighbour interpolation for multiple timesteps
- New way of specifying curve-based correction
- Added support for Python 3.10 and Python 3.11
- Released: Nov 9, 2020
- New features
- Support for cartesian x/y coordinates (instead of just lat/lon)
- A bilinear interpolator that works on all grid rotations
- Easy cross-validation setup for optimal interpolation
- Functions for computing distance to nearest points on grid
- Functions for computing number of nearby points on grid
- Function for computing neighbourhood quantiles with spatially varying quantiles
- Function for gridding observations
- Function for filling in missing values
- Experimental method for optimizing a metric (metric_optimizer_curve)
- Pre-compiled binaries available for Linux for Python 2.7,3.5-3.9
- Released: June 15, 2020
- New features