Skip to content

Which is the latest (stable) version of basemap? 1.0.8 or 1.0.7 (or other?) #267

Open

Description

@jypeter

I'm afraid this may be a stupid question, but I have found conflicting information about the latest basemap version and I'd like to know the correct answer. And maybe someone can improve the available information

In summary, it seems you can get a 1.0.7 stable release, and there is a more recent virtual (?) 2-year old 1.0.8 release ? This is a bit confusing

Activity

  1. micahcochran commented on Feb 22, 2016

    @micahcochran
    Contributor

    I believe the answer is 1.0.7. There might be a new release in the near future.

    The github development version is labeled 1.0.8.

    The documents stating 1.0.8 were probably generated on that date using the development version.

  2. jypeter commented on Feb 23, 2016

    @jypeter
    Author

    OK, so 1.0.8 is for now whatever are the latest files you can grab on github then?
    But wouldn't it be less confusing to have the documentation page mention 1.0.7, the stable release that's also referenced by Pypi?

  3. WeatherGod commented on Feb 23, 2016

    @WeatherGod
    Member

    Micah, I was trying to figure out how that inconsistency arose, and I think
    you figured it out.

    Jean-Yves, yes, once I figure out how to update the readthedocs page, I
    will do so (I am the new maintainer, and I haven't gone through a release
    cycle yet).

    On Tue, Feb 23, 2016 at 5:23 AM, Jean-Yves Peterschmitt <
    notifications@github.com> wrote:

    OK, so 1.0.8 is for now whatever are the latest files you can grab on
    github
    then?
    But wouldn't it be less confusing to have the documentation page mention
    1.0.7, the stable release that's also referenced by Pypi?

    —
    Reply to this email directly or view it on GitHub
    #267 (comment).

  4. davidedelvento commented on Jun 9, 2016

    @davidedelvento

    It would be less confusing if the development version would be label dev instead of future.release.number (currently 1.0.8) as it's the case for all the other software.

  5. davidedelvento commented on Jun 9, 2016

    @davidedelvento

    Also, there are rumors that the @jswhit is recommending cartopy instead of basemap, see e.g. SciTools/cartopy#525 -- However it looks like there is a fair amount of development in basemap, so those rumors sound strange. Are they true?

  6. efiring commented on Jun 10, 2016

    @efiring
    Member

    My impression is that Jeff is tired of supporting basemap, and sees cartopy as a promising replacement, long-term, with some potential advantages. At present, however, I don't think that one can easily do all of the things with cartopy that software using basemap can do. I expect I will be relying on basemap for quite a while. If I had no software already using basemap, and if cartopy were able to do everything that I needed (and expected to need in the next year or two), then I would probably use it instead.

  7. WeatherGod commented on Jun 10, 2016

    @WeatherGod
    Member

    @jswhit is no longer the maintainer of basemap, and it isn't a rumor that
    he recommends using cartopy for new developments/projects. Jeff has handed
    the reins for basemap over to me with the understanding that I plan on
    taking the project on its death march. I will make sure that it works for
    the most recent versions of its dependencies; I may even make incremental
    improvements here and there. I will also review and accept any PR with new
    features and bugfixes for the next few years.

    However, the codebase isn't very conducive to any refactors, and the test
    suite is next to nothing, so any major work would be very risky.

    I know I have kept on promising to do a release soon. The big barrier for
    me is finding the time to learn how to actually do a release. If I don't
    figure it out before SciPy 2016, I suspect that there will be several very
    qualified people there that will be able to walk me through the process.

    On Thu, Jun 9, 2016 at 8:04 PM, Eric Firing notifications@github.com
    wrote:

    My impression is that Jeff is tired of supporting basemap, and sees
    cartopy as a promising replacement, long-term, with some potential
    advantages. At present, however, I don't think that one can easily do all
    of the things with cartopy that software using basemap can do. I expect I
    will be relying on basemap for quite a while. If I had no software already
    using basemap, and if cartopy were able to do everything that I needed (and
    expected to need in the next year or two), then I would probably use it
    instead.

    —
    You are receiving this because you commented.
    Reply to this email directly, view it on GitHub
    #267 (comment),
    or mute the thread
    https://github.com/notifications/unsubscribe/AARy-E1Xh12CyKxORXgY-8b6He9v18_kks5qKKoZgaJpZM4Hc6DK
    .

  8. QuLogic commented on Jun 10, 2016

    @QuLogic
    Member

    At present, however, I don't think that one can easily do all of the things with cartopy that software using basemap can do.

    Such as, if I may ask?

  9. davidedelvento commented on Jun 10, 2016

    @davidedelvento

    @WeatherGod - thanks for the frank response!

  10. efiring commented on Jun 10, 2016

    @efiring
    Member

    @QuLogic, Undoubtedly part of the problem is that I am not aware of much in the way of cartopy examples and documentation, so I don't see how to do things. I have been using basemap for a long time, and I have written wrappers to make some basic things easy for me. I think the set of supported projections in cartopy is smaller, although it does have the advantage of providing the InterruptedGoodeHomolosine.
    As an example of the sort of plots I need to make, see http://currents.soest.hawaii.edu/nbpalmer/.
    My primary wrapper code is mainly in http://currents.soest.hawaii.edu/hgstage/pycurrents/file/729f3ecff26b/plot/maptools.py with the main entry point being the mapper function.
    Peripherally related: are there plans to keep the scitools channel more up to date in the future? I see that cartopy 14.0 has been out for a couple months, but the latest on scitools (at least for py3.5) is 13.1.

  11. jypeter commented on Jun 13, 2016

    @jypeter
    Author

    Thanks @WeatherGod for taking over basemap, because there are (still) lots of basemap users out there! I don't have much experience with cartopy, except that it looks nice and probably provides the tools I need. I also like the fact that there is some dedicated support available on stackoverflow, should I need it: https://stackoverflow.com/questions/tagged/cartopy

    The only thing I can say is that last time I tried to install cartopy into an existing python distribution (UV-CDAT), I quickly ran into dependency related problems that I did not have with basemap. But that was a while ago and has possibly been solved since. As far as I remember, basemap was much easier/lighter to install and I hope you can keep it that way

  12. crazyBaboon commented on May 10, 2017

    @crazyBaboon

    There is also Basemap in stackoverflow :)

    https://stackoverflow.com/questions/tagged/matplotlib-basemap

  13. jypeter commented on Aug 9, 2017

    @jypeter
    Author

    For the record (adding to my June 2016 comment) I had no dependency problems when installing cartopy into the conda-based UV-CDAT 2.10 (but I had problems with 2.8)

  14. molinav commented on Jan 2, 2022

    @molinav
    Member

    The latest stable release of basemap is out there for almost a week now (1.3.0). This version includes a signficant refactoring of the library into three parts, similarly to how Anaconda does (basemap, basemap-data and basemap-data-hires).

    Furthermore, basemap is now offered in PyPI with precompiled binary wheels available for Windows and GNU/Linux, for x86 and x64 architectures, for Python 2.7 and 3.5-3.9. I am willing to provide also binary wheels for MacOS but I didn't have the time and knowledge to do it for now:
    https://pypi.org/project/basemap
    https://pypi.org/project/basemap-data
    https://pypi.org/project/basemap-data-hires

    From my side, basemap will be still developed for the moment at least to fix all current known problems as well as the open issues here in GitHub. Just note that I do this mostly in my free time, so I depend a bit on my availability.

  15. jypeter commented on Jan 3, 2022

    @jypeter
    Author

    Thanks for the update @molinav ! It's good to know that basemap is still supported

  16. jypeter commented on Jan 3, 2022

    @jypeter
    Author

    @molinav could you make basemap-data available on conda-forge? It does not seem to be there (see below)

    Also, if basemap is (thankfully) still maintained for Python 3, you may want to update the information in Cartopy, New Management, and EoL Announcement and similar places

    >mamba install basemap-data
    
    Looking for: ['basemap-data']
    
    pkgs/r/linux-64          [====================] (00m:00s) No change
    pkgs/r/noarch            [====================] (00m:00s) No change
    pkgs/main/noarch         [====================] (00m:00s) Done
    pkgs/main/linux-64       [====================] (00m:00s) Done
    conda-forge/noarch       [====================] (00m:01s) Done
    conda-forge/linux-64     [====================] (00m:05s) Done
    Encountered problems while solving.
    Problem: nothing provides requested basemap-data
    
    
    >mamba install basemap-data-hires
    
    Looking for: ['basemap-data-hires']
    
    [...]
    Transaction
    
      Prefix: /home/share/unix_files/cdat/miniconda3_21-02/envs/cdatm_py3
    
      All requested packages already installed
    
    
  17. WeatherGod commented on Jan 3, 2022

    @WeatherGod
    Member
  18. molinav commented on Jan 3, 2022

    @molinav
    Member

    Yes, the conda-forge recipe will need an update from version 1.3.0, since the package structure has changed. This development takes place in another repo in which I do not have control:
    https://github.com/conda-forge/basemap-feedstock

    The rationale behind this split of basemap-data was to decrease the size of the uploaded packages in PyPI. If this data were placed inside the precompiled binary wheels, we will basically be uploading this 20 MB of data several times, for each architecture, operating system and Python version. In this manner, all the basic data is in one single binary wheel which basemap depends on.

    There is some slight difference between the basemap-data-hires from PyPI and Anaconda. In PyPI, the intermediate resolution files go into basemap-data instead of basemap-data-hires. Otherwise, basemap-data-hires was exceeding the maximum package size in PyPI.

    It is safe to install the latest basemap-data and basemap-data-hires using pip inside a conda environment because they have no dependencies. For basemap, however, I would recommend you to install with python -m pip install --no-deps basemap and install the dependencies yourself from the conda channels. The list of dependencies is in the requirements file.

    Ideally we should be able to have basemap available in conda-forge, but this has not happened yet.

  19. molinav commented on Jan 22, 2022

    @molinav
    Member

    Just for the record, I notified the need to update the conda recipe for basemap in conda-forge/basemap-feedstock/issues/87, but there is still no reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions