GithubHelp home page GithubHelp logo

ogcmetoceandwg / worldweathersymbols Goto Github PK

View Code? Open in Web Editor NEW
75.0 16.0 29.0 1.97 MB

A complete set of WMO weather symbols in SVG with full metadata.

Home Page: https://github.com/OGCMetOceanDWG/WorldWeatherSymbols

License: Other

Makefile 3.03% Python 73.46% Shell 23.51%

worldweathersymbols's Introduction

Build Status

WorldWeatherSymbols

A complete set of WMO weather symbols in SVG with full metadata

Download

The full repository sources are available at https://github.com/OGCMetOceanDWG/WorldWeatherSymbols.git

Accessing the symbols

Pre-generated PNGs

A set of pre-generated PNGs are available for download at https://github.com/OGCMetOceanDWG/WorldWeatherSymbols/releases/download/0.6.0/WorldWeatherSymbols-0.6.0-png.zip.

Building PNGs

To build PNG equivalents of the symbols, run ./scripts/wws_manage.sh png. Output PNG files are located in png/. Inkscape is required to run the conversions.

Viewing the symbols

The symbols and their descriptions

A list of symbols with their filenames and associated descriptions is provided in symbols subfolders in the respective README.md files (example for the Ft_Fronts subfolder). Those README.md files are generated automatically by the wws_manage.sh script. These lists act a short guides to the WMO WorldWeatherSymbols.

Displaying the symbols on GitHub

WorldWeatherSymbols can be displayed directly on Github either by opening the symbol's svg file or by using RawGit to include symbols in Markdown-formatted files, example: Front_Cold_at_surface.

Version history

See HISTORY.txt

worldweathersymbols's People

Contributors

alexandreleroux avatar bblay avatar brentlemons avatar chris-little avatar stephansiemen avatar tomkralidis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

worldweathersymbols's Issues

resolution and styles

Provide a different resolution, such as 100x100 or 20x20, or with optional styles encoded, or significant extra symbols added.

In symbols directories, add readmes with symbols

Here's a suggestion. If you agree that it's a good idea, I can implement.

The idea is to add readme.md files in each of the symbols directories, such as CH_CloudHigh, and display in the readme itself the symbols of the associated directory. This can be done by leveraging RawGit.com.

Benefit: users would be able to see all symbols of a directory at once while browsing the GitHub repos instead of having to click all svg symbol individually to find out what they look like. Cheers -- Alex

update wws_manage.sh for readmes case

I think the following code in wws_manage.sh needs to be updated for case = readmes:

 cat <<END
Usage: `basename $0` <png>
  png: generate PNG versions of symbols
END

Right?

rotate default view of wind arrow symbols

When symbolizing the compound value of wind speed and wind direction, to choose which wind arrow symbol to be used, we use the following approach:

  • map wind speed value to the appropriate wind arrow icon
  • set angle / rotation of symbol based on wind direction (0-360 degrees)
  • display

In our case we use MapServer and have data driven symbol selection based on our observed properties of wind speed / wind direction.

The wind arrow type symbols, by default, have an orientation which needs to be rotated if used as part of automated systems per above. As a result, part of our automated build process has to rotate the symbols accordingly (i.e. rotate all 'north' images 90 degrees CW, rotate all 'south' 90 degrees CCW).

Should we have these rotated to 0 degrees in the codebase by default?

The list of wind arrow symbols can be found with find . -type f -name "*.svg"|grep -i arrow or find . -type f -name "*.svg"|grep -i wind

@chris-little: there may be reasons for having the wind arrow images oriented this way by default, in which case feel free to mark this invalid. Else we can rotate them as default orientation.

Identifying target requirements for version 1.0

Tagging a version as 1.0 is a sign of maturity and will certainly attract more users and organizations to start using those symbols in their projects. Currently, we have some ideas identified in the TODO.txt file, but we don't currently have milestones or target requirements for eventually tagging a version 1.0.

My suggestion would be to create and discuss what improvements and changes should Version 1.0 of the WorldWeatherSymbols have. Without a clear path forward and a list of potential improvements, we won't reach maturity as quickly as we could. Thoughts / comments? Thanks -- Alex

CC license version in symbols

Hello...

It appears that the intent of PR #39 was to update the license version to CC BY 4.0, however it looks like only the protocol in the URLs was changed from http to https. The license referenced in the SVG symbols is still CC-BY-3.0.

Screen Shot 2022-09-30 at 9 44 49 AM

Missing license information

Currently, there's no indication anywhere about WWS's associated license, right? That's missing and should be added.

Thanks! -- Alex

Wrong calm wind svg symbol?

Hi, I think the calm wind symbol might be wrong. Everywhere I looked, this symbol is a complete empty cercle. Currently, the symbol in this repos is a broken cercle, not complete:
ddff_WindArrows/WeatherSymbol_WMO_WindArrowCalm_00.svg

Can this issue be confirmed, and if so, then fixed? Thanks -- Alex

add utility to change color of SVG

Looks like we have defaults of:

  • stroke:#000000
  • fill:#000000

Add a utility which allows the user to specify a hex, rgb, or color to update an SVG.

pretty printing of svg files

Currently, SVG files are not pretty printed in the codebase. We have discussed that this may be valuable.

I've added pretty print utility by running

$ ./scripts/wws_manage.sh pp # needs svgpp command, install with apt-get install libbatik-java

which will pretty print all .svg files in the codebase.

@chris-little, @iedwards: if we want this for all files in the codebase, I can run a one time process and commit/push. Subsequent workflows by committers would then include running this command before pushing changed files (even though the script pretty prints all files, git will only detect changed files as staged for commit).

Comments?

Providing pre-generated PNGs

What about providing pre-generated PNGs to users? Or a link to such a repository?

I know we can generate the PNGs with the included script, but the process is out of reach to lots of casual users. As an example, on MacOSX, installing Inskcape is not enough, you need XQuartz too, and still then, you may end up with missing libraries to run the script and need to run a 'make' (at least, this was the case on my MacOSX 10.8.5 system) - this is asking way too much to potential users of the WorldWeatherSymbols. Let's make WorldWeatherSymbols more accessible to all by providing pre-generated PNGs? Thanks -- Alex

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.