marss 0.0.3

Mars celestial simulation crate for the MilkyWay SolarSystem workspace
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use marss::atmosphere::climate::MarsClimateState;

fn main() {
    let climate = MarsClimateState::current();
    println!("Mars climate baseline:");
    println!("  Mean temperature: {:.1} K", climate.global_mean_temp_k);
    println!(
        "  Surface pressure: {:.1} Pa",
        climate.co2_surface_pressure_pa
    );
    println!("  Dust optical depth: {:.2}", climate.dust_optical_depth);
    println!(
        "  Greenhouse effect: {:.2} K",
        climate.greenhouse_effect_k()
    );
    println!("  Energy imbalance: {:.2} W/m²", climate.energy_imbalance());
}