easysnowdata.config.region#

easysnowdata.config.region(*, probe: bool = False, refresh: bool = False) Region[source]#

Return the compute Region, detecting it once per process.

Parameters:
  • probe – Also query the EC2 instance-metadata service (200 ms timeout) when the environment and DMI files say “AWS” but not which region. Loaders pass probe=True on first Earthdata use; import-time callers do not.

  • refresh – Discard the cached answer and detect again.