Use the following plot methods for displaying scaled waveform data:
insp.plot.waveform_3d_surf()
- to draw a waveform 3D surface plotinsp.plot.waveform_3d_line()
- to draw a waveform 3D line plotinsp.plot.waveform_3d_poly()
- to draw a waveform 3D polygon plotinsp.plot.waveform_im()
- to draw a waveform imageinsp.plot.waveform_line()
- to draw a waveform 2D line plotinsp.plot.waveform_hist()
to draw a waveform histograminsp.plot.locations()
- to draw the footprints of the L1B product on a mapUse the following generic methods for displaying any other variables:
insp.plot.line(x, y)
- to draw two 1D variables (line plots)insp.plot.im_line(z)
- to draw a 2D variable (images + and line plots)insp.plot.im(z)
- to draw a 2D variable (images)Usage hints:
comp.
or comp.plot.
then press TAB key to get a list of available
elements of the comp
and comp.plot
objects for auto-completion.color
argument. Please refer to the
Matplotlib Colors API to learn how colors can be specified.cmap
argument, which names a colour map. Please refer to the
Matplotlib Colormaps Reference
for possible names.
In [ ]:
from dedop.ui.inspect import inspect_l1b_product
%matplotlib inline
In [ ]:
insp = inspect_l1b_product(__L1B_FILE_PATH__)
In [ ]:
insp.lon_range
In [ ]:
insp.lat_range
In [ ]:
insp.plot.locations()
In [ ]:
insp.waveform_range
In [ ]:
insp.waveform
In [ ]:
insp.plot.waveform_im(vmin=0, vmax=7e6)
In [ ]:
insp.plot.waveform_hist(vmin=0, vmax=1e7, log=True)
In [ ]:
insp.plot.waveform_line(ind=500)
In [ ]:
insp.plot.waveform_line()
In [ ]:
insp.plot.waveform_line(ref_ind=520)
In [ ]:
insp.plot.waveform_3d_surf()
In [ ]:
insp.plot.line()
In [ ]:
insp.plot.line(x='lon_l1b_echo_sar_ku', y='lat_l1b_echo_sar_ku')
In [ ]:
insp.plot.im()
In [ ]:
insp.plot.im_line()
In [ ]:
insp.dim_names
In [ ]:
insp.var_names
In [ ]:
insp.dim_name_to_size
In [ ]:
insp.dim_names_to_var_names
In [ ]:
var = insp.dataset['i2q2_meas_ku_l1b_echo_sar_ku']
In [ ]:
var.name, var.dtype, var.dimensions, var.shape
In [ ]:
insp.dataset
In [ ]: