geodata.utils

Contents

geodata.utils#

Classes#

NpEncoder

Custom JSON encoder for NumPy data types, as the default JSON encoder does not handle them.

Functions#

make_optional_progressbar(show, prefix, max_value)

dummy_njit([f])

Dummy decorator for numba.njit. Handles the case when numba is not installed.

get_daterange(years, months)

Get the date range covering the entire years and months range.