wradlib
Please note that ωradlib releases follow semantic versioning. API breaks will be announced via deprecation warnings. All ωradlib releases come without any warranty. Release notes might be incomplete. See here for a complete record of changes.
You can install the latest ωradlib release from PyPI via $ pip install wradlib
or specific version via $ pip install wradlib==x.y.z
. The recommended installation process is described in installation
.
Bugfixes
- Use numpy.linspace in ipol.interpolate_polar (
576
) by @syedhamidali - FIX: explicitely cast ray indices to int in cfradial1 reader (
579
) by @kmuehlbauer - Pre Erad2022 (
580
) by @kmuehlbauer - FIX: cfradial1 reader alignments (
585
) by @kmuehlbauer
Maintenance - Code
- MNT: use Bearer Token instead of credentials (
584
) by @kmuehlbauer - MNT: fix SRTM testing if resource is not available, implement timeout (
587
) by @kmuehlbauer
Maintenance - CI
- MNT: add pre-commit (
577
) by @kmuehlbauer
New features
- add "ancillary"-keyword to io.radolan._radolan_file (
574
) by @kmuehlbauer - update DWD grids (
568
) by @kmuehlbauer - add open_gpm_dataset (
571
) by @kmuehlbauer
Maintenance - Code
- update docstring for classify_echo_fuzzy (
570
) by @swatelet - use np.expand_dims instead of np.newaxis to make functions work with xarray DataArray (
568
) by @kmuehlbauer
Maintenance - CI
- add nc-time-axis to notebook-environment (
568
) by @kmuehlbauer
Bugfixes
- fix RADOLAN xarray coordinates (which have been off by 0.5km) (
568
) by @kmuehlbauer
Deprecations
- removes GDAL < 3 compatibility code (
568
) by @kmuehlbauer
New features
- add Furuno backend (
scn
andSCNX
files) forXarray
(567
) by @kmuehlbauer
New features
- zonalstats enhancements, new VectorSource class, geopandas connector and more (
558
) by @kmuehlbauer
Maintenance - Code
- refactor deprecated xarray functionality (
533
) by @kmuehlbauer - use f-strings where appropriate (
537
) by @kmuehlbauer - remove unnecessary object-inheritance (
538
) by @kmuehlbauer - replace distutils.version.LooseVersion with packaging.version.Version (
539
) by @kmuehlbauer - use dict-literals (
542
) by @kmuehlbauer
Maintenance - Build/CI
- cancel previous CV builds (
534
) by @kmuehlbauer - use provision-with-micromamba action (
543
) by @kmuehlbauer
Bugfixes
- remove zero padding of bits in rainbow format (truncate excess bits from flagmap) (
549
) (550
) by @binomaiheu - raise ValueError if projection cannot be determined from source dataset (
551
) (553
) @kmuehlbauer - output full timeslice when calling to_netcdf with no timestep (
552
) (554
) @kmuehlbauer - handle variable number of gates in CfRadial1 backend (
545
) (555
) @kmuehlbauer - use radar site altitude in bin_altitude calculation (
546
) (556
) @kmuehlbauer - take precision into account for RADOLAN WN product (
548
) (557
) @kmuehlbauer - correct elevation for negative angles in iris/sigmet RAW data (
560
) (reported by Ozan Pirbudak from Turkish Met Service) (561
) @kmuehlbauer - fix AttributeError: 'str' object has no attribute 'item' (
562
) (561
) @kmuehlbauer - use start date/time if end date/time is missing for ODIM reader (
563
) (reported by Anna Gabbert from University of Graz) (564
) @kmuehlbauer
New features
- add IRIS/Sigmet backend for
Xarray
(361
) (520
) by @kmuehlbauer - add Rainbow backend for
Xarray
(394
,459
) suggested by @wcwoo and @maxok (522
) by @kmuehlbauer
Maintenance
- optionalize dependencies (dask, gdal, h5netcdf, h5py, netCDF4, requests, xmltodict) (
531
) by @kmuehlbauer - utilize pytest-doctestplus (
530
) by @kmuehlbauer - update deprecated matplotlib functionality (
530
) by @kmuehlbauer - docstring updates in several functions (
530
, ) by @kmuehlbauer - docstring updates in several functions
Bugfixes
- use reasonable default values in io.xarray.to_odim (gain, offset, nodata, undetect, fillvalue)
- add cf attributes when reading GAMIC files (
523
) by @kmuehlbauer - fix regression in legacy GAMIC reader (
523
) by @kmuehlbauer - catch dt.accessor TypeError (
529
) by @kmuehlbauer - fix thread-lock issue, if dask is not installed (
531
) by @kmuehlbauer - use int instead np.int in radolan header parser (
531
) by @kmuehlbauer - fix several tests (
531
) by @kmuehlbauer - other minor fixes distributed over several PR's
- withdrawn, please use 1.13.0.
New features
- add support for RADOLAN HG product (
495
) by @v4lli - add %M, %J and %Y RADOLAN products (
504
) (517
) by @kmuehlbauer
Maintenance
- rename master -> main
- fix docstrings (links, types, minor issues) (
518
) by @kmuehlbauer - add .git-blame-ignore-revs (
519
) by @kmuehlbauer
Bugfixes
- minor fixes in GAMIC and CfRadial readers (
492
) by @kmuehlbauer - use default values for ODIM/OPERA what-group (
496
) by @kmuehlbauer - do not restrict variables, but read all variables for Cf/Radial1 data (
497
) by @kmuehlbauer - correct calculation of angle resolution in ODIM/GAMIC xarray readers reported by @TiemoMathijssen (
501
) by @kmuehlbauer - add mode-kwarg to radolan coordinates/grid functions (
499
) reported by @gogglesguy (502
) by @kmuehlbauer - add kwarg origin and FutureWarning to IRIS CartesianImage reader (
493
) (503
) by @kmuehlbauer - remove unnecessary gridshape kwarg from docstring in CartesianVolume (
444
) by @fuxb (505
) by @kmuehlbauer - correctly handle single/multiple elevations in wradlib.vis.plot_scan_strategy (
507
) by @kmuehlbauer - fix ODIM xarray reader issues (
513
), (514
) (515
) by @kmuehlbauer - mention dask in all open*_mfdataset functions (
510
) by @Guruprasadhegde (516
) by @kmuehlbauer
New features
- add ODIM/GAMIC/CfRadial backends for
Xarray
(487
) by @kmuehlbauer - add RADOLAN backend for
Xarray
(480
) by @kmuehlbauer - decode IRIS
DB_XHDR
as numpy structured array (362
) (488
) by @kmuehlbauer
Maintenance
- move CI to GitHub Actions (
477
) by @kmuehlbauer - create/use earthdata credentials for srtm data (
481
) by @kmuehlbauer - address numpy DeprecationWarnings (
479
) by @kmuehlbauer
Bugfixes
- fix _FillValue and GAMIC dynamic range (
486
) by @kmuehlbauer - fix doctest example in vpr-module (
478
) by @kmuehlbauer - fix handle kwarg change scipy.cKDTree (
474
) by @kmuehlbauer
New features
- make wradlib.io capable of consuming file-like objects (
448
) (469
) by @kmuehlbauer - read truncated RADOLAN composites (reported by @franzmueller) (
471
) by @franzmueller and @kmuehlbauer
Maintenance
- use micromamba on CI to save CI time (
457
) (452
,464
,465
,470
) by @kmuehlbauer - add Python 3.9 builds to all CI (
463
) by @kmuehlbauer - adapt to new tsring handling in h5py >= 3.0 (
468
) by @kmuehlbauer
Bugfixes
- add capability to decode old DX header (
455
) reported by @GolGosh (467
) by @kmuehlbauer - simplify dimension angle handling ODIM/GAMIC (
462
) by @kmuehlbauer
New features
- add WN product size (1200,1000) to radolan grid, add test for correct reference point (lower left) (
448
) reported by @julste (449
) by @kmuehlbauer - add WN and YW products to radolan to xarray converter (
450
) by @kmuehlbauer
Maintenance
- remove deprecated and unused code and handle upstream deprecations (
450
) by @kmuehlbauer
Bugfixes
- fix srtm downloads windows path issues and region selection (
445
) by @kmuehlbauer - make georeference_dataset work with ND datasets (
446
) by @kmuehlbauer
Bugfixes
- update vis.plot_scan_strategy() (
441
) originally reported at wradlib-users group by @pandasambit15 (442
) by @jorahu and @kmuehlbauer - add switch to keep elevation data unaltered (DWD terrain following scan) (
437
,443
) by @kmuehlbauer
Bugfixes
- always translate ODIM attributes to CF attributes (
373
,438
) by @kmuehlbauer - specify keys (sweep_groups) which should be saved using to_netcdf (
440
) by @kmuehlbauer
Maintenance
- pin isort (
438
) by @kmuehlbauer
Bugfixes
- rework ODIM RHI elevation angle retrieval (
435
) by @kmuehlbauer
Maintenance
- use pytest for testing, implement "@require_data" to be able to run tests in case of missing wradlib-data (
434
) by @kmuehlbauer - enhance azure ci workflow by adding flake8 linter and uploading coverage (
436
) by @kmuehlbauer - minor changes to README.md
Maintenance
- add azure CI tests
- code formatting according to black/isort/flake8, add setup.cfg
- add show_versions
- use new semver parse
- add github templates
- all above done in (
432
) by @kmuehlbauer
Highlights
- implement generalized :py
util.derivate
function with improved NaN-handling (419
,423
) by @kmuehlbauer - complete rework of phidp/kdp estimation code (Vulpiani) including new keyword-parameters, handling of ndimensional arrays, using
scipy.integrate.cumtrapz
instead ofnp.cumsum
(412
,422
) by @kmuehlbauer - new interpolators on regular grids (
390
,429
,430
) by @egouden and @kmuehlbauer
New features
- reimplement dp.linear_despeckle as :py
util.despeckle
(420
) by @kmuehlbauer - read RHI in ODIM reader (
424
) by @kmuehlbauer - new :py
.get_earth_projection
and :py.get_radar_projection
functions (379
) by @egouden - new convenience functions :py
.set_raster_indexing
and :py.set_coordinate_indexing
(429
) by @kmuehlbauer - implement rainrate decoder to iris reader (
428
) by @tsmsalper
Bugfixes
- correct padding and nan-filling for multidimensional arrays in
dp.texture
(418
) by @kmuehlbauer - introduce
call_kwargs
in :pycomp.togrid
(373
) reported by @jorahu (425
) by @kmuehlbauer
- re-add removed IRIS features (
415
,416
) by @kmuehlbauer
- use LooseVersion to check for dependency matching (
413
,414
) by @kmuehlbauer
Highlights
- improvements of georef.raster module (
376
) by @egouden - implement multi-file ODIMH5-reader/writer (
397
,409
and410
) by @kmuehlbauer and @egouden - simplify zr-module, add handling of multidimensional arrays (
408
) by @kmuehlbauer - use __all__ in submodules (georef, io) to specify exported/documented functions (
386
,388
) by @kmuehlbauer
New features
- add STATUS product to Iris/Sigmet reader (
378
) by @kmuehlbauer - improvements of georef.raster module (
376
) by @egouden - add PRF and NSAMPLES to ODIM reader (
393
) by @kmuehlbauer - refactor code into assign_root-function (
393
) by @egouden - add ODIM WRAD moment (
406
) by @kmuehlbauer
Bugfixes
- apply correct decoding of VEL, WIDTH and KDP IrisCartesianProductFile (
378
) by @kmuehlbauer - add missing requests dependency to CI (
374
) by @s-m-e - correct error in documentation of sweep_centroids (
383
) by @ElmerJeanpierreLopez - adapt georef.polar.sweep_centroids to only use angles in degrees (
385
) by @kmuehlbauer - work around issue, where ODIM startime == endtime (
391
) by @kmuehlbauer - improve handling of equal sized dimensions (
393
) by @kmuehlbauer - use xarray Dataset.drop_vars instead of deprecated Dataset.drop (
398
) by @kmuehlbauer - use xarray.Dataset.rename instead of rename_dims (
402
) by @kmuehlbauer - add missing +-sign in projection string (
405
) by @kmuehlbauer - fix filter_cloudtype (low cloud switch removes everything) (
401
) by @egouden - use Dataset.swap_dims instead of rename (
406
) by @kmuehlbauer
Highlights
- consolidation of xarray based functionality, bugfixing, feature adding
- speedup zonal statistics by using /vsimem, by creation of spatial and attribute index files as well as by faster reading of attributes and properties
New features
- make OdimH5 reader accept list of files and merge into one structure
- make chunks available for transparently use dask with OdimH5 and CfRadial readers
- make gdal3 compatible (added by @egouden)
- use loaddata='xarray' kwargs to output data as Xarray Dataset in read_radolan_composite
- CI: add Appveyor to run test-suite under Windows OS
Bugfixes
- use importlib in import_optional, correct multidimensional calling in gradient_along_axis
- several fixes for OdimH5 and Cf/Radial readers/writers
- set destination projection to destination dataset in reproject_raster_dataset (spotted by wradlib-forum)
Highlights
- read sigmet/iris ingest files, redesign of sigmet reader (suggested by @aschueth)
- enhance/rewrite fuzzy echo classifier (implemented with @overeem11)
New features
- parametrize xarray based OdimH5-reader (suggested by @egouden)
- add depolarization ratio calculation (implemented by @overeem11)
- add script for test profiling (added by @egouden)
Bugfixes
- remove unnecessary seek in radolan-reader (suggested by @PPazderski)
- correct handling of edge cases in dp.texture processing (spotted by @overeem11)
- correct decoding of DB_FLIQUID2 (sigmet-reader) (implemented by @ckaradavut)
- correct handling of non-precip in 2D hmc (spotted by and fixed with @bzohidov)
- fix semver handling and install process (suggested by @s-m-e)
- fix import for MutableMapping (added by @zssherman)
Highlights
- wradlib is considered Python3 only working with Python >= 3.6
- xarray-powered reader/writer for Cf/Radial 1.X and 2.0 as well as ODIM_H5
- xarray-powered plotting using DataArray via xarray-DataArray Accessor
New features
- creation of xarray DataArray from spherical coordinates and radar data
- update test machinery to use pytest (mainly CI use)
- correctly apply semver
Bugfixes
- beamblockage calculation, precisely detect clear or blocked beam
- catch HTTPError in test_radiosonde, graceful skip test
- spherical_to_xyz better aligns with input dimensions
Highlights
- significantly speed up functions using interpolation classes
- add classify module including 2d membershipfunctions hydrometeor classification
- fix conformance, correctness and consistency issues in wradlib-docs (thanks @CAM-Gerlach)
New features
- add new header token VR and U to radolan header parser
- add load_vector-method to zonaldata.DataSource
- enable zonaldata.ZonaldataBase to take DataSource objects as parameters
- add get_radiosonde to io.misc to retrieve radiosonde data from internet
- add minalt keyword argument to vpr.make_3d_grid
Bugfixes
- update links, fix typos, improve CI workflow
- fix bug in all adjustment classes when checking for None
- show angle axis curvelinear grid again
- align docstring with actual code and use sweep in iris-reader
Highlights
- use with-statement in rainbow-reader
- fix in gpm-reader and rainbow_reader
- fix issues with cg-plot in vis-module
- fix in gdal/ogr exception handling
- update in versioning/release procedure
- automatic build of devel-docs
Highlights
- export
notebooks
into dedicated wradlib-notebooks - export
doc
into dedicated wradlib-docs - complete rewrite of CI-integration
- complete rework of modules
Versions before 1.0.0 are available from the wradlib-old repository.