Skip to content

API reference

Everything listed here is imported from grid_doctor (import grid_doctor as gd), unless the page names a submodule.

Page What it covers
Remapping regrid_to_healpix, compute_healpix_weights, apply_weight_file
Weights store cached_weights, WeightsStore and how weight files are named and shared
Pyramids create_healpix_pyramid, coarsen_healpix, resolution helpers
Point binning bin_to_healpix, sparse_to_dense
Writing stores save_pyramid, get_s3_options, chunk_for_target_store_size
Parallel writes init_pyramid_store, write_pyramid_task, check_pyramid_store and the manifest
Region selection select_bbox, select_cone, select_cells, attach_cell_coords
Metadata grid_doctor.metadata: the CF attributes and HEALPix metadata of the outputs
Configuration grid_doctor.config: ellipsoid and weights store settings
Types grid_doctor.types: type aliases for annotating your own code
Command line grid_doctor.cli and setup_logging