Exemplo n.º 1
0
        'linestyle': '',
        'linewidth': 1.5,
        'marker': '.',
        'markersize': 3,
    },
    'pcolormesh': {
        'cmap': default_colormap,
    }
}

configured_variables = {}
visual = 'on'

####################################################################################################################
var_name = 'JE_e'
var = Var(ndim=1, variable_type='scalar', visual=visual)
# set variable attrs
var_config = {
    'name': var_name,
    'fullname': 'Integrated energy flux of electrons',
    'label': r'JE$_e$',
    'group': 'JE',
    'unit': r'eV/cm2/s/ster',
    'unit_label': r'eV$/$cm$^{2}/$s$/$ster',
    'error': None,
    'depends': {
        0: depend_0
    },
}
var.config(**var_config)
# set plot attrs
Exemplo n.º 2
0
configured_variables = {}
visual = 'on'

depend_0 = {
    'UT': 'SC_DATETIME',
    'GEO_LAT': 'SC_GEO_LAT',
    'GEO_LON': 'SC_GEO_LON',
    'AACGM_LAT': 'SC_AACGM_LAT',
    'AACGM_LON': 'SC_AACGM_LON',
    'AACGM_MLT': 'SC_AACGM_MLT'
}
# depend_c = {'SPECTRA': 'EMISSION_SPECTRA'}

####################################################################################################################
var_name = 'u_CROSS'
var = Var(name=var_name, ndim=1, variable_type='scalar', visual=visual)
# set variable attrs
var.fullname = 'Cross neutral wind'
var.label = r'$u_{cross}$'
var.unit = 'm/s'
var.unit_label = r'm/s'
var.group = r'$u$'
# var.error = var_name + '_err'
var.depends = {0: depend_0}
# set plot attrs
plot_config = var.visual.plot_config
plot_config.config(**default_plot_config)
plot_config.style = '1noE'
# set axis attrs
axis = var.visual.axis
axis[1].data = "@v.value"