Entry 3492

json to latex

   

Submitted by anonymous on April 2, 2010 at 9:48 p.m.
Language: JavaScript. Code size: 5.3 KB.

{
    "input":
    [
        {
            "desc": "TRIMIX DIVE TO 260",
            "num_gas_mixes" : 3,
            "gasmix_summary":[{"fraction_O2" : 0.15,
                               "fraction_He" : 0.45,
                               "fraction_N2" : 0.40},
                              {"fraction_O2" : 0.36,
                               "fraction_He" : 0.00,
                               "fraction_N2" : 0.64},
                              {"fraction_O2" : 1.0,
                               "fraction_He" : 0.00,
                               "fraction_N2" : 0.00}],
            "profile_codes":[
                {
                    "profile_code":1,
                    "starting_depth":0,
                    "ending_depth":260,
                    "rate":75,
                    "gasmix":1,
                    "setpoint":0.7
                },

                {
                    "profile_code":2,
                    "depth":260,
                    "run_time_at_end_of_segment":30,
                    "gasmix":1,
                    "setpoint":1.3
                },

                {
                    "profile_code":99,
                    "number_of_ascent_parameter_changes":3,

                    "ascent_summary":[{ "starting_depth":260,
                                        "gasmix":1,
                                        "rate":-30,
                                        "step_size":10,
                                        "setpoint":1.6
                                      },
                                      { "starting_depth":110,
                                        "gasmix":2,
                                        "rate":-30,
                                        "step_size":10,
                                        "setpoint":1.6
                                      },
                                      { "starting_depth":20,
                                        "gasmix":3,
                                        "rate":-10,
                                        "step_size":20,
                                        "setpoint":1.6
                                      }]
                }],
            "repetitive_code" : 1,
            "surface_interval_time_minutes":60
        },

        {
            "desc": "TRIMIX DIVE TO 260",
            "num_gas_mixes" : 3,
            "gasmix_summary":[{"fraction_O2" : 0.15,
                               "fraction_He" : 0.45,
                               "fraction_N2" : 0.40},
                              {"fraction_O2" : 0.36,
                               "fraction_He" : 0.00,
                               "fraction_N2" : 0.64},
                              {"fraction_O2" : 1.0,
                               "fraction_He" : 0.00,
                               "fraction_N2" : 0.00}],
            "profile_codes":[
                {
                    "profile_code":1,
                    "starting_depth":0,
                    "ending_depth":260,
                    "rate":75,
                    "gasmix":1,
                    "setpoint":0.7
                },

                {
                    "profile_code":2,
                    "depth":260,
                    "run_time_at_end_of_segment":30,
                    "gasmix":1,
                    "setpoint":1.3
                },

                {
                    "profile_code":99,
                    "number_of_ascent_parameter_changes":3,

                    "ascent_summary":[{ "starting_depth":260,
                                        "gasmix":1,
                                        "rate":-30,
                                        "step_size":10,
                                        "setpoint":1.6
                                      },
                                      { "starting_depth":110,
                                        "gasmix":2,
                                        "rate":-30,
                                        "step_size":10,
                                        "setpoint":1.6
                                      },
                                      { "starting_depth":20,
                                        "gasmix":3,
                                        "rate":-10,
                                        "step_size":20,
                                        "setpoint":1.6
                                      }]
                }],
            "repetitive_code" : 0
        }
    ],

    "altitude":{
        "Altitude_of_Dive":0,
        "Diver_Acclimatized_at_Altitude":"no",
        "Starting_Acclimatized_Altitude":0,
        "Ascent_to_Altitude_Hours":1,
        "Hours_at_Altitude_Before_Dive":2
    },

    "settings":{
        "Units":"fsw",
        "SetPoint_Is_Bar":true,
        "Altitude_Dive_Algorithm":"OFF",
        "Minimum_Deco_Stop_Time":1.0,
        "Critical_Radius_N2_Microns":0.8,
        "Critical_Radius_He_Microns":0.7,
        "Critical_Volume_Algorithm":"ON",
        "Crit_Volume_Parameter_Lambda":7500.0,
        "Gradient_Onset_of_Imperm_Atm":8.2,
        "Surface_Tension_Gamma":0.0179,
        "Skin_Compression_GammaC":0.257,
        "Regeneration_Time_Constant":20160.0,
        "Pressure_Other_Gases_mmHg":102.0
    }
}

This snippet took 0.01 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).