ci

ci#

CI tools

Functions

assert_dir_equal(path_1, path_2)

Assert that two directories are equal.

assert_field(dict_1, dict_2, field)

Compare two fields of a dictionary

assert_files_equal(file_1, file_2)

Assert to files are equal by hashing its content

assert_geom_almost_equal(geom_1, geom_2[, ...])

Assert that two geometries are equal (do not check equality between geodataframe as they may differ on other fields).

assert_geom_equal(geom_1, geom_2[, ignore_z])

Assert that two geometries are equal (do not check equality between geodataframe as they may differ on other fields).

assert_html_equal(xml_elem_1, xml_elem_2)

Assert that 2 XML (as etree Elements) are equal.

assert_meta(meta_1, meta_2[, tf_precision])

Compare rasterio metadata

assert_raster_almost_equal(path_1, path_2[, ...])

Assert that two rasters are almost equal.

assert_raster_almost_equal_magnitude(path_1, ...)

Assert that two rasters are almost equal, with the decimal taken on the scientif representation of the array.

assert_raster_equal(path_1, path_2)

Assert that two rasters are equal.

assert_raster_max_mismatch(path_1, path_2[, ...])

Assert that two rasters are almost equal.

assert_val(val_1, val_2, field)

Compare two values corresponding to a field

assert_xml_equal(xml_elem_1, xml_elem_2)

Assert that 2 XML (as etree Elements) are equal.

assert_xr_encoding_attrs(xda_1, xda_2[, ...])

Assert that the attributes and the encoding of xarray.DataArray/set are the same

define_s3_client()

Deprecated since version 1.30.0.

get_db2_path()

Deprecated since version 1.30.0.

get_db3_path()

Deprecated since version 1.30.0.

get_db4_path()

Deprecated since version 1.30.0.

reduce_verbosity([other_loggers])

Reduce verbosity for other loggers (setting them to WARNING)

s3_env(*args, **kwargs)

Deprecated since version 1.30.0.