Code Monkey home page Code Monkey logo

Comments (5)

amotl avatar amotl commented on July 17, 2024

Dear @awipslinuxuser,

thanks for writing in. I just verified it works when aiming for a development sandbox [1]:

git clone https://github.com/earthobservations/gribmagic.git
cd gribmagic
python3 -m venv .venv
source .venv/bin/activate
python setup.py develop

python -V
Python 3.9.7

gribmagic --help

Commands:
  dwd      DWD GRIB data downloader.
  install  Install helper programs.
  smith    Toolsmith.
  unity    Unified NWP data downloader.

For a regular installation, you might just want to use pip, like:

python3 -m venv .venv
source .venv/bin/activate
pip install gribmagic --upgrade

Let me know if you still observe any problems. If so, please share a more detailed error message.

With kind regards,
Andreas.

[1] There is also a section in the documentation about the development sandbox, see https://github.com/earthobservations/gribmagic/#development.

from gribmagic.

amotl avatar amotl commented on July 17, 2024

All right. This program does not have a GUI, please use the CLI.

from gribmagic.

Linuxuser1234 avatar Linuxuser1234 commented on July 17, 2024

@amotl the one script i cant run is in the demo folder that is magics.py it keeps saying

Traceback (most recent call last):
  File "magics.py", line 4, in <module>
    from magics import macro as magics
  File "/home/kali/Desktop/gribmagic-main/demo/magics.py", line 4, in <module>
    from magics import macro as magics
ImportError: cannot import name macro

from gribmagic.

amotl avatar amotl commented on July 17, 2024

Dear @awipslinuxuser,

thanks for sharing the traceback. This essentially means that the Magics program and/or its Python bindings are not installed on your machine. There is some documentation about this at the section about the bbox tool, see [1]. YMMV.

In the best case, to get it running, you would invoke something along the lines of

apt-get install --yes libmagplus3v5
pip install gribmagic[plotting]

and then run the gribmagic program [2].

With kind regards,
Andreas.

[1] https://github.com/earthobservations/gribmagic#run-bbox-tool
[2] The main subsystems available from this package are exposed via the gribmagic program entrypoint, this is probably the CLI interface you might want to use. All programs in the demo folder are actually just scribbles, I probably should rename this folder to spikes.

from gribmagic.

Linuxuser1234 avatar Linuxuser1234 commented on July 17, 2024

ok thats what i didn't do ok because i did install macro also I'm developing a software for weather radar on python if you want to help

from gribmagic.

Related Issues (7)

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.