A desktop application for validating and processing NetCDF particle tracking files for OpenDrift visualization.
Author: Dr. Xavier Fonseca
Institution: Academy for AI, Games and Media, Breda University of Applied Sciences
LinkedIn: xavier-fonseca
Email: santosfonseca.f@buas.nl
Project Repository: MicroparticlesVisualization-ILIAD
License: GPL-3.0
Version: 1.0.0
Created: October 2025
- Navigate to the
python-scripts/folder - Double-click
install-dependencies.bat - Wait for the installation to complete
This will:
- Check for Python 3.11
- Create a virtual environment (
.venv) - Install all required Python packages
- Navigate to
Releases for Distribution/ - Double-click
GeoViz Data Tool.exe - Click "0. Configure Python" in the app
- Browse and select the
python-scriptsfolder - Start validating and processing your NetCDF files!
That's it! You're ready to use GeoViz Data Tool.
GeoViz Data Tool helps researchers and scientists:
- β Validate NetCDF datasets for required SedimentDrift variables
- β Add missing variables for OpenDrift compatibility
- βοΈ Fragment large files (20GB+) into manageable chunks
- π Process particle tracking data with interactive console output
- Node.js 18.x or higher
- Python 3.11
- npm (comes with Node.js)
cd geovizdatatool
npm installcd python-scripts
install-dependencies.batcd geovizdatatool
run-dev.batOr manually:
npm run electron:devThis starts the React development server with hot-reload.
cd geovizdatatool
compile-production.batcd geovizdatatool
npm run build
npm run electron:buildOutput location: geovizdatatool/dist/
The built executable will be:
- Windows:
GeoViz Data Tool-1.0.0.exe - Linux:
GeoViz Data Tool-1.0.0.AppImage - macOS:
GeoViz Data Tool-1.0.0.dmg
Before committing to Git or preparing for distribution:
cd geovizdatatool
clean-project.batThis removes:
node_modules/build/dist/- Log files
βββ geovizdatatool/ # Electron + React application
β βββ electron/ # Electron main process
β β βββ main.js # IPC handlers, Python integration
β β βββ preload.js # Secure IPC bridge
β βββ src/ # React frontend
β β βββ App.js # Main UI component
β β βββ index.js # React entry point
β β βββ index.css # Tailwind CSS
β βββ public/ # Static assets
β βββ package.json # Dependencies & build config
β βββ run-dev.bat # Start development server
β βββ compile-production.bat # Build for production
β βββ setup-project.bat # Install dependencies
β βββ clean-project.bat # Clean build artifacts
β
βββ python-scripts/ # Python processing backend
β βββ .venv/ # Virtual environment (created by installer)
β βββ GeoViz_Validator.py # Validation script
β βββ GeoViz_Compatibility_Tool.py # Processing script
β βββ requirements.txt # Python dependencies
β βββ install-dependencies.bat
β βββ README.md
β
βββ Releases for Distribution/ # Production builds
βββ GeoViz Data Tool.exe
- Frontend: React 19, Tailwind CSS 3
- Desktop Framework: Electron 38
- Icons: Lucide React
- Build Tool: electron-builder
- Backend: Python 3.11
- Python Libraries: xarray, numpy, netCDF4, dask
When preparing a release:
- β
Run
clean-project.batto clean the source - β
Run
compile-production.batto build - β
Copy
.exefromdist/toReleases for Distribution/ - β Test the executable on a clean machine
- β
Include
python-scripts/folder withinstall-dependencies.bat - β
Create a zip with:
GeoViz Data Tool.exepython-scripts/folderREADME.md(this file)LICENSE.txt
Solution: Click "0. Configure Python" and browse to the python-scripts folder.
Problem: Python 3.11 not found
Solution:
- Install Python 3.11 from python.org
- During installation, check "Add Python to PATH"
- Restart your computer
- Run
install-dependencies.batagain
Problem: Missing dependencies
Solution:
- Make sure you ran
install-dependencies.batinpython-scripts/ - Check that
.venvfolder exists inpython-scripts/ - Re-run the installer if needed
Problem: node_modules corruption or outdated dependencies
Solution:
clean-project.bat
setup-project.batProblem: "Windows protected your PC" message
Solution: This is normal for unsigned applications. Click "More info" β "Run anyway"
- Click "0. Configure Python"
- Click Browse next to "Python Scripts Folder"
- Select the
python-scriptsfolder - Wait for "β Python Ready" confirmation
- Click "1. Select File"
- Browse and select your
.ncfile - File information will appear below
- Click "Validate Dataset"
- Review validation results:
- β Green: All required variables present
β οΈ Yellow: Missing variables (need processing)- β Red: File has errors
- Select Output Folder
- Configure settings:
- Fragment %: Size of each chunk (10% = 10 files)
- Particle Class: Type of particles
- Diameter & Density: Particle properties
- Click "Run Tool"
- Wait for processing to complete
Output: Fragmented files with added variables, ready for OpenDrift visualization!
If you use this tool in your research, please cite:
@software{fonseca2025geoviz,
author = {Fonseca, Xavier},
title = {GeoViz Data Tool: Desktop Application for NetCDF Particle Tracking Validation and Processing},
year = {2025},
version = {1.0.0},
institution = {Breda University of Applied Sciences},
url = {https://github.com/BredaUniversityResearch/MicroparticlesVisualization-ILIAD}
}Contributions are welcome! To contribute:
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Copyright Β© 2025 Dr. Xavier Fonseca, Breda University of Applied Sciences
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License v3.0 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Full license: GPL-3.0
Repository originally created in My Personal GitHub.
For issues, questions, or collaboration:
- π Bug Reports: GitHub Issues
- πΌ LinkedIn: Dr. Xavier Fonseca
- π§ Email: santosfonseca.f@buas.nl
Breda University of Applied Sciences
Academy for AI, Games and Media
Breda, Netherlands
π CRADLE Lab