Skip to content

Releases: metno/gridpp

Version 0.7.1

07 Jul 13:14
Compare
Choose a tag to compare

Force numpy version to be 1.x

Version 0.7.0

25 Jan 10:32
Compare
Choose a tag to compare

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)

Version 0.6.1

29 Mar 11:58
Compare
Choose a tag to compare

Fixed bug in command-line client when using log transform in -d gradient

Version 0.6.0

16 Oct 10:13
Compare
Choose a tag to compare
  • 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

23 Nov 09:28
Compare
Choose a tag to compare
  • Bug fix to ensemble version of neighbourhood_quantile_fast for quantiles that are varying in space

Version 0.5.1

21 Nov 20:35
Compare
Choose a tag to compare
  • Bug fix to neighbourhood_quantile_fast for quantiles that are varying in space

Version 0.5.0

09 Nov 16:30
Compare
Choose a tag to compare
  • 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

12 Jun 14:46
Compare
Choose a tag to compare
  • General changes:
    • Changed the licence from GPL-2 to LGPL-3
    • Exposed an API to a library of core gridpp functionality
  • Command-line changes:
    • Added window= to -c deaccumulate

v0.3.1

17 Sep 09:32
Compare
Choose a tag to compare
  • 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

v0.2.10

20 Nov 21:49
Compare
Choose a tag to compare
  • Adds -d bilinear
  • Adds bilinear interpolation to -d gradient