galsci / pysm

PySM 3: Sky emission simulations for Cosmic Microwave Background experiments
https://pysm3.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
36 stars 23 forks source link

Support local data path #52

Closed zonca closed 4 years ago

zonca commented 4 years ago

Port local folder lookup from so_pysm_models to PySM:

https://github.com/simonsobs/so_pysm_models/blob/master/so_pysm_models/utils/__init__.py#L47

but also support an environment variable.

Add also docs on how to clone the data.

Related to https://github.com/hpc4cmb/toast/issues/330