earthobservations / gribmagic

Generic weather forecast downloader
https://community.panodata.org/t/developing-gribmagic/233
MIT License
21 stars 2 forks source link

Add command line entrypoint "gribmagic" and prepare packaging #8

Closed amotl closed 3 years ago

amotl commented 3 years ago

Hi again,

this adds a setup.py file in order to make gribmagic a real package and also adds a real commandline entrypoint, also named gribmagic.

Based on that, the program can now be invoked like:

export GM_DATA_PATH=.gribmagic-data
gribmagic unity --model=icon_eu --timestamp=2021-10-03T00:00:00Z

With kind regards, Andreas.

/cc @meteoDaniel