Skip to content

Missing values for y-axis in spectrograms #72

@EvaKraemer

Description

@EvaKraemer

I am not sure that here is the optimal place to raise this issue, but I don't know who I should contact about it.

I have been using the hapiclient to access and download data from the FPI instrument on the MMS mission. Some of the data is in form of spectrograms which is missing information on the values for the y-axis.

For example the energyspectrogram has the format (N, 32) with 32 being the number of energybins of the instrument. The instrument probes the plasma in the energy range 10eV - 30kev, however in the data downloaded from the hapiclient the information about the center-energy of each energy-bin is missing.

Here is some code illustrating the issue (note, the y-axis is only labelled from 0-32):

from hapiclient import hapi

server = 'https://cdaweb.gsfc.nasa.gov/hapi'
dataset = 'MMS1_FPI_FAST_L2_DIS-MOMS'
opts = {'logging': True,
'usecache': True}

parameters = 'mms1_dis_energyspectr_omni_fast'

t_start = '2015-11-14T09:00:00Z'
t_stop = '2015-11-14T10:00:00Z'

Get data

data, meta = hapi(server, dataset, parameters, t_start, t_stop, **opts)

from hapiplot import hapiplot
hapiplot(data, meta)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions