Skip to main content

Utility functions for handling grib2s

Project description

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

Usage - unwrap

gribdoctor unwrap [OPTIONS] INGRIB OUTRASTER

OPTIONS

  • -bt, --bandtags Flag to indicate printing of band tags / band metadata to stdout

  • -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), 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.

Usage - smoosh

gribdoctor smoosh [INPUTS] OUTRASTER

Use this subcommand to “smoosh” together any number of (single band - for now) variable resolution gribs into one tiff. This also effectively performs the above globewrap operation on all inputs, and outputs a raster of 2x (due to wrapping) the highest input resolution.

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

gribdoctor-0.0.2dev.tar.gz (3.6 kB view details)

Uploaded Source

File details

Details for the file gribdoctor-0.0.2dev.tar.gz.

File metadata

File hashes

Hashes for gribdoctor-0.0.2dev.tar.gz
Algorithm Hash digest
SHA256 f9a045a8fbabe583b04fce20bb510c868b822cf5a197fe69e95ad27b49205b2b
MD5 025f7f20a84155a96fba5a39f48eee4e
BLAKE2b-256 b112db1055f9a600c6f718437cda6164763355ed2e9c1a5567fdfe05529041dd

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