Releases: metno/gridpp
Releases · metno/gridpp
Version 0.7.1
Version 0.7.0
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
andgridding_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
orPoints
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)
Version 0.6.1
Fixed bug in command-line client when using log transform in -d gradient
Version 0.6.0
- 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
Version 0.5.2
- Bug fix to ensemble version of neighbourhood_quantile_fast for quantiles that are varying in space
Version 0.5.1
- Bug fix to neighbourhood_quantile_fast for quantiles that are varying in space
Version 0.5.0
- API changes:
- 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)
v0.4.2
v0.3.1
- New features:
Variables are referenced by their NetCDF variable name- Adds cmake compilation
- Adds -c oi to perform optimal interpolation
- Gradient downscaler can use temperature at model levels (instead of T2m)
when computing gradient - Adds coastal regression in -d gradient
- Adds -c coastal, a bias-correction scheme that weights land and sea
tempatures from a neighbourhood - Variable names can be overridden by passing in a variable map file
- Backwards-incompatible changes:
- Gradient downscaler options are different. Use -d gradientOld to get
previous behaviour. - Parameter text files must contain header
- Parameter files are specified differently: -p type=
- The command-line interface to this version has changed significantly.
- Names as they appear in the file are used to identify variables. I.e.
use -v air_temperture_2m instead of -v T. - -c diagnose replaced by -c diagnoseHumidity and -c diagnoseWind
- Gradient downscaler options are different. Use -d gradientOld to get