Comments (5)
I saw you removed the exact dependency to branca 0.3.1
in release 0.13.5.
Thanks, this issue can be closed.
from climetlab.
Yes, I guess the setup.py could then be updated to branca<=0.3.1,branca>=...
Do you want to submit a PR?
from climetlab.
It's difficult for me to submit a PR because :
- I don't know what is exactly climetlab problem with branca>0.3.1, I only know that the branca issue is referenced in
setup.py
- the branca issue is closed not because of a change in branca, but because of a new folium support in streamlit with streamlit-folium library (see python-visualization/branca#81 (comment))
So I don't know if the climetlab problem (I guess it has something to do with folium, which by the way is an optional dependency) would be resolved by changing branca dependency, or changing folium dependency, or adding streamlit-folium dependency...
If you give me the scenario to reproduce the problem, I could make some tests and maybe then submit a PR.
My problem is that a would like to use climetlab and other packages requiring branca>0.3.1 in the same python program...
from climetlab.
This was introduced to make sure this notebook works, for interactive maps: https://climetlab.readthedocs.io/en/latest/examples/17-interactive-maps.html
This notebook is expected to work when we install pip install climetlab[interactive]
At this time we had to install the dependencies "skinnywms" and "folium>=0.12.1" (see in the setup.py, the extra "interactive").
Since it causes weird dependency problems with branca versions and the most robust solution were to set branca>0.3.1.
I suggest using this notebook as a test (there are no test on this interactive map, this is a very experimental feature). If it still works, as long as the other tests, we are good to go.
from climetlab.
Sorry, I don't have the time nor the competencies (not a folium user) to work on this...
I just think it's not a good thing to have a 5 years old dependency in climetlab and that you should find a way to update it.
May be changes in _folium.py
would be necessary to achieve that.
Until then, may be branca==0.3.1
could only be an extra "interactive" dependency ?
from climetlab.
Related Issues (20)
- Merge strategy/options HOT 3
- Feature preparation for weather data to use in AI/ML application HOT 7
- Loading CSV with Pandas in CML HOT 2
- ValueError: cannot include dtype 'M' in a buffer HOT 5
- add support for loading single-precision data from GRIB files HOT 1
- Pip not able to install climetlab (v0.11.31) in windows with Python 3.7 : HDF5 headers not found HOT 5
- install as many dependencies as possible with conda, then pip: a small example please ? HOT 3
- Load the dataset locally HOT 4
- Is climetlab still supported on Python 3.7 HOT 3
- Doing `pip install climetlab` does not install s3fs which is required to load zarr sources HOT 3
- `load_source` does not work in my system with `'url'` data source HOT 5
- `to_pandas` warning HOT 2
- No module named 'climetlab.ml' when running cml.load_source HOT 3
- cml.plot_map doesn't show map HOT 5
- Request for Enhanced Documentation on Diverse Data Retrieval in ClimetLab HOT 1
- Changelog update
- Example of `plot_map` method in a climetlab dataset package
- Adding `cos_solar_zenith_angle_integrated` function from earthkit-meteo
- Review lat/lon iterator for rotated reduced Gaussian grids
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 climetlab.