write.py

class pycovjson.write.Writer(output_name: object, dataset_path: object, vars_to_write: object, tiled=False, tile_shape=[]) → object[source]

Writer class

Writer class constructor :param output_name: Name of output file :param dataset_path: Path to dataset :param vars_to_write: List of variables to write :param tiled: Boolean value (default False) :param tile_shape: List containing shape of tiles

save_covjson_tiled(obj, path)[source]

Skip indentation of certain fields to make JSON more compact but still human readable :param obj: :param path:

write()[source]

Writes Coverage object to disk