xoa.show_info

Contents

xoa.show_info#

xoa.show_info(opt_specs=True)[source]#

Print xoa related info

Example

In [20]: show_info()
# VERSIONS
- python: 3.15.2
- xoa: 2026.11.1.dev1+g408b5dbed.d20261126
- platformdirs: 4.14.8
- cartopy: 0.26.0
- cmocean: 4.0.3
- configobj: 5.0.9
- matplotlib: 3.11.2
- numpy: 2.5.5
- pandas: 3.1.1
- scipy: 1.18.1
- xarray: 2026.9.0

# FILES AND DIRECTORIES
- xoa library dir: /home/docs/checkouts/xoa/conda/develop/lib/python3.15/site-packages/xoa
- user config file: /home/docs/.config/xoa/xoa.cfg [*]
- user CF specs file: /home/docs/.config/xoa/meta.cfg [*]
- data samples: OBS/ARGO/argo-7900573.nc MODELS/CMEMS-IBI/ibi-argo-7900573.nc MODELS/CROCO/SOUTH-AFRICA/croco.south-africa.meridional.nc MODELS/CROCO/SOUTH-AFRICA/croco.south-africa.surf.nc MODELS/CROCO/SOUTH-AFRICA/croco.south-africa.zonal.nc MODELS/CROCO/MED/pelops_3d.nc MODELS/CROCO/MED/pelops_3d_interp.nc MODELS/HYCOM/hycom.gdp.h.nc MODELS/HYCOM/hycom.gdp.u.nc MODELS/HYCOM/hycom.gdp.v.nc MODELS/CMEMS-GLORYS/glorys_gulfstream_3d.nc OBS/DRIFTERS/gdp-6203641.csv OBS/WAVES/wave_buoy_6200069_2013-2024.nc
*: file not present

# OPTIONS
[meta] # meta module
cache=boolean(default=False) # use the :mod:`~xoa.meta` in memory cache

[plot] # plot parameters
cmapdiv = string(default="cmo.balance") # default diverging colormap
cmappos = string(default="cmo.amp")     # default positive colormap
cmapneg = string(default="cmo.tempo_r") # default negative colormap
cmapcyc = string(default="cmo.phase")   # default cyclic colormap
field_method = string(default="pcolormesh") # default method to plot fields
section_method = string(default="pcolormesh") # default method to plot sections
colorbar_shrink = float(default=0.7) # shrink factor of colorbars
mesh_min_spacing = float(default=12) # minimal spacing in pixels between mesh centers in auto stride mode
vectors_min_spacing = float(default=16) # minimal spacing in pixels between vectors in auto stride mode
key_pos = float_list(min=2, max=2, default=list(0.0, 1.03)) # position of the reference arrow in axes coordinates
key_percentile = float(default=80) # percentile of the speed used to choose the reference arrow value
stick_color = string(default="steelblue") # color of sticks
stick_length = float(default=0.12) # length of the strong sticks in fraction of the axes width

map_figsize = float_list(min=2, max=2, default=list(8, 8)) # figure size in inches
map_gridlines = boolean(default=True) # add labelled gridlines
map_gridlines_labels_on = string_list(default=list("bottom", "left")) # sides of the gridline labels
map_gridlines_linewidth = float(default=0.3) # line width of the gridlines
map_gridlines_linestyle = string(default="--") # line style of the gridlines
map_gridlines_color = string(default="gray") # color of the gridlines
map_gridlines_labelsize = float(default=7) # font size of the gridline labels
map_land = boolean(default=False) # add the land
map_land_scale = string(default="110m") # Natural Earth scale of the land
map_land_color = string(default=None) # face color of the land, cartopy default if not set
map_coastlines = boolean(default=False) # add the coastlines
map_bbox = boolean(default=True) # keep the frame of the axes visible
map_fancy = boolean(default=False) # add a fancy black and white frame
map_layer = boolean(default=False) # add the background layer

layer = string(default="natgeo") # name of the default background layer, see the layers section
layer_alpha = float(default=1.0) # opacity of the layer
layer_zorder = float(default=0) # drawing order
layer_attribution = boolean(default=True) # draw the attribution of the layer
layer_attribution_size = float(default=5) # font size of the attribution
layer_attribution_color = string(default="0.4") # color of the attribution

scalebar_units = option("m", "km", "nmi", default="km") # units of the length
scalebar_loc = string(default="lower left") # corner of the axes
scalebar_pad = float(default=0.04) # distance to the corner in axes coordinates
scalebar_segments = integer(min=1, default=2) # number of alternating segments
scalebar_height = float(default=0.012) # height in axes coordinates
scalebar_color = string(default="k") # color of the dark segments, labels and frame
scalebar_zorder = float(default=10) # drawing order

compass_loc = string(default="upper right") # corner of the axes
compass_size = float(default=40) # height in points
compass_style = option("simple", "fancy", default="simple") # style of the compass
compass_color = string(default="k") # color of the dark parts
compass_zorder = float(default=10) # drawing order

fancy_width = float(default=5.0) # width in points
fancy_colors = string_list(min=2, default=list("k", "w")) # alternating colors
fancy_linewidth = float(default=0.6) # line width of the edges
fancy_edgecolor = string(default="k") # color of the edges
fancy_zorder = float(default=5) # drawing order

flow_particles = integer(min=1, default=2000) # number of particles
flow_alpha = float_list(min=1, max=2, default=list(0.2, 1)) # opacity, or its ramp along the tracks
flow_linewidth = float(default=0.3) # line width of the tracks
flow_color = string(default="k") # color of the tracks

minimap_loc = string(default="upper right") # location in the parent axes
minimap_size = float(default=0.2) # size relative to the parent axes
minimap_extent = float(default=1.0) # extent margin
minimap_min_extent = float(default=2.0) # minimal extent in degrees
minimap_gridlines = boolean(default=True) # add gridlines
minimap_coords_markersize = float(default=10) # marker size of the point coordinates
minimap_coords_linewidth = float(default=1.5) # line width of the coordinates
minimap_coords_color = string(default="tab:red") # color of the coordinates
minimap_coords_facecolor = float(default=0.2) # opacity of the coordinates area

shadow_width = float(default=3) # shadow blur width in points
shadow_xoffset = float(default=2) # shadow horizontal offset in points
shadow_yoffset = float(default=-2) # shadow vertical offset in points
shadow_alpha = float(default=0.3) # shadow opacity
shadow_color = string(default="k") # shadow color
glow_width = float(default=3) # glow width in points
glow_alpha = float(default=1.0) # glow opacity
glow_color = string(default="w") # glow color
lightshading_width = float(default=7) # light shading width in points
lightshading_fraction = float(default=1.0) # light shading fraction

panel_style = string(default="{a})") # label format
panel_loc = string(default="upper left") # label location
panel_pad = float(default=0.03) # distance to the axes corner

[layers] # background layers of maps, one subsection per layer
    [[__many__]]
    kind = option("wms", "wmts", default="wmts") # type of web map service
    url = string() # url of the service, or of its capabilities document for wmts
    layer = string() # name of the layer in the service
    attribution = string(default=None) # credit drawn on the map, quoted if it has commas