Skip to content

A console application to generate windmap image based on Line Integral Convolution algorithm.

Notifications You must be signed in to change notification settings

ZhiminXu/WindmapGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This is an application to generate a windmap image based on uwnd and vwnd data files from NOAA. It's built on Microsoft Visual Studio 2015.

The uwnd and vwnd data files can be downloaded from this website. The uwnd file records the wind speed in the direction of longitude, while the vwnd file in the direction of latitude. The wind data is a NetCDF file. Converting it to TIFF or Reading it directly using GDAL is up to you.

Thirdparties

GDAL, OpenCV, tinycolormap and cmdline are used int this application.

GDAL: An open source X/MIT licensed translator library for raster and vector geospatial data formats.

OpenCV: An open source computer vision library.

tinycolormap: A header-only, single-file library for colormaps written in C++11.

cmdline: A simple command line parser for C++.

Useage

Enter command line in the directory where the program is located.

Follow the instruction below:

usage: VectorFieldVis.exe --uwnd=string --vwnd=string --output=string
options:
  -u, --uwnd      uwnd    file path (string)
  -v, --vwnd      vwnd    file path (string)
  -o, --output    output  file path (string)

Example

Some uwnd file convereted to TIFF format:

And some vwnd file:

Windmap image generated:

About

A console application to generate windmap image based on Line Integral Convolution algorithm.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published