Skip to main content

common utilities for analysing data from the EUREC4A field campaign

Project description

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

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

eurec4a-0.0.6.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

eurec4a-0.0.6-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file eurec4a-0.0.6.tar.gz.

File metadata

  • Download URL: eurec4a-0.0.6.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for eurec4a-0.0.6.tar.gz
Algorithm Hash digest
SHA256 626c2edf9a74bd2fa567508dd5854ae3bc3bb937cc1d4d53e3d91d83612d2cdb
MD5 39c451ba3f64391c5d87c2a6171ca31e
BLAKE2b-256 28f25320b53235d7b4683b98119d5e46dd33cf288da5e498a08d4db408066357

See more details on using hashes here.

File details

Details for the file eurec4a-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: eurec4a-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for eurec4a-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 e877a5f87d3cdbfea3e1560c1feb34721d0b30ddaa6f5f7a869f7a020fa20fca
MD5 cb444dd005c87659a596438ff6d90d8e
BLAKE2b-256 c3a782e2ab58b30fff22b8b4a83ab607f3616dc2f86fadb09062c5d1bc7b0eab

See more details on using hashes here.

Supported by

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