Skip to content

Releases: xcube-dev/xcube-viewer

1.3.1

11 Oct 14:19
Compare
Choose a tag to compare

Changes in version 1.3.1

Fixes

  • The <Time> parameter is now no longer required to calculate the statistics of the selected Point/Polygon for datasets that do not contain a time dimension. (#421)

  • Statistics and also the map's info-box now also work for datasets with non-geographic grids. (See xcube server issues xcube-dev/xcube#1066 and xcube-dev/xcube#1069)

  • The help icon button now opens the new documentation xcube Viewer documentation in a new browser tab.

Other changes

  • Tooltips (incl. translations) have been added to the Time Player buttons for jumping to the first, last, next and previous time steps.

  • Updated language translations (German and Swedish) for Add Statistics and Style Place.

New Contributors

Full Changelog: v1.3.0...v1.3.1

1.3.0

27 Aug 13:03
b37b980
Compare
Choose a tag to compare

New Features

  • Users can now copy snapshots of a time-series charts and statistics
    into the clipboard by clicking a new camera icon on a chart's action bar.
    (#290)

  • It is now possible to change the color and opacity of user places
    and hence associated time-series and statistic charts. (#97, #216)

  • When in map split mode each of the two variables has its own
    variable color legend with same functionality. (#401)

  • Users can now enable a small pixel information box being displayed
    next to the pointer when hovering over the map. It shows the current
    map coordinates and the values of the currently selected variable at
    that position. The feature is switched on and off from the layer
    selector menu. (#404)

  • The datasets in the dataset selector are now sorted by name and may
    also be grouped if configured so in xcube server. (#385)

  • Users can now define their own variables computed from Python-like
    expressions. The expressions can combine other variables of the
    current dataset using almost all Python operators and all
    numpy universal functions.
    User data variables are persisted in the browser's local storage.
    (#371)

  • Now recognising new custom color maps from xcube server, for details
    refer to xcube-dev/xcube#1046. (#392)

Enhancements

  • Avoiding confusion regarding variable comparison.
    No longer using the term second variable and the (#2) suffix in
    variable titles. Instead, it is now the pinned variable.
    A pin icon is now used to mark a pinned variable in lists. (#407)

  • Moved map-related actions directly into the map, namely

    • show/hide map layer panel (moved from main toolbar);
    • enable/disable map split mode (moved from layer control panel);
    • enable/disable new map info box (moved from layer control panel),
  • Placed an "Add Statistics" action next to the "Add Time-Series" action
    in the main toolbar for consistency.

  • Improved the visibility of the layer split bar over bright map backgrounds.

  • Revised map color mapping for simplicity and clarity. (#306, #390)
    This comprises the following changes:

    • Removed the color mapping normalisation modes. Instead, introduced
      a "Log" switch in the value-range popup. The normalisation mode
      "CAT" (categorical) is no longer required.
    • Renamed the user color mapping types "Node", "Bound", "Key" into
      "Cont." (continuous), "Stepwise", and "Categ." (categorical).
    • The color legend is now showing the variable's UI title instead of the
      variable identifier name.
    • The value range can now be assigned from the value range
      of the color mapping values.
  • Map layers that represent dataset variable's will no longer request
    tiles for regions that do not intersect with the dataset's extent.
    This improves both viewer and server performance. (#412)

  • All selectable items of the variable legend (color bar, value range)
    now show a "pointer" cursor to indicate interactivity.

  • Made the right sidebar panel's tab bar position sticky. (#373)

  • The title of time-series charts has been turned into a label of the
    chart's y-axis in order to include an indication of the units when
    snapshots are made.

  • Improved visual style of selected places in the map.

Fixes

  • In the map's color legend long variable are now wrapped at words. (#410)

  • Fixed a problem in map split mode, where the left variable layer
    was still rendered on the right side so that it appeared in transparent
    regions of the right layer. Left and right layers do not overlay each other
    anymore. (#403)

  • Fixed a problem in map split mode where layer clipping was initially not
    applied to the right layer after its visibility was switched on.

  • Fixed a problem with user color map changes that have not been automatically
    saved. User color maps are now stored after a user confirms the
    addition, change, or removal. (#395)

  • Fixed a problem that caused categorical map legends to list the categories
    without their associated colors. (#387)

  • Fixed a problem where a date in the time-series chart could not be selected
    if clicked next to a data point. (#381)

  • Fixed a problem with the setting that determines panning/zooming behaviour
    after selecting a dataset or a place. The setting value "Do nothing"
    still panned to the dataset center. (#379)

  • Fixed a bug in the statistics panel which caused the app to crashed
    (screen turned white). It reproducibly occurred when first computing
    statistics for a point and then for a polygon. (#376)

Other changes

  • Renamed internal color mapping types from "node", "bound", "key"
    into "continuous", "stepwise", "categorical".

New Contributors

Full Changelog: v1.2.1...v1.3.0

1.3.0-dev.1

05 Aug 12:42
efa3969
Compare
Choose a tag to compare
1.3.0-dev.1 Pre-release
Pre-release

What's Changed

Full Changelog: v1.3.0-dev.0...v1.3.0-dev.1

1.3.0-dev.0

19 Jul 10:55
17492f5
Compare
Choose a tag to compare
1.3.0-dev.0 Pre-release
Pre-release

What's Changed

Full Changelog: v1.2.1...v1.3.0-dev.0

1.2.1

24 Jun 09:24
Compare
Choose a tag to compare

Changes in version 1.2.1

  • Updated language translations for German and Swedish in the statistics panel.

Full Changelog: v1.2.0...v1.2.1

1.2.0

05 Jun 14:20
Compare
Choose a tag to compare

Enhancements

  • The right sidebar has been redesigned. It now uses a tab bar to switch
    between info, time-series charts, new statistics, and 3-D panels.
    Numerous info panel styles have been adapted to harmonise with the common
    style of the UI.

  • Introduced a statistics panel, where basic statistics for the currently
    selected variable, selected timestamp, and selected place can be computed
    and displayed. If the place is an area, statistics include include
    minimum, maximum, mean, standard deviation, and a histogram. For
    point places the value at the point is displayed.

  • Introduced a variable comparison mode. Users can now go to the layer
    visibility dropdown menu (see below) and enable the variable compare mode.
    This will make the variable layer fully transparent for initially one
    half of the map area. User can swipe a bar to shrink or enlarge the area.
    By selecting a secondary data variable using a new tool button next to the
    variable selector, a second variable layer will be rendered below the current
    variable layer. Using the compare mode the following layers can be inspected
    next to the currently selected variable (in this order): Variable 2 layer,
    Basemap layer Dataset RGB layer. (#286)

  • Users can now define their own color bars. The new feature can be found
    in the color selector that pops up if clicking the color bar legend.
    A new category "Users" provides an add-button to add a new color bar
    definition. Existing custom color bars can be edited and deleted.
    This feature requires xcube server >= 1.6. (#334)

  • Users can now select the data normalisation function to be applied before
    the actual color mapping takes place. Three functions are available:

    • Lin: linear mapping of data values between min and max to colors.
    • Log: logarithmic mapping of data values between vmin and vmax to colors.
    • Cat: direct mapping of categorical data values into colors.
  • Improvements of the time-series charts:

    • Users can now zoom into arbitrary regions of a time-series chart
      by pressing the CTRL key of the keyboard. (#285)
    • It is now possible to toggle showing the info popup when hovering
      over the chart.
    • User can fix the y-range of the chart by entering min and max values.
    • Users can now change the chart type (point, line, bars) and toggle
      showing standard deviation directly from the time-series chart's action
      bar.
  • Introduced draggable layer visibility menu that can be opened from the
    control bar. It also includes a new RGB layer from a secondary dataset
    so that now two different RGB layers can be compared.

  • Introduced user-defined layers:

    • Users can now define their own base maps and overlay layers from
      WMS servers or tiled web maps (=XYZ).
    • Active base maps and overlay layers can be selected in the settings.
  • It is now possible to specify the map view behaviour when a new dataset or
    place is selected. In the settings, users can now choose between doing
    nothing, fly to the center of dataset bounding box or the place,
    or fly to the center and zoom to the extent of the dataset or place.

  • Specific "locate" actions have been added to the dataset and place selectors.
    At the same time the general "locate" action has been removed from the
    control bar.

  • The map setting "Show dataset boundaries" is now stored in the browser's
    local storage.

  • The current variable layer is now always on top of the RGB layer of the
    same dataset, if switched on. Layer opacity only affects the variable
    layer, not the RGB layer.

  • Fixed problem with color bar selector that occurred if a variable
    used an unknown color bar name.

Other Changes

  • Numerous changes regarding development environment renewal and
    code quality improvements:

    • Changed the development environment from create-react-app
      and yarn to vite and npm. (#296)
    • Reformatted code base with prettier
      using its default settings.
    • Project CI now also runs ESlint.
    • Updated copyright headers of source files.
    • Removed all usages of explicit any type in TypeScript files.
    • No longer using deprecated adaptV4Theme() function from @mui/material.
    • Applied new MUI v5 styling defaults.

New Contributors

Full Changelog: v1.1.1...v1.2.0

1.2.0-dev.4

31 May 07:03
Compare
Choose a tag to compare
1.2.0-dev.4 Pre-release
Pre-release
  • Using dataset titles instead of ids in layer visibility window.

Full Changelog: v1.2.0-dev.3...v1.2.0-dev.4

1.2.0-dev.3

30 May 09:46
d39295c
Compare
Choose a tag to compare
1.2.0-dev.3 Pre-release
Pre-release

1.2.0-dev.2

24 May 10:22
Compare
Choose a tag to compare
1.2.0-dev.2 Pre-release
Pre-release

1.2.0-dev.0

07 May 05:35
38fabb0
Compare
Choose a tag to compare
1.2.0-dev.0 Pre-release
Pre-release
Merge pull request #331 from xcube-dev/forman-286-swipe_layers

Compare two variable layers