geocube.cli package

geocube

Top-level command and entry point into the GeoCube CLI

geocube [OPTIONS] COMMAND [ARGS]...

Options

-v, --version

Show the current version

--show-versions

Show debugging version information

Commands

make-geocube

Utility to load vector data into the…

geocube make_geocube

Utility to load vector data into the xarray raster format.

geocube make_geocube [OPTIONS] VECTOR_DATA OUTPUT_FILE

Options

-i, --interpolate-na-method <interpolate_na_method>

This is the method for interpolation to use to fill in the nodata.

Options:

linear | nearest | cubic

-gb, --group-by <group_by>

When specified, perform basic combining/reducing of the data on this column.

-f, --fill <fill>

The value to fill in the grid with for nodata. Default is NaN.

-l, --like <like>

Uses the netCDF file output of a previous load() to form the basis of a request for another product.

-g, --geom <geom>

GeoJSON string for the bounding box of the data used to construct the grid.

-a, --align <align>

Load data such that point ‘align’ lies on the pixel boundary. Default is (0, 0).

-r, --resolution <resolution>

A tuple of the spatial resolution of the returned data. Ex. -r -10 10.

-c, --output-crs <output_crs>

The CRS of the returned data. (e.g. epsg:4326). If no CRS is supplied, the CRS of the input data is used.

-m, --measurements <measurements>

Measurement subset to load in.

Arguments

VECTOR_DATA

Required argument

OUTPUT_FILE

Required argument