No project description provided
Project description
Doppy – Doppler wind lidar processing
Products
Instruments
- HALO Photonics Streamline lidars (stare, wind)
- Leosphere WindCube WLS200S (wind)
- Leosphere WindCube WLS70 (wind)
Install
pip install doppy
Usage
import doppy
stare = doppy.product.Stare.from_halo_data(
data=LIST_OF_STARE_FILE_PATHS,
data_bg=LIST_OF_BACKGROUND_FILE_PATHS,
bg_correction_method=doppy.options.BgCorrectionMethod.FIT,
)
(
doppy.netcdf.Dataset(FILENAME)
.add_dimension("time")
.add_dimension("range")
.add_time(
name="time",
dimensions=("time",),
standard_name="time",
long_name="Time UTC",
data=stare.time,
dtype="f8",
)
.add_variable(
name="range",
dimensions=("range",),
units="m",
data=stare.radial_distance,
dtype="f4",
)
.add_variable(
name="elevation",
dimensions=("time",),
units="degrees",
data=stare.elevation,
dtype="f4",
long_name="elevation from horizontal",
)
.add_variable(
name="beta_raw",
dimensions=("time", "range"),
units="sr-1 m-1",
data=stare.beta,
dtype="f4",
)
.add_variable(
name="beta",
dimensions=("time", "range"),
units="sr-1 m-1",
data=stare.beta,
dtype="f4",
mask=stare.mask,
)
.add_variable(
name="v",
dimensions=("time", "range"),
units="m s-1",
long_name="Doppler velocity",
data=stare.radial_velocity,
dtype="f4",
mask=stare.mask,
)
.add_scalar_variable(
name="wavelength",
units="m",
standard_name="radiation_wavelength",
data=stare.wavelength,
dtype="f4",
)
.add_attribute("serial_number", stare.system_id)
.add_attribute("doppy_version", doppy.__version__)
).close()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
doppy-0.2.4.tar.gz
(32.8 kB
view hashes)
Built Distributions
doppy-0.2.4-cp310-abi3-win_amd64.whl
(807.0 kB
view hashes)
Close
Hashes for doppy-0.2.4-cp310-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e828ef7d065ae55a4ad6b14ce500ed7d914e735f09a4f5c22f9fe6a7ed6d57a |
|
MD5 | 62ee535116af0f5285f2f2f19fd9c341 |
|
BLAKE2b-256 | 31b445f4194ae0fbbd4fdd90c674916b7e455e705c339a17fe7bb2302dc03e90 |
Close
Hashes for doppy-0.2.4-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f82e6398254674e57328f79252f84af2845960e0475cb57d1fdcb459b0187df |
|
MD5 | 322cadb859731e1ba0f56f972b25c50d |
|
BLAKE2b-256 | deca548e5d7c5286bc661612b96ea035a4af82eeb05334a35eb8e01e9123494e |
Close
Hashes for doppy-0.2.4-cp310-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33f54910a78c7e372d2c0d0cf447a25d5ac42b525c281a98429fa509e2800fbb |
|
MD5 | 99cfd9015b36bad99a185335e5ac5649 |
|
BLAKE2b-256 | f9ce00b69c62d3142e2803e72a25d3a0b9b251c0f16defc5f215ddbf879695bf |
Close
Hashes for doppy-0.2.4-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b926c778b4e05c2bbe61cef8ce90e8ec200054dccef12ec8b9d2ebb986051c3 |
|
MD5 | 4e8d0ea801362473c75485c87f107fee |
|
BLAKE2b-256 | 54ba19d338b5ee312fa0c5f85ffa67e7c155054eda85966cbc26e43578f7c07e |