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.3.0.tar.gz
(33.5 kB
view hashes)
Built Distributions
doppy-0.3.0-cp310-abi3-win_amd64.whl
(806.3 kB
view hashes)
Close
Hashes for doppy-0.3.0-cp310-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c600ba615c017cd4d15f6d223c41bbbbd305a6ac827624708236e75b84857d41 |
|
MD5 | 35bae2873c70f1780a1d6282142c0527 |
|
BLAKE2b-256 | 3083c38d003a028d3e43fc2b6be003aecf7801b85b6c01953e0cc956132ae7c0 |
Close
Hashes for doppy-0.3.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd99aa263a61028ce410f71366b3e04c4f987ad3b89d4085b8b17d7b0a23d5cb |
|
MD5 | 26576f8507760dbe94708c0df2cc622f |
|
BLAKE2b-256 | 24926042f15c48b515480a7d02ee914a19c5a2041bd1cb94dab43374ebff9688 |
Close
Hashes for doppy-0.3.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c2637c34ac00695f6cd8ae28cfa646cfb878b21b747ed74674f58c811127818 |
|
MD5 | 4ef0546e7d50327ddf745be199c04821 |
|
BLAKE2b-256 | 6aa0d707dc40d8671127b8dc8625fbfd7dc32ff2154a3940117a5e277934ca23 |
Close
Hashes for doppy-0.3.0-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed50fd82696c5aac30aa573a0b616cca6cc5849f4653db8d86b8c4b8510e24b5 |
|
MD5 | 8e65346200dc6022cb29806c7797eb8d |
|
BLAKE2b-256 | 6c094d57c217a7264756449da8cbc27252965624d8a51adaf9b1e5cfff5ef0c9 |