hipscat.inspection.almanac_info
#
Module Contents#
Classes#
Container for parsed almanac information. |
- class AlmanacInfo[source]#
Container for parsed almanac information.
- catalog_info_object: hipscat.catalog.dataset.base_catalog_info.BaseCatalogInfo | None[source]#
- static get_default_dir() str [source]#
Fetch the default directory for environment variables.
This is set via the environment variable: HIPSCAT_ALMANAC_DIR
To set this in a linux-like environment, use a command like:
export HIPSCAT_ALMANAC_DIR=/data/path/to/almanacs
This will also attempt to expand any environment variables WITHIN the default directory environment variable. This can be useful in cases where:
$HIPSCAT_ALMANAC_DIR=$HIPSCAT_DEFAULT_DIR/almanacs/
- classmethod from_catalog_dir(catalog_base_dir: str, storage_options: Dict[Any, Any] | None = None) typing_extensions.Self [source]#
Create almanac information from the catalog information found at the target directory