Skip to main content

Analysis-ready climate data downloader and processor for custom regions

Project description

Varunayan

Varunayan Logo

A Python package for downloading and processing ERA5 climate data.

Installation

Clone the repo, then in the local directory:

pip install -e . 

Quick Start

Quickly extract ERA5 processed data with the help of varunayan from the command line:

  1. either by providing a GeoJSON file to define the area of interest
varunayan geojson --request-id "request_name" --variables "var1,var2,etc." --start "yyyy-mm-dd" --end "yyyy-mm-dd" --geojson "your_file.geojson" --dataset-type "dataset_type" --pressure-levels "pressure_level_1,pressure_level_2,etc." --freq "frequency" --res "resolution"
  1. or by providing a bounding box to define the area of interest
varunayan bbox --request-id "request_name" --variables "var1,var2,etc." --start "yyyy-mm-dd" --end "yyyy-mm-dd" --north "north_bound" --south "south_bound" --east "east_bound" --west "west_bound" --dataset-type "dataset_type" --pressure-levels "pressure_level_1,pressure_level_2,etc." --freq "frequency" --res "resolution"
  1. or by providing coordinates of the location
varunayan point --request-id "request_name" --variables "var1,var2,etc." --start "yyyy-mm-dd" --end "yyyy-mm-dd" --lat "latitude" --lon "longitude" --dataset-type "dataset_type" --pressure-levels "pressure_level_1,pressure_level_2,etc." --freq "frequency"

The arguments dataset-type (single by default), pressure-levels (empty by default), freq (hourly by default) and res (0.25 by default) are optional.

Example command for extracting pressure-level data for a bounding box

varunayan bbox --request-id "test" --variables "temperature,relative_humidity" --start "2024-01-1" --end "2024-01-15" --north 30 --south 20 --east 80 --west 70 --dataset-type pressure --pressure-levels "1000,900" --freq daily --res 0.25

Documentation

Please visit our documentation page for detailed documentation.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

varunayan-0.1.0.tar.gz (5.5 MB view details)

Uploaded Source

Built Distribution

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

varunayan-0.1.0-py3-none-any.whl (45.9 kB view details)

Uploaded Python 3

File details

Details for the file varunayan-0.1.0.tar.gz.

File metadata

  • Download URL: varunayan-0.1.0.tar.gz
  • Upload date:
  • Size: 5.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for varunayan-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2805cff1a0b90e6710cf348dd2ff5cfbea7cc6677bd71afb86f505d4f3d598aa
MD5 042022d249f29529ad82c8f50dae360f
BLAKE2b-256 c460e14c1c76882e6bfabe6379839c8b0b8994e5f455bdf94082f47549720311

See more details on using hashes here.

File details

Details for the file varunayan-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: varunayan-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 45.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for varunayan-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 21a5a939671f05bc116506fd5f030275ecc8dd8f383414aed1585437fd601a89
MD5 a7a15e70d9200d23e27d433b5c310809
BLAKE2b-256 f4b99037dcb44749f604dae4f6729293617ab08c255ab7a6419f63455168b4f7

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