Package of NtcPlot
Project description
Welcome to NtcPlot!
NtcPlot plots geo-referenced and other arrays from netCDF files. It's a single person's effort to provide a simple tool for data visualisation. Far from being perfect, it's a work in progress. Feel free to download the files and adapt them to your needs.
NtcPlot is a cross-platform application that runs on Windows, Linux and other desktop computers. NtcPlot only requires that your computer has a compatible Python 3.12 (or later version) installed.
Version
The current version of NtcPlot is 0.0.2, released on 24/10/2024.
Applications
- Make a line plot, with multiple lines if needed.
- Make a scatter plot, with multiple datasets if needed.
- Plot a map with 2D data.
- Usage of NumPy to edit the visualised data.
Video Tutorial
Installation Tips
I would recommend using a virtual environment to test dependencies. For this, the user car open a terminal and run the following command.
python -m venv ntcplot_env
If on Windows, the user will need to have permission to run scripts. The following command will give permission for the running session.
# Windows user only
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process
Activate virtual environment (Unix)
cd ntcplot_env
.\Scripts\activate
Activate virtual environment (Windows)
cd ntcplot_env
.\Scripts\Activate.ps1
Install software
pip install NtcPlot
If the following error occurs, do not falter.
INFO: pip is looking at multiple versions of ntcplot to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement PyQt6>=6.7 (from ntcplot) (from versions: none)
ERROR: No matching distribution found for PyQt6>=6.7
The installation script has determined that at least one dependency is missing or is of an older version. The following dependencies should be installed. For more proficient users, the git repository contains the requirements.txt
# Optional
pip install PyQt6==6.7
pip install numpy==1.26
pip install netCDF4==1.7
pip install matplotlib==3.8
pip install basemap==1.4.1
Launch NtcPlot
ntcplot /your_path/file.nc
Contact
The author will soon share contact details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.