Exemplo n.º 1
0
 def load(self):
     return load_model_shc_combined(
         CHAOS5_STATIC,
         CHAOS5_CORE_V4,
         to_mjd2000=decimal_year_to_mjd2000_simple,
         validity_start=1999.0,
         validity_end=2015.0)
Exemplo n.º 2
0
class TestComposedModelFull(TestCase, ComposedModelTestMixIn):
    parameters = ("time", "location", "f107", "subsolar_point")
    options = {"f107": 70, "scale": [1, 1, -1]}
    components = [
        (
            load_model_shc_combined(CHAOS7_STATIC, CHAOS7_CORE_LATEST), 1.0, {}
        ),
        (load_model_swarm_mma_2c_internal(CHAOS_MMA_TEST_DATA), 1.0, {}),
        (load_model_swarm_mma_2c_external(CHAOS_MMA_TEST_DATA), 1.0, {}),
        (load_model_swarm_mio_internal(SWARM_MIO_SHA_2_TEST_DATA), 1.0, {}),
        (load_model_swarm_mio_external(SWARM_MIO_SHA_2_TEST_DATA), 1.0, {}),
    ]
    reference_values = (
        6201.125, (30.0, 40.0, 6400.0), # below ionosphere r < (a + h)
        (30291.199879280495, 2262.1065657195545, 31770.55085707301)
    )
    validity = (6179.00000, 6209.979167)
Exemplo n.º 3
0
class TestComposedModelDiffConstrained(TestCase, ComposedModelTestMixIn):
    parameters = ("time", "location")
    options = {"scale": [1, 1, -1]}
    components = [
        (
            load_model_shc_combined(CHAOS7_STATIC, CHAOS7_CORE_LATEST), 1.0,
            {"max_degree": 15}
        ),
        (
            load_model_shc(CHAOS7_CORE_LATEST), -1.0,
            {"min_degree": 5, "max_degree": 15}
        ),
    ]
    reference_values = (
        6201.125,
        (30.0, 40.0, 6400.0),
        (31513.033550872005, 2660.4395297707433, 30568.076139868404)
    )
    validity = (-1057.77, 7416.1176)
Exemplo n.º 4
0
class TestComposedModelFull(TestCase, ComposedModelTestMixIn):
    parameters = ("time", "location", "f107", "subsolar_point")
    options = {"f107": 70, "scale": [1, 1, -1]}
    components = [
        (load_model_shc_combined(
            CHAOS6_STATIC,
            CHAOS6_CORE_LATEST,
            to_mjd2000=decimal_year_to_mjd2000_simple,
        ), 1.0, {}),
        (load_model_swarm_mma_2c_internal(CHAOS_MMA_TEST_DATA), 1.0, {}),
        (load_model_swarm_mma_2c_external(CHAOS_MMA_TEST_DATA), 1.0, {}),
        (load_model_swarm_mio_internal(SWARM_MIO_SHA_2_TEST_DATA), 1.0, {}),
        (load_model_swarm_mio_external(SWARM_MIO_SHA_2_TEST_DATA), 1.0, {}),
    ]
    reference_values = (
        6201.125,
        (30.0, 40.0, 6400.0),  # below ionosphere r < (a + h)
        (30289.26960669176, 2254.2152561714115, 31788.9069112966))
    validity = (6179.00000, 6209.979167)
Exemplo n.º 5
0
class TestComposedModelDiffConstrained(TestCase, ComposedModelTestMixIn):
    parameters = ("time", "location")
    options = {"scale": [1, 1, -1]}
    components = [
        (load_model_shc_combined(CHAOS6_STATIC,
                                 CHAOS6_CORE_LATEST,
                                 to_mjd2000=decimal_year_to_mjd2000_simple),
         1.0, {
             "max_degree": 15
         }),
        (load_model_shc(CHAOS6_CORE_LATEST,
                        to_mjd2000=decimal_year_to_mjd2000_simple), -1.0, {
                            "min_degree": 5,
                            "max_degree": 15
                        }),
    ]
    reference_values = (6201.125, (30.0, 40.0, 6400.0),
                        (31513.116189124143, 2660.4562533211647,
                         30567.71751831368))
    validity = (-1058.4945, 6976.49415)
Exemplo n.º 6
0
 def load(self):
     return load_model_shc_combined(
         CHAOS7_CORE_LATEST, CHAOS7_STATIC,
         validity_start=2000.0, validity_end=2018.0
     )
Exemplo n.º 7
0
 def load(self):
     return load_model_shc_combined(CHAOS7_CORE_LATEST, CHAOS7_STATIC)
Exemplo n.º 8
0
 def load(self):
     return load_model_shc_combined(
         CHAOS6_CORE_LATEST, CHAOS6_STATIC,
         validity_start=2000.0, validity_end=2018.0
     )
Exemplo n.º 9
0
 def load(self):
     return load_model_shc_combined(CHAOS6_CORE_LATEST, CHAOS6_STATIC)
Exemplo n.º 10
0
 def load(self):
     return load_model_shc_combined(
         CHAOS5_STATIC, CHAOS5_CORE_V4,
         to_mjd2000=decimal_year_to_mjd2000_simple,
         validity_start=1999.0, validity_end=2015.0
     )
Exemplo n.º 11
0
 def load(self):
     return load_model_shc_combined(
         CHAOS5_STATIC, CHAOS5_CORE_V4,
         to_mjd2000=decimal_year_to_mjd2000_simple,
     )
Exemplo n.º 12
0
 def load(self):
     return load_model_shc_combined(
         CHAOS5_STATIC,
         CHAOS5_CORE_V4,
         to_mjd2000=decimal_year_to_mjd2000_simple,
     )