Skip to main content

No project description provided

Project description

Doppy – Doppler wind lidar processing

CI PyPI version

Products

Instruments

  • HALO Photonics Streamline lidars (stare, wind)
  • Leosphere WindCube WLS200S (wind)
  • Leosphere WindCube WLS70 (wind)

Install

pip install doppy

Usage

Stare

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,
)

stare.write_to_netcdf(FILENAME)

Stare with depolarisation

import doppy

stare_depol = doppy.product.StareDepol.from_halo_data(
    co_data=LIST_OF_STARE_CO_FILE_PATHS,
    co_data_bg=LIST_OF_BACKGROUND_CO_FILE_PATHS,
    cross_data=LIST_OF_STARE_CROSS_FILE_PATHS,
    cross_data_bg=LIST_OF_BACKGROUND_CROSS_FILE_PATHS,
    bg_correction_method=doppy.options.BgCorrectionMethod.FIT,
    polariser_bleed_through=0,
)

stare_depol.write_to_netcdf(FILENAME)

Wind

import doppy

wind = doppy.product.Wind.from_halo_data(
    data=LIST_OF_WIND_SCAN_HPL_FILES,
)

# You can also pass instrument azimuth offset in degrees as an option
wind = doppy.product.Wind.from_halo_data(
    data=LIST_OF_WIND_SCAN_HPL_FILES,
    options=doppy.product.wind.Options(azimuth_offset_deg=30),
)

# For windcube wls200s use
wind = doppy.product.Wind.from_windcube_data(
    data=LIST_OF_VAD_NETCDF_FILES,
)

# For windcube wls70 use
wind = doppy.product.Wind.from_wls70_data(
    data=LIST_OF_RTD_FILES,
)

wind.write_to_netcdf(FILENAME)

Raw files

import doppy

# Halo
raws_hpl = doppy.raw.HaloHpl.from_srcs(LIST_OF_HPL_FILES)
raws_bg = doppy.raw.HaloBg.from_srcs(LIST_OF_BACKGROUND_FILES)
raw_system_params = doppy.raw.HaloSysParams.from_src(SYSTEM_PARAMS_FILENAME)

# Windcube WLS200S
raws_wls200s = doppy.raw.WindCube.from_vad_or_dbs_srcs(LIST_OF_VAD_NETCDF_FILES)

# Windcube WLS70
raws_wls70 = doppy.raw.Wls70.from_srcs(LIST_OF_RTD_FILES)

Project details


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.5.10.tar.gz (42.1 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

doppy-0.5.10-cp310-abi3-win_amd64.whl (892.1 kB view details)

Uploaded CPython 3.10+Windows x86-64

doppy-0.5.10-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ x86-64

doppy-0.5.10-cp310-abi3-macosx_11_0_arm64.whl (993.9 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

doppy-0.5.10-cp310-abi3-macosx_10_12_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file doppy-0.5.10.tar.gz.

File metadata

  • Download URL: doppy-0.5.10.tar.gz
  • Upload date:
  • Size: 42.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.11.5

File hashes

Hashes for doppy-0.5.10.tar.gz
Algorithm Hash digest
SHA256 d03d641e69ac561519e49cfa13724b820c3398a5ccaccab47870851f18c1f0dc
MD5 55f359e3aed207786a2bddfd7452034e
BLAKE2b-256 413dfcacd397f18617d7822149ab98423471a26f7fa81388652570c77da6e108

See more details on using hashes here.

File details

Details for the file doppy-0.5.10-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: doppy-0.5.10-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 892.1 kB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.11.5

File hashes

Hashes for doppy-0.5.10-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 04d61862b9e87d1b7ec7aea4935aca2fdc811928f9dbf12aefa1ce042bf10557
MD5 5d4aaf49b50c4d5a3039822652d91d7f
BLAKE2b-256 8c0caa342be143bc8a01ec6faa7145bf03f5d4c9b5fdad1fe193e9a6156feb87

See more details on using hashes here.

File details

Details for the file doppy-0.5.10-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for doppy-0.5.10-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ff0ce010e1d9e8248c4fd90af7137c3ef8f1662f6bf62f031a386256c279ee9a
MD5 f2892895b823b5c8157472324465aec2
BLAKE2b-256 9668eab200a6edaab27d37900fa3208c3138fe1a804702185c626a102744df58

See more details on using hashes here.

File details

Details for the file doppy-0.5.10-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for doppy-0.5.10-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1878b5ce9f5af054458933bef94d759ec116e7f10268d3e999746ba4c8f729f2
MD5 af0b17f77b6febbbf6c6c6247507363f
BLAKE2b-256 0873f518b005b972718524e6c8bb2fba9a7b953b6a24755aec686c51e6867fa7

See more details on using hashes here.

File details

Details for the file doppy-0.5.10-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for doppy-0.5.10-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 f1704f92513fe8e4af119904d19d55f25fd5e120a590f6544bc6072f6c3a8dea
MD5 141e40e8365141a5e2764a30a53accf2
BLAKE2b-256 0e6a1cdc67c31c41963f443ea4bcb3d6c36681ee11df6b3a5b5d1d8f460776b0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page