FormingWorlds / JANUS

1-D prescribed atmosphere model of planetary atmospheres that makes use of the SOCRATES radiative transfer code.
https://proteus-code.readthedocs.io/
Apache License 2.0
1 stars 0 forks source link

Make Janus a PyPI package #15

Closed lsoucasse closed 1 month ago

lsoucasse commented 2 months ago

We would like to make JANUS a PyPI package to ease its integration into PROTEUS.

nichollsh commented 2 months ago

For JANUS to be made a PyPI package, it needs to be able to automatically compile SOCRATES.

For AGNI, which also uses SOCRATES, I've tried to make this a bit easier by adding a configure script. See files in this folder: https://github.com/nichollsh/AGNI/tree/main/socrates. The configure script generates a Mk_cmd file automatically, by locating the NetCDF libraries and adjusting things for your platform.

Maybe this is useful for JANUS.