healpix_convert.ConvertStagingCache#

class healpix_convert.ConvertStagingCache(*, input_datatrees=<factory>, input_spatial=<factory>, input_spatial_groups=<factory>, output_spatial=<factory>, output_groups=<factory>)[source]#

Stores temporary data and objects reused during the conversion.

input_datatrees#

Input Zarr datasets opened as raw xarray.DataTree objects.

input_spatial#

Spatial information of input Zarr datasets (root group).

input_spatial_groups#

Spatial groups (to convert to HEALPix) in input datasets.

output_spatial#

Spatial information of the output HEALPix Zarr datasets.

output_groups#

Information about groups in the output Zarr dataset.

classmethod from_dict(value)[source]#

Create a new cache and populate it from a dictionary.

to_dict()[source]#

Return the cache content as a Python dictionary.

classmethod from_json(value)[source]#

Create a new cache and populate it from a JSON-formatted string.

to_json()[source]#

Return the cache content as a JSON-formatted string.