Skip to content

Commit bf03ab8

Browse files
authored
REL: 0.6.0 (#186)
* REL: 0.6.0 * DOC: add hpl automodule directive * MNT: add bobby and daniel to AUTHORS.md, fix CITATION.cff for new release * MNT: set release date to 2024-08-05 * MNT: fix StreamLine HPL automodule header * add orcids * fix AUTHORS.md
1 parent 78521f6 commit bf03ab8

File tree

5 files changed

+41
-22
lines changed

5 files changed

+41
-22
lines changed

AUTHORS.md

+2
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@
1111
* Edouard Goudenhoofdt <[email protected]>
1212
* Hamid Ali Syed <[email protected]>
1313
* Alfonso Ladino <[email protected]>
14+
* Bobby Jackson <[email protected]>
15+
* Daniel Wolfensberger <[email protected]>

CITATION.cff

+12-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
cff-version: 1.0.3
44
message: If you use this software, please cite it using these metadata.
55
# FIXME title as repository name might not be the best name, please make human readable
6-
title: 'openradar/xradar: xradar v0.4.0'
6+
title: 'openradar/xradar: xradar v0.6.0'
77
doi: 10.5281/zenodo.7091737
88
# FIXME splitting of full names is error prone, please check if given/family name are correct
99
authors:
@@ -27,7 +27,16 @@ authors:
2727
family-names: Ladino
2828
affiliation: University of Illinois at Urbana Champaign
2929
orcid: https://orcid.org/0000-0001-8081-7827
30-
version: 0.4.0
31-
date-released: 2023-09-27
30+
- given-names: Robert
31+
family-names: Jackson
32+
affiliation: Argonne National Laboratory
33+
orcid: https://orcid.org/0000-0003-2518-1234
34+
- given-names: Daniel
35+
family-names: Wolfensberger
36+
affiliation: Federal Office of Meteorology and Climatology MeteoSwiss
37+
orcid: https://orcid.org/0009-0006-1419-0556
38+
39+
version: 0.6.0
40+
date-released: 2024-08-05
3241
repository-code: https://github.com/openradar/xradar
3342
license: MIT

docs/history.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# History
22

3-
## Development Version (unreleased)
3+
## 0.6.0 (2024-08-05)
44

55
* ADD: DataMet reader ({pull}`175`) by [@wolfidan](https://github.com/wolfidan).
66
* FIX: Nexrad level2 time offset of 1 day, skip reading missing elevations, introduce new radial_status of 5

xradar/io/backends/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
.. automodule:: xradar.io.backends.furuno
1616
.. automodule:: xradar.io.backends.rainbow
1717
.. automodule:: xradar.io.backends.iris
18+
.. automodule:: xradar.io.backends.hpl
1819
.. automodule:: xradar.io.backends.nexrad_level2
1920
.. automodule:: xradar.io.backends.datamet
2021

xradar/io/backends/hpl.py

+25-18
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,42 @@
1-
"""
2-
Conversion tool for StreamLine .hpl files into netCDF (.nc) files:
3-
4-
- hpl2dict(): import .hpl files and save as dictionary
5-
- hpl_to_netcdf(): save .hpl files into level0 (l0) .nc files
6-
- to_netcdf_l1(): correct raw data (l0) and create level1 (l1) netCDF files
1+
#!/usr/bin/env python
2+
# Copyright (c) 2024, openradar developers.
3+
# Distributed under the MIT License. See LICENSE for more info.
74

85
"""
96
10-
import io
7+
StreamLine HPL
8+
==============
119
12-
import numpy as np
13-
import pandas as pd
14-
import xarray as xr
10+
This sub-module contains the StreamLine HPL xarray backend for reading StreamLine-based lidar
11+
data into Xarray structures.
1512
16-
"""
1713
Import of StreamLine .hpl (txt) files and save locally in directory. Therefore
1814
the data is converted into matrices with dimension "number of range gates" x "time stamp/rays".
1915
In newer versions of the StreamLine software, the spectral width can be
2016
stored as additional parameter in the .hpl files.
17+
18+
.. autosummary::
19+
:nosignatures:
20+
:toctree: generated/
21+
22+
{}
23+
2124
"""
2225

26+
__all__ = [
27+
"HPLBackendEntrypoint",
28+
"open_hpl_datatree",
29+
]
30+
31+
__doc__ = __doc__.format("\n ".join(__all__))
32+
33+
import io
2334
from collections import OrderedDict
2435
from datetime import datetime, timedelta
2536

37+
import numpy as np
38+
import pandas as pd
39+
import xarray as xr
2640
from datatree import DataTree
2741
from xarray.backends.common import AbstractDataStore, BackendArray, BackendEntrypoint
2842
from xarray.backends.file_manager import CachingFileManager
@@ -40,13 +54,6 @@
4054
)
4155
from .common import _assign_root, _attach_sweep_groups
4256

43-
__all__ = [
44-
"HPLBackendEntrypoint",
45-
"open_hpl_datatree",
46-
]
47-
48-
__doc__ = __doc__.format("\n ".join(__all__))
49-
5057
variable_attr_dict = {}
5158
variable_attr_dict["intensity"] = {
5259
"long_name": "Backscatter intensity",

0 commit comments

Comments
 (0)