.. _news-meteoinfo_4.3.0: ****************************************** MeteoInfo 4.3.0 Release Notes ****************************************** :Release date: 2026-11-08 :Previous release: 4.2.0 (2026-03-26) :Maven coordinates: ``org.meteothink:*:4.3.0`` (19 modules) :Changes since v4.2.0: 55 commits, 421 files changed (+37,075 / −19,120) .. warning:: This release contains **breaking API changes** in the geometry module. If you use the ``Shape`` / ``PointZ`` / ``PolygonShape`` / ``Polyline`` classes or the ``geometry.graphic`` package directly, please read section :ref:`Geometry redesign ` before upgrading. Highlights ========== - **New geometry engine** — a single OGC/JTS-style ``Geometry`` model with first-class 3D coordinates, replacing the old ``shape`` package. - **Volume rendering and particle rendering** in ``EarthGLPlot`` (OpenGL), plus VBO-based polygon rendering. - **MICAPS 5** data format support. - **New analysis functions**: ``linprog`` (HiGHS LP solver), ``cwt`` (continuous wavelet transform), ``isel``, ``DataFrame.drop_duplicates``, multi-array ``ncwrite``. - **TlnP (StuPlo) diagram** functions, built on a redesigned Skew-T plotting module. - **Major dependency upgrades**, including netCDF-Java 5.11.0 and JTS 1.20.0. .. _geom-redesign: 1. Geometry Redesign (breaking) =============================== The geometry module was rebuilt from scratch around a unified geometry model (commits ``new geometry design``, ``Shape to Geometry``, ``all shape are 3D``). 1.1 New geometry model ---------------------- A JTS/OGC-compatible class hierarchy now lives directly in ``org.meteoinfo.geometry``: - Core: ``Geometry``, ``GeometryFactory``, ``GeometryType``, ``GeometryUtil``, ``Extent`` - Point types: ``Point``, ``MultiPoint`` - Line types: ``LineString``, ``MultiLineString``, ``LineSegment``, ``LinearRing`` - Area types: ``Polygon``, ``MultiPolygon`` - Collections: ``GeometryCollection`` - Coordinates: ``Coordinate``, ``Coordinates``, ``CoordinateXY``, ``CoordinateXYM``, ``CoordinateXYZM``, ``CoordinateList``, ``CoordinateArray(s)``, ``CoordinateSequence``, ``CoordinateSequenceFactory``, ``CoordinateSequences`` - Coordinate storage back-ends in ``org.meteoinfo.geometry.impl``: ``CoordinateArraySequence(Factory)``, ``PackedCoordinateSequence(Factory)`` Every geometry is now **3D-capable** — ``Point``, ``LineString`` and ``Polygon`` carry Z (and optionally M) natively, instead of having separate 2D / Z / M variants. 1.2 Removed / renamed classes ----------------------------- .. csv-table:: :header: "Old (removed)", "Replacement" :widths: 40, 60 "``shape.Shape``", "``Geometry``" "``shape.PointShape``, ``shape.PointZ``, ``shape.PointZShape``, ``shape.PointM``", "``Point`` + ``Coordinate`` / ``CoordinateXYZM``" "``shape.Polyline``, ``shape.PolylineShape``, ``shape.PolylineZ``, ``shape.PolylineZShape``", "``LineString`` / ``MultiLineString``" "``shape.Polygon``, ``shape.PolygonShape``, ``shape.PolygonZ``, ``shape.PolygonZShape``, ``shape.PolygonMShape``", "``Polygon`` / ``MultiPolygon``" "``shape.Line``", "``LineSegment`` (moved out of the ``shape`` package)" "``PointD``, ``PointZ`` values", "``Coordinate``" "``geoprocess.GeometryUtil``", "``geometry.GeometryUtil``" Accessor methods were renamed accordingly: **getShape() → getGeometry()**. 1.3 Graphics layer moved ------------------------ The interactive graphics classes were removed from ``meteoinfo-geometry`` and now live in ``org.meteoinfo.chart.graphic``: ``Artist``, ``Graphic``, ``GraphicCollection``, ``GraphicCollection3D``, ``ChartGraphic``, ``ImageGraphic``, ``LineGraphic``, ``LineGraphicCollection``, ``MultiLineGraphic(Collection)``, ``PolygonGraphic(Collection)``, ``MultiPolygonGraphic(Collection)``, ``ModelGraphic``, ``LinealGraphic``, ``GraphicUtil``, ``ColoredVector3f``, ``Transform``, ``ResizeAbility``. .. note:: Application code that imported ``org.meteoinfo.geometry.graphic.*`` must switch to ``org.meteoinfo.chart.graphic.*``. 2. 3D Visualization & Rendering =============================== - **Volume rendering support in ``EarthGLPlot``** — new ``VolumeRender`` with a set of GLSL shaders (``volume``, ``volumeBase``, ``volume_perspective``, ``basic``, ``maxValue``, ``specular``, incl. GL 3.30 variants). - **``ParticleRender``** — new particle-tracing renderer for 3D scenes. - **``plot3`` rewritten on ``LineCollection``** — batched 3D line plotting, considerably faster for dense trajectories and vector data. - **Polygon rendering switched to VBO** for large polygon layers. - **New triangle subdivision utilities** for mesh refinement (supported by the ``earcut4j`` polygon-triangulation library). - **``MeshGraphic`` and ``ModelGraphic`` functions updated**; HiDPI support via ``SwingGLCanvasHiDPI``. - New chart infrastructure classes: ``Figure``, ``Axes``, ``AxesView``, ``AxisType``, ``ScaleType``, ``GridLine``, ``View2D``, ``View3D``, ``ProjectUtil``. 3. Data Formats =============== - **MICAPS 5 format support** (new ``MICAPS5DataInfo``). - **GeoJSON**: read as a map layer with its layer name preserved, and supported directly in the ``geoshow()`` function. - **``ncwrite()`` now accepts multiple ``DimArray`` objects** in one call, so a NetCDF file can be written from several arrays at once. 4. Computation & Analysis (MeteoInfoLab) ======================================== - **``linprog()`` — linear programming**, backed by Google OR-Tools' **HiGHS** solver. Supports inequality (``A_ub``/``b_ub``) and equality (``A_eq``/``b_eq``) constraints. - **``cwt()`` — continuous wavelet transform**: ``cwt(data, scales, wavelet, sampling_period, method, axis, precision)``. - **``isel()`` — label-based integer selection** on ``DimArray`` and ``DimVariable``. - **``DataFrame.drop_duplicates(subset, keep, inplace)``**. - **``maximum()`` / ``minimum()`` / ``fmax()`` / ``fmin()`` reworked**, and a new global constant **eps** (machine epsilon) added for floating-point tolerance handling. - **Coordinate transform functions for plot axes** added. 5. Plotting =========== - **TlnP / StuPlo diagram functions**, implemented in the new ``mipylib.meteolib.plots`` package together with a substantially expanded ``skewt`` module. - **``SkewT`` now supports ``rotation`` and ``xskew``**, allowing conventional and distorted skew-T layouts. - Axis-related plotting functions updated in ``mipylib.plotlib._axes``. 6. Console & GUI ================ - ``JConsole`` / ``ConsoleDockable`` reworked for **smoother interactive console behaviour**. - Run scripts now print the ``>>>`` prompt again **after the script finishes**, so the console is visibly ready for input. - **FlatLaf 3.8** for the updated cross-platform look and feel. 7. Bug Fixes ============ .. csv-table:: :header: "Area", "Fix" :widths: 20, 80 "WRF output", "Fixed projection and coordinate reading for ``wrfout`` data files" "Array", "Fixed array slicing when the index is itself an array" "Vector plotting", "Fixed ``createArrows()`` when ``cdata`` contains NaN values" "Dataset", "Fixed dataset reading functions" "Array", "Fixed dimension usages" "Statistics", "Fixed ``mean()`` and ``median()``" "Graphics", "Fixed ``drawPoint()``" "Documentation", "Fixed Javadoc warnings across modules" 8. Dependency Changes ===================== .. csv-table:: :header: "Library", "Version", "Note" :widths: 25, 15, 60 "netCDF-Java (``netcdfAll``)", "5.11.0", "upgraded from 5.10.0 during this cycle" "JTS LocationTech", "1.20.0", "from 1.19.0" "Guava", "33.7.1-jre", "from 31.1-jre" "FlatLaf", "3.8", "UI look and feel" "Jackson Databind", "2.18.11", "security bumps 2.18.9 → 2.18.10 → 2.18.11" "OR-Tools Java", "9.15.6755", "**new** — HiGHS LP solver for ``linprog()``" "earcut4j", "3.0.0", "**new** — polygon triangulation" "error_prone_annotations", "2.51.0", "new transitive pin" "checker-qual", "3.43.0", "new transitive pin" 9. Modules Published to Maven Central ===================================== All of the following are available at version **4.3.0** under group ``org.meteothink``: ``MeteoInfo`` (parent) · ``meteoinfo-map`` · ``meteoinfo-lab`` · ``meteoinfo-console`` · ``meteoinfo-ndarray`` · ``meteoinfo-math`` · ``meteoinfo-common`` · ``meteoinfo-geometry`` · ``meteoinfo-chart`` · ``meteoinfo-table`` · ``meteoinfo-ui`` · ``meteoinfo-image`` · ``meteoinfo-geo`` · ``meteoinfo-dataframe`` · ``meteoinfo-data`` · ``meteoinfo-projection`` · ``meteoinfo-mkl`` · ``meteoinfo-render2d`` · ``meteoinfo-jython`` Example dependency: .. code-block:: xml org.meteothink meteoinfo-lab 4.3.0 10. Upgrading ============= 1. Java 8 or greater is required. 2. **Code that touches geometry must be ported** — see the table in section 1.2. The mechanical part is ``getShape()`` → ``getGeometry()`` and ``org.meteoinfo.geometry.graphic`` → ``org.meteoinfo.chart.graphic``; the semantic part is that 2D/Z/M shape variants collapse into one 3D-capable ``Point`` / ``LineString`` / ``Polygon``. 3. Custom map layers and plugins built against 4.2.x should be recompiled against 4.3.0 before release. **Links** · Source: http://github.com/meteoinfo/MeteoInfo · Docs: http://meteothink.org/ · License: LGPL v3.0