From 1ef1ebe9d7a2e5629a89eac18f526c8ec1d589d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20M=C3=BChlbauer?= Date: Wed, 27 Sep 2023 14:28:51 +0200 Subject: [PATCH] Release 0.4.0 (#131) --- CITATION.cff | 2 +- README.md | 4 ++-- docs/history.md | 6 ++++-- docs/usage.md | 1 + xradar/io/export/cfradial1.py | 2 +- 5 files changed, 9 insertions(+), 6 deletions(-) diff --git a/CITATION.cff b/CITATION.cff index ce8a17a6..e6d50f9c 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -24,6 +24,6 @@ authors: affiliation: Purdue University orcid: https://orcid.org/0000-0002-7188-2544 version: 0.4.0 -date-released: 2023-09-26 +date-released: 2023-09-27 repository-code: https://github.com/openradar/xradar license: MIT diff --git a/README.md b/README.md index b94ee9d1..afe11b6d 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Xradar includes all the tools to get your weather radar into the xarray data mod ## About -At a developer meeting held in the course of the ERAD2022 conference in Locarno, Switzerland, future plans and cross-package collaboration of the openradarscience community were intensively discussed. +At a developer meeting held in the course of the ERAD2022 conference in Locarno, Switzerland, future plans and cross-package collaboration of the [openradarscience](https://openradar.discourse.group/) community were intensively discussed. The consensus was that a close collaboration that benefits the entire community can only be maximized through joint projects. So the idea of a common software project whose only task is to read and write radar data was born. The data import should include as many available data formats as possible, but the data export should be limited to the recognized standards, such as [ODIM_H5](https://www.eumetnet.eu/activities/observations-programme/current-activities/opera/) and [CfRadial](https://github.com/NCAR/CfRadial). @@ -29,7 +29,7 @@ Xradar is considered stable for the implemented readers and writers which have b ## Features -* Import CfRadial1 data +* Import/Export CfRadial1 data * Import/Export CfRadial2 data * Import/Export ODIM_H5 data * Import GAMIC HDF5 diff --git a/docs/history.md b/docs/history.md index 05ad0499..c6621283 100644 --- a/docs/history.md +++ b/docs/history.md @@ -1,10 +1,12 @@ # History -## development version +## 0.4.0 (2023-09-27) -* ENH: Add cfradial1 exporter ({issue}`124`) by [@syedhamidali](https://github.com/syedhamidali), ({pull}`126`) by [@syedhamidali](https://github.com/syedhamidali), improved by [@kmuehlbauer](https://github.com/kmuehlbauer) +* ENH: Add cfradial1 exporter ({issue}`124`) by [@syedhamidali](https://github.com/syedhamidali), ({pull}`126`) by [@syedhamidali](https://github.com/syedhamidali) * FIX: use datastore._group instead of variable["sweep_number"] ({issue}`121`) by [@aladinor](https://github.com/aladinor) , ({pull}`123`) by [@kmuehlbauer](https://github.com/kmuehlbauer) * MIN: use "crs_wkt" instead of deprecated "spatial_ref" when adding CRS ({pull}`127`) by [@kmuehlbauer](https://github.com/kmuehlbauer) +* FIX: always read nodata and undetect attributes from ODIM file ({pull}`125`) by [@egouden](https://github.com/egouden) +* MIN: use `cmweather` colormaps in xradar ({pull}`128`) by [@kmuehlbauer](https://github.com/kmuehlbauer). ## 0.3.0 (2023-07-11) * ENH: Add new examples using radar data on AWS s3 bucket ({pull}`102`) by [@aladinor](https://github.com/aladinor) diff --git a/docs/usage.md b/docs/usage.md index e0bb2c3a..4005cf93 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -26,6 +26,7 @@ notebooks/Accessors notebooks/CfRadial1_Model_Transformation notebooks/CfRadial1 +notebooks/CfRadial1_Export notebooks/ODIM_H5 notebooks/GAMIC notebooks/Furuno diff --git a/xradar/io/export/cfradial1.py b/xradar/io/export/cfradial1.py index 03415f5a..683986c7 100644 --- a/xradar/io/export/cfradial1.py +++ b/xradar/io/export/cfradial1.py @@ -272,7 +272,7 @@ def calculate_sweep_indices(dtree, dataset=None): def to_cfradial1(dtree=None, filename=None, calibs=True): """ - Convert a radar dtreeume dataset to the CFRadial1 format + Convert a radar datatree.DataTree to the CFRadial1 format and save it to a file. Parameters