Skip to content

Latest commit

 

History

History
56 lines (44 loc) · 6.36 KB

DEPENDENCIES.md

File metadata and controls

56 lines (44 loc) · 6.36 KB

🧩 Development dependencies / 开发依赖

The portable Windows package includes runtime dependencies. Public source snapshots omit tools/, unused Qt reference copies and the external implementation files listed below. The local C17 icosahedral kernels used by the application are included with their source manifest and SCRIP notice. Downloading external dependency source is only needed for development; versions, source URLs, hashes and license texts remain available.

📥 Pinned inputs and locations

Dependency Version / origin Local input
Qt 6.8.3, official archive Set CMAKE_PREFIX_PATH to the MSVC x64 Qt installation
HDF5 1.8.20, upstream ext/hdf5-1.8.20, built static Debug/Release in build/hdf5-1.8.20
netCDF-C 4.9.3, upstream Headers in ext/netcdf-c-4.9.3/include; native DLL/import library in build/native-nc/Release
zlib 1.3.1, upstream ext/zlib-1.3.1, static libraries in build/zlib
ecCodes 2.47.0, upstream ext/eccodes or HDFSTUDIO_ECCODES_ROOT; see licenses/eccodes/native-manifest.json for exact headers/runtime hashes
Bitshuffle / LZ4 / Zstandard 0.5.2 / 1.10.0 / 1.5.7 Download the files listed in third_party/hdf_filters/sources.json into their recorded relative paths
cmap (optional palette regeneration) 0.8.0, upstream Development Python environment only; generated palettes are already included
Reference coastlines Basemap v2.0.0 / upstream GSHHG 2.3.6, low l Original inputs and normalized lines in resources/coastlines/low/; public converter and original/derived manifests retained, licenses in licenses/coastlines/
PROJ display core 9.9.0, vcpkg baseline 277978ad2eddc3b05ecf288dcd33071968cd2f79 Isolated PROJ_DIR; x64-windows MD/MDd, core/tools only; matching DLL/database identities in resources/proj/dependency-lock.json
SQLite (PROJ dependency) 3.54.1 Matching per-configuration DLL, original notice in licenses/proj/SQLITE-COPYRIGHT
Icosahedral C17 kernels Local 2026-11-21 implementation derived/new alongside SCRIP Included in third_party/icosahedral/26NOV21_*; exact identities in source-manifest.json, notice in licenses/icosahedral/
OpenGL 3D canvas Qt 6.8.3 OpenGL/OpenGLWidgets, OpenGL 3.3 Core driver Adapted canvas/mesh/atlas sources in src/views and src/core; original Qt reference hashes retained, unused reference copies excluded

For each entry in sources.json, download url to third_party/hdf_filters/<file> and verify its sha256 before building. Paths are relative to third_party/hdf_filters/; preserve upstream bytes and line endings. Do not overwrite an existing file with different contents. Local maintenance and download scripts are not part of the public source.

The native ecCodes distribution includes eccodes.dll, eccodes_memfs.dll, aec.dll, openjp2.dll, libpng16.dll and zlib1.dll. The memfs DLL carries definitions and samples, so runtime users need no external definitions directory. Source builds can be made from the pinned upstream release; validate their behavior before substituting different binaries.

Optional palette provenance can be inspected in upstream cmap==0.8.0; the recorded paths and hashes are in resources/colormaps/manifest.json. Generated palette JSON and licenses remain in the public tree; upstream cmap Python copies and local generation scripts are excluded. Regeneration is not required to build or run the application.

Low-resolution coastline originals were copied locally on November 24, 2026. See asset notes for source identities, format and offline checking. The normalized asset is generated by the public converter in resources/coastlines/; CMake deploys the asset, original inputs, conversion source and licenses beside the application. No Basemap/Python runtime dependency is introduced. Original coastline data, provenance and licenses are intended to remain in the public tree. Any later distributed normalized asset must include sufficient conversion source/instructions outside the excluded tools/ directory.

cmake/Projection.cmake locates PROJ without changing the existing application toolchain. It copies PROJ/SQLite DLLs, proj.db and notices to the build output. Runtime contexts explicitly select this resource path and disable networking; the first version performs same-model display projections only. See projection use and limits. Dependency acquisition command: vcpkg install "proj[core,tools]:x64-windows" --disable-metrics at the pinned baseline. The checked-in lock records exact local binary identities; binaries remain in the excluded dependency prefix, not in source control.

📤 Publication contract

  • The portable-package recipe checks that the source snapshot, executable product version and CMake version agree. It verifies pinned PROJ/SQLite DLL, database and notice hashes, and includes offline coastlines with their conversion source and licenses. Version 0.16.02 also includes Qt OpenGL/OpenGLWidgets and icosahedral notices. Run the affected build/checks before packaging; output paths use the CMake version and existing archives are retained.

  • The public Git tree and source ZIP exclude tools/, external filter/palette implementation copies and unused third_party/icosahedral/qt-reference/*.cpp / *.hpp. The compiled C17 icosahedral implementation is included; license texts, hashes, build adapters and application code remain.

  • ext/, generated build/, logs, private design notes and business samples are not published as source.

  • The binary ZIP retains every runtime dependency, the local help page and required license texts. Third-party source exclusion does not remove runtime DLLs or palette data.

  • Existing public history and older releases are retained. This policy makes new source snapshots smaller; it does not rewrite previously published Git history.

See PROJECT_STRUCTURE.md for the source tree, target dependencies and input/output locations, and THIRD_PARTY_NOTICES.md for attribution.