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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file gribdoctor-0.0.2dev.tar.gz
.
File metadata
- Download URL: gribdoctor-0.0.2dev.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9a045a8fbabe583b04fce20bb510c868b822cf5a197fe69e95ad27b49205b2b |
|
MD5 | 025f7f20a84155a96fba5a39f48eee4e |
|
BLAKE2b-256 | b112db1055f9a600c6f718437cda6164763355ed2e9c1a5567fdfe05529041dd |