Skip to main content

wradlib-data

wradlib example data

This repository contains example data used by notebooks/examples from wradlib/wradlib.

Installing

We've moved the repository to use pooch for downloading and caching wradlib-data files locally. Please adapt your workflows.

  • Ensure the wradlib_data package is installed in your environment

    $ python -m pip install wradlib-data
    
    # or
    
    $ python -m pip install git+https://github.com/wradlib/wradlib-data@pooch
    
  • Import DATASETS and inspect the registry to find out which datasets are available

    In [1]: from wradlib_data import DATASETS
    
    In [2]: DATASETS.registry_files
    Out[2]: 
    ['dx/raa00-dx_10908-0806021655-fbg---bin.gz',
    ...
    'trmm/2A-RW-BRS.TRMM.PR.2A25.20100206-S111422-E111519.069662.7.HDF']  
    
  • To fetch a data file of interest, use the .fetch method and provide the filename of the data file. This will

    • download and cache the file if it doesn't exist already.
    • retrieve and return the local path.
      In [1]: from wradlib_data import DATASETS
      
      In [2]: filepath = DATASETS.fetch("furuno/0080_20210730_160000_01_02.scn.gz")
      Out[2]: 
      Downloading file 'dx/raa00-dx_10908-0806021655-fbg---bin.gz' from 'https://github.com/wradlib/wradlib-data/raw/main/data/dx/raa00-dx_10908-0806021655-fbg---bin.gz' to '/user/kmuehlbauer/.cache/wradlib-data'.
      
  • The datasets will be retrieved to your standard system cache-folder. To specify the location please set WRADLIB_DATA environment variable to the wanted path.

    • Linux:
      $ export WRADLIB_DATA=/path/to/wradlib-data
      
    • Windows:
      set WRADLIB_DATA C:\path\to\wradlib-data
      
      # or
      
      setx WRADLIB_DATA C:\path\to\wradlib-data
      

Usage

The provided data is used in wradlib notebooks and examples.

Metadata

Release files for wradlib-data 0.13.0

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

Source distribution (sdist)

Source distribution for wradlib-data 0.13.0
File Size Uploaded
wradlib_data-0.13.0.tar.gz 24.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wradlib-data 0.13.0
File Interpreter ABI Platform
wradlib_data-0.13.0-py3-none-any.whl Python 3 none any Details

Total release size: 44.4 kB

Release files / wradlib_data-0.13.0.tar.gz

Download URL wradlib_data-0.13.0.tar.gz
Size 24.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a8aa55e511f917fa9246d0328fc3c7f58fa1900dda67098fa45456c93cb76816
BLAKE2b-256 checksum
How to use checksums
c299c6ee4a5737f24fb8218a3df4118f181a296f8e2dd09eab91b1ad96a1c73f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / wradlib_data-0.13.0-py3-none-any.whl

Download URL wradlib_data-0.13.0-py3-none-any.whl
Size 20.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
875080e8bf48f76a0529a913f6f536994f35925cc52320662ee06d936d5fa4db
BLAKE2b-256 checksum
How to use checksums
b0f62f97953d41a70a26d11f546d6f70491cd3cdf1672f01744335cff09f82d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.13.0 This release

2 release files

0.12.0

2 release files

0.11.0

2 release files

0.10.0

2 release files

0.9.1

2 release files

0.9.0

2 release files

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