Comments (8)
@oldtree2008 if you activate your conda environment MAGPLUS_HOME
should be automatically set.
from magics-python.
Hi @prise6 ,
Did you get any error/warning messages? This seems to happen the the shapefiles wwhihc contain the coastlines can not be found at runtime. But there should be messages on that?!
Can not see this on any of my tests environments, but just downloading an Ubuntu 18.04 ...
Get back to you
Stephan
from magics-python.
Hi @prise6 ,
unfortunately, I can not reproduce your problem. Under Ubuntu 18.04 with mini conda I get the coastlines. Could you please try the python code
magics.info()
after your lines and tell us what you get?
Thanks
from magics-python.
Hi @StephanSiemen,
Thank you for your answer.
I do not have any warning or errors when using magics. This is the reason why i'm a bit lost.
Is there a debug mode i can turn on ?
Here is the executed code you ask:
magics.info()
Checking Magics: Magics 4.0.0 (64 bit)
Configuration files found in /opt/conda
I use docker, here's my Dockerfile:
FROM jupyter/tensorflow-notebook:7f1482f5a136
USER root
RUN apt-get update && \
apt-get install -y \
libmagplus3v5 \
libproj-dev \
proj-data \
proj-bin \
gdal-bin \
libgeos-dev \
libssl1.0.0 \
libssl-dev
RUN conda install -y -c conda-forge python-eccodes cartopy Magics=4.0.0
USER $NB_UID
Can you tell me where i shoud find my shapefiles wwhihc in my system ?
Thank you again.
from magics-python.
Hi @prise6 ,
I can currently not try your setup, but I noticed that you install Magics through apt-get and Conda. You do not need the apt-get one if you have Conda since Magics 4.0. Perhaps there is a mismatch if both versions are installed? Please try remove the installation of Magics through apt-get ("libmagplus3v5") and see if this helps.
Cheers
from magics-python.
@StephanSiemen ,
I removed libmagplus3v5
and build my image, unfortunately it doesn't work :/
Could it be a permission problem ?
from magics-python.
I have the same problem.
Unable to open /home/xxxx/anaconda3.shp or /home/xxxx/anaconda3.SHP.
Magics-ERROR: Can not open Shapefile /home/xxxx/anaconda3Magics
But selfcheck is Ok
python -m Magics selfcheck
Checking Magics: Magics 4.1.0 (64 bit)
Configuration files found in /home/xxxx/anaconda3
Found: Magics 'Magics 4.1.0 (64 bit)'.
from magics-python.
I have solved the problem. just set Environment variant MAGPLUS_HOME=/home/xxxx/anaconda3.
from magics-python.
Related Issues (14)
- Can not input xarray data HOT 7
- Can not install magics with conda. HOT 3
- How to change the image size in jupyter notebook? HOT 2
- Lambert projection is not working in magics 4.1.2. HOT 1
- How to put wind field into minput? HOT 3
- Generating a wind flags plot using ERA5 GRIBS data HOT 6
- Trying to generate a vertical cross section plot of a geopotential height anomaly
- mcont using U/V wind component
- cannot create magics.mxarray object HOT 3
- Can not make wind plot using mnetcdf,mwind.
- `dll.version` symbol not accessible starting with libMagPlus 4.7.0 HOT 6
- function `minput ` dosen't work, is there any example?
- How to list all parameter Names of "magics.mgrib()" and "magics.mmetbufr".
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magics-python.