to_instant#

geobricks.to_instant(data, derivative=False, to_file=False)[source]#

Parameters#

dataTYPE

DESCRIPTION.

derivativeTYPE, optional

DESCRIPTION. The default is False.

to_filebool or path (str or pathlib.Path), default False

If True and if data is a path (str or pathlib.Path), the resulting dataset will be exported to a file with the same pathname and the suffix ‘_instant’. If to_file is a path, the resulting dataset will be exported to this specified filepath.

Returns#

inst_dsTYPE

DESCRIPTION.

If to_file argument is used, the resulting dataset can also be exported to a file.