Skip to main content

EUREC4A python tools

This package aims to be a small collection of useful tools for the analysis of EUREC4A. There has been some discussion if this package should exist at all, because it might lead to a lock-in into python regarding the ease of use of EUREC4A-data and also many of the tools we are developing and using should not be EUREC4A exclusive. Thus, at least for now, we try to keep this package fairly minimal.

usage

The package provides a few function to obtain data from the eurec4a field campaign, use it as follows:

In [1]: import eurec4a

obtaining informations about flights and segments

In [2]: flightinfo = eurec4a.get_flight_segments()

In [3]: flightinfo["HALO"]["HALO-0119"]["takeoff"]
Out[3]: datetime.datetime(2020, 1, 19, 9, 34, 25)

accessing public datasets via the intake data catalog

In [6]: cat = eurec4a.get_intake_catalog()

In [7]: cat.radiosondes.ronbrown.to_dask()
Out[7]:
<xarray.Dataset>
Dimensions:      (alt: 3100, nv: 2, sounding: 329)
Coordinates:
  * alt          (alt) int16 0 10 20 30 40 50 ... 30950 30960 30970 30980 30990
    flight_time  (sounding, alt) datetime64[ns] dask.array<chunksize=(83, 775), meta=np.ndarray>
    lat          (sounding, alt) float32 dask.array<chunksize=(83, 1550), meta=np.ndarray>
    lon          (sounding, alt) float32 dask.array<chunksize=(83, 1550), meta=np.ndarray>
    sounding_id  (sounding) |S1000 dask.array<chunksize=(165,), meta=np.ndarray>
Dimensions without coordinates: nv, sounding
Data variables:
    N_gps        (sounding, alt) float32 dask.array<chunksize=(83, 1550), meta=np.ndarray>
    N_ptu        (sounding, alt) float32 dask.array<chunksize=(83, 1550), meta=np.ndarray>
    alt_bnds     (alt, nv) int16 dask.array<chunksize=(3100, 2), meta=np.ndarray>
    ascent_flag  (sounding) int16 dask.array<chunksize=(329,), meta=np.ndarray>
    dp           (sounding, alt) float32 dask.array<chunksize=(83, 1550), meta=np.ndarray>
    dz           (sounding, alt) float32 dask.array<chunksize=(83, 1550), meta=np.ndarray>
    launch_time  (sounding) datetime64[ns] dask.array<chunksize=(329,), meta=np.ndarray>
    m_gps        (sounding, alt) int16 dask.array<chunksize=(83, 1550), meta=np.ndarray>
    m_ptu        (sounding, alt) int16 dask.array<chunksize=(83, 1550), meta=np.ndarray>
    mr           (sounding, alt) float32 dask.array<chunksize=(83, 1550), meta=np.ndarray>
    p            (sounding, alt) float32 dask.array<chunksize=(83, 1550), meta=np.ndarray>
    platform_id  (sounding) int16 dask.array<chunksize=(329,), meta=np.ndarray>
    q            (sounding, alt) float32 dask.array<chunksize=(83, 1550), meta=np.ndarray>
    rh           (sounding, alt) float32 dask.array<chunksize=(83, 1550), meta=np.ndarray>
    ta           (sounding, alt) float32 dask.array<chunksize=(83, 1550), meta=np.ndarray>
    theta        (sounding, alt) float32 dask.array<chunksize=(83, 1550), meta=np.ndarray>
    u            (sounding, alt) float32 dask.array<chunksize=(83, 1550), meta=np.ndarray>
    v            (sounding, alt) float32 dask.array<chunksize=(83, 1550), meta=np.ndarray>
    wdir         (sounding, alt) float32 dask.array<chunksize=(83, 1550), meta=np.ndarray>
    wspd         (sounding, alt) float32 dask.array<chunksize=(83, 1550), meta=np.ndarray>
Attributes:
    Conventions:      CF-1.7
    acknowledgement:  The MPI-M is listed as the institute of first contact. ...
    campaign_id:      EUREC4A
    created_on:       Fri Jun 26 11:12:20 2020
    created_with:     batch_interpolate_soundings.py with its last modificati...
    doi:              10.25326/62
    featureType:      trajectory
    instrument:       Radiosonde RS41-SGP by Vaisala
    instrument_id:    Vaisala-RS
    platform_id:      RonBrown
    references:       Stephan et al. (2020): Ship- and island-based atmospher...
    title:            EUREC4A level 2 sounding data
    version:          v2.2.0

Metadata

Release files for eurec4a 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eurec4a 0.0.6
File Size Uploaded Provenance Actions
eurec4a-0.0.6.tar.gz 5.2 kB Without provenance Details for eurec4a-0.0.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for eurec4a 0.0.6
File Interpreter ABI Platform Actions
eurec4a-0.0.6-py3-none-any.whl Python 3 none any Details for eurec4a-0.0.6-py3-none-any.whl

Total release size: 9.1 kB

Release files / eurec4a-0.0.6.tar.gz

Download URL eurec4a-0.0.6.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
626c2edf9a74bd2fa567508dd5854ae3bc3bb937cc1d4d53e3d91d83612d2cdb
BLAKE2b-256 checksum
How to use checksums
28f25320b53235d7b4683b98119d5e46dd33cf288da5e498a08d4db408066357
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release files / eurec4a-0.0.6-py3-none-any.whl

Download URL eurec4a-0.0.6-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e877a5f87d3cdbfea3e1560c1feb34721d0b30ddaa6f5f7a869f7a020fa20fca
BLAKE2b-256 checksum
How to use checksums
c3a782e2ab58b30fff22b8b4a83ab607f3616dc2f86fadb09062c5d1bc7b0eab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Security for eurec4a 0.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page