Closed prise6 closed 4 years ago
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
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
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.
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
@StephanSiemen ,
I removed libmagplus3v5
and build my image, unfortunately it doesn't work :/
Could it be a permission problem ?
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)'.
I have solved the problem. just set Environment variant MAGPLUS_HOME=/home/xxxx/anaconda3.
@oldtree2008 if you activate your conda environment MAGPLUS_HOME
should be automatically set.
Hi,
I try to understand why in my plots i can't see any coastline. For example this code :
give me this plot:
OS: ubuntu 18.04 Magics installation: conda install -y -c conda-forge Magics=4.0.0
i would like to know if you have some test i can run to help me find why i can't draw coasts ?
Thanks