Replication of Leighton and Murray's Behavior of Carbon Dioside and Other Volatiles on Mars. The two driver programs are cores.py, which executes the model across all available cores, and gui.py, which is used to visualize data.
File | Purpose |
---|---|
cores.py | Process model via leighton.py, but run across all available cores |
cores.dat | Default parameter file for cores.py |
driver.bat | Used to run leighton.py for a range of latitudes |
gui.py | User Interface for viewer.py |
kepler | Submodule with models for planetary motion and Solar irradiance |
leighton.py | Parse command line parameters and execute model. May be executed stand alone for testing (without cores.py) |
leighton.wpr | Project file for Wing IDE |
physics.py | Repository for physical laws and constants |
planet.py | Repository for basic data about planets |
solar_tests.py | Test code to exercise solar model from kepler |
thermalmodel.py | Slices of Mars' interior, together with model for heat flow |
utilities.py | Utility functions for log files, zipping lists, choosing colours for plots |
viewer.py | Used to plot data files produced by leighton.py and cores.py |
The code has been tested with Python 3.10.) (64-bit).
All calculations should use SI units, except in modules which communicate with the user, where customary units may be used (e.g. angles in degrees, days, months, etc.)