Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

gribdoctor
==========

Utility functions for handling quirks of weather data rasters in `grib2` format

Installation
-------
.. role:: console(code)
:language: console

:console:`pip install gribdoctor --pre`

Usage - smoosh
--------------

stack multiple gribs of the same or varying resolutions

:console:`Usage: gribdoctor smoosh [OPTIONS] [INPUTS]... OUTPUT`

OPTIONS:

:console:`-dev, --develoment Dev tag for experimental features`

:console:`-uw, --unwrap Unwrap GFS Rasters`

:console:`--help Show this message and exit.`

Use this subcommand to "smoosh" together any number of variable resolution gribs into one tiff. This also effectively performs the below :console:`globewrap` operation on all inputs if indicated with :console:`--unwrap`, and outputs a raster of 2x (due to unwrapping) the highest input resolution.

Usage - unwrap
--------------

:console:`gribdoctor unwrap [OPTIONS] INGRIB OUTRASTER`

OPTIONS

:console:`-bt, --bandtags Flag to indicate printing of band tags / band metadata to stdout`

:console:`-b, --bidx Bands to include in output raster. Default = all (use caution - you may inadvertently create ginourmous tif files)`

Many gridded weather GRIBs, such as NOAA's `Global Forecast System (GFS) <http://www.ncdc.noaa.gov/data-access/model-data/model-datasets/global-forcast-system-gfs>`_, cover a global extent of -0.5 to 359.5 (or similar, depending on resolution), with the antimeridian (-180 / 180) bisecting a column of pixels.
This routine upsamples, slices, and merges these rasters as to convert them to "standard" -180 to 180 extent global grids. Outputs to any raster format supported by `rasterio <https://github.com/mapbox/rasterio>`_.

Metadata

Release files for gribdoctor 0.1.0dev

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

Source distribution (sdist)

Source distribution for gribdoctor 0.1.0dev
File Size Uploaded Provenance
gribdoctor-0.1.0dev.tar.gz 4.0 kB Without provenance Details

Release files / gribdoctor-0.1.0dev.tar.gz

Download URL gribdoctor-0.1.0dev.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
83d4cbd7255d57ea8704051edca9e7a827830f8ae9cad5ea151a098c1130ae41
BLAKE2b-256 checksum
How to use checksums
15ffd8f336284a3b79e8e77784254484a53336c249ef12dd9b4c957d0543c029
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for gribdoctor 0.1.0dev

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