drivecasa.casa_env - Shell environment configuration

Convenience routines for manipulating shell environments.


Returns an environment dictionary configured for CASA execution.


  • casa_topdir: should either contain the top-level directory containing CASA installation, or be set to None if casa is already available from the default environment.


It’s not a bad idea to always specify the casa dir anyway, so you don’t have to rely on the environment paths being set up already.