Exemplo n.º 1
0
visual = 'on'

depend_0 = {'UT': 'DATETIME'}
depend_c = {'SPECTRA': 'EMISSION_SPECTRA'}

####################################################################################################################
var_name = 'GRID_phi'
var = Var(name=var_name, ndim=4, variable_type='scalar', visual=visual)
# set variable attrs
var.fullname = 'Electric potential map'
var.label = r'$\phi$'
var.group = 'Electric potential'
var.unit = r'$\mu$A/m$^2$'
var.depends = {
    0: depend_0,
    1: {
        'AACGM_LAT': 'GRID_MLAT'
    },
    2: {
        'AACGM_MLT': 'GRID_MLT'
    }
}
# set plot attrs
plot_config = var.visual.plot_config
plot_config.config(**default_plot_config)
plot_config.style = '2C'
# set axis attrs
axis = var.visual.axis

configured_variables[var_name] = var
Exemplo n.º 2
0
    '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"
# axis[1].lim = [np.nan, np.nan]
axis[2].label = '@v.label'
axis[1].unit = '@v.unit_label'

configured_variables[var_name] = var

####################################################################################################################
var_name = 'u_CROSS_E'
Exemplo n.º 3
0
        'linestyle': '-',
        'linewidth': 1.5,
        'marker': '',
        'markersize': 3,
    },
    'pcolormesh': {
        'cmap': default_colormap,
    }
}

configured_variables = {}
visual = 'on'

####################################################################################################################
var_name = 'TEC_MAP'
var = Var(name=var_name, ndim=3, variable_type='scalar', visual=visual)
# set variable attrs
var.fullname = 'GNSS TEC MAP'
var.label = r'TEC'
var.group = r'TEC'
var.unit = 'TECu'
var.depends = {0: depend_0, 1: depend_1}
# set plot attrs
plot_config = var.visual.plot_config
plot_config.config(**default_plot_config)
plot_config.style = '2P'
# set axis attrs
axis = var.visual.axis

configured_variables[var_name] = var