Configuration#

easysnowdata.config#

Runtime configuration: quiet mode, interactivity, cache directory, compute region.

Everything here is cheap and network-free unless explicitly asked (region() with probe=True), so it is safe to call at import time (design contract §2.9).

Environment variables#

EASYSNOWDATA_QUIET

1/true silences the one-line credential summary printed on import.

EASYSNOWDATA_CACHE_DIR

Root of the download cache (default: the platform user cache directory).

EASYSNOWDATA_REGION

Overrides compute-region detection, e.g. us-west-2 on a Coiled or Kubernetes worker where the EC2 metadata service is blocked, or local to force HTTPS access.

quiet

Return True when EASYSNOWDATA_QUIET asks for no import-time output.

is_interactive

Return True in IPython/Jupyter, the Python REPL, or a terminal session.

cache_dir

Return (and create) the easysnowdata cache directory.

Region

Where this process runs, as far as data access is concerned.

region

Return the compute Region, detecting it once per process.

access_mode

"direct" for in-region S3 reads of NASA data, else "https".