MESMER-group / mesmer

spatially-resolved ESM-specific multi-scenario initial-condition ensemble emulator
https://mesmer-emulator.readthedocs.io/en/latest/
GNU General Public License v3.0
24 stars 18 forks source link

set `__module__` on top-level public objects? #557

Open mathause opened 1 week ago

mathause commented 1 week ago

See pandas-dev/pandas#55178 for the discussion. This may help with the path of data handling functions https://mesmer-emulator.readthedocs.io/en/latest/generated/mesmer.core.grid.wrap_to_180.html#mesmer.core.grid.wrap_to_180

veni-vidi-vici-dormivi commented 1 week ago

Hm I see the benefit. I also had the problem of not being able to find things in numpy, but I agree that the user perspective is more important, and could help with #348

mathause commented 1 week ago

Unfortunately it does not help with the docs. vscode code jumping apparently still works

mathause commented 1 week ago

So the issue with the docs is that I want e.g. wrap_to_180 to be accessed as mesmer.grid while avoiding having a grid.py file in the mesmer folder. That is maybe exaggerated. So solutions would be