get_partition_index#
- Catalog.get_partition_index(order: int, pixel: int) int#
Get the dask partition for a given HEALPix pixel
- Parameters:
- order: int
Order of HEALPix pixel
- pixel: int
HEALPix pixel number in NESTED ordering scheme
- Returns:
- int
The index of the partition with data at that pixel
- Raises:
- ValueError
If no data exists for the specified pixel