Skip to content

Add load_* functions to support more remote relief datasets #2431

Closed

Description

@seisman

Description of the desired feature

The GMT side is working on the lunar relief dataset for remote use and it's close to being finished (GenericMappingTools/gmtserver-admin#167). Similar to other load_earth_* functions (xref #1786), we need to add a load_moon_relief function to download and load the data.

Activity

  1. added
    feature request
    on Mar 16, 2023
  2. michaelgrund commented on Mar 16, 2023

    @michaelgrund
    Member

    Would like to work on this if the GMT-side implementation is done!

  3. Esteban82 commented on Mar 19, 2023

    @Esteban82
    Member

    Not just the Moon. Also Mercury, Venus, Mars and Pluto.

  4. changed the title [-]Add load_moon_relief function to load remote lunar relief dataset[/-] [+]Add load_* functions to support more remote relief datasets[/+] on Mar 19, 2023
  5. seisman commented on Mar 19, 2023

    @seisman
    MemberAuthor

    Not just the Moon. Also Mercury, Venus, Mars and Pluto.

    Thanks, I've updated the PR title.

  6. added this to the 0.11.0 milestone on Sep 2, 2023
  7. seisman commented on Sep 9, 2023

    @seisman
    MemberAuthor

    As shown in GenericMappingTools/gmtserver-admin#219, the building of the planetary relief datasets is almost finished. These new datasets are still not available on the GMT main server but are available on the candidate server (http://candidate.generic-mapping-tools.org/server/).

    I think @PaulWessel decided to release these new datasets at the same time as the GMT 6.5 release, which may happen shortly (maybe in a few weeks).

    It would be great if we could add load_* function to support these new datasets. When the new datasets are released with GMT 6.5, we can add the following sentence to the announcement:

    You may also want to try the latest PyGMT dev version, which already provides the load_xxx_relief functions to help you load these new datasets as xarray.DataArray.

    We can also decide if these new functions are worth a new PyGMT release, i.e., releasing GMT 6.5, the new datasets, and PyGMT v0.11.0 at the same day, although PyGMT v 0.10.0 was released only a few days ago.

  8. Esteban82 commented on Sep 9, 2023

    @Esteban82
    Member

    I think @PaulWessel decided to release these new datasets at the same time as the GMT 6.5 release, which may happen shortly (maybe in a few weeks).

    Most likely, because in order to access the highest resolution of the some planets a new GMT version is needed (see GenericMappingTools/gmtserver-admin#171 (comment)). Maybe will you have the same issue?

  9. seisman commented on Sep 9, 2023

    @seisman
    MemberAuthor

    I think @PaulWessel decided to release these new datasets at the same time as the GMT 6.5 release, which may happen shortly (maybe in a few weeks).

    Most likely, because in order to access the highest resolution of the some planets a new GMT version is needed (see GenericMappingTools/gmtserver-admin#171 (comment)). Maybe will you have the same issue?

    Didn't realize the issue yet. Will read and see what happens.

  10. weiji14 commented on Sep 9, 2023

    @weiji14
    Member

    We can also decide if these new functions are worth a new PyGMT release, i.e., releasing GMT 6.5, the new datasets, and PyGMT v0.11.0 at the same day, although PyGMT v 0.10.0 was released only a few days ago.

    Probably just need a patch release (v0.10.1) to support GMT 6.5? Depends on how backward incompatible things are. It sounds like most other functions should still be ok, just the remote datasets are affected.

  11. seisman commented on Sep 12, 2023

    @seisman
    MemberAuthor

    Depends on how backward incompatible things are. It sounds like most other functions should still be ok, just the remote datasets are affected.

    See GenericMappingTools/gmtserver-admin#171 for more discussions if you're interested. As far as I can see, there are no backward incompatibilities between 6.4 and 6.5. GMT 6.4 can access all these new remote datasets except a few full-resolution grids (e.g., pluto grid with a 52.0732883317s increment), while GMT 6.5 can.

    Probably just need a patch release (v0.10.1) to support GMT 6.5?

    The point is to provide more load functions (e.g., load_moon_relief in PR #2674) to load the new datasets into xarray.DataArray object. These are new features and should be included in v0.11.0. The question is, do we want to release v0.11.0 in Jan, 2024 following our quarterly release policy, or release earlier, on the same day as GMT 6.5.

  12. weiji14 commented on Sep 19, 2023

    @weiji14
    Member

    The question is, do we want to release v0.11.0 in Jan, 2024 following our quarterly release policy, or release earlier, on the same day as GMT 6.5.

    When is the planned release date for GMT 6.5? October? November?

  13. seisman commented on Sep 19, 2023

    @seisman
    MemberAuthor

    The question is, do we want to release v0.11.0 in Jan, 2024 following our quarterly release policy, or release earlier, on the same day as GMT 6.5.

    When is the planned release date for GMT 6.5? October? November?

    Ping @PaulWessel

  14. PaulWessel commented on Sep 19, 2023

    @PaulWessel

    We are close but I have many non-GMT days next 2 weeks so maybe Oct 15

  15. pinned this issue on Dec 21, 2023
  16. added
    help wanted
    on Jan 14, 2024
  17. modified the milestones: 0.11.0, 0.12.0 on Feb 1, 2024
  18. unpinned this issue on Feb 1, 2024
  19. removed this from the 0.12.0 milestone on Feb 26, 2024
  20. yvonnefroehlich commented on Dec 22, 2024

    @yvonnefroehlich
    Member

    Two questions:

    • Do we want to have a combined function for the or the "IGPP Earth South-North Deflections" and "IGPP Earth West-East Deflections" datasets, similar as for the Earth relief and Earth magntic field datasets?

    • Do we want to include the "IGPP Earth Free-Air Anomaly Errors" dataset within the already existing function load_earth_free_air_anomaly for the "IGPP Earth Free-Air Anomaly" dataset?

  21. yvonnefroehlich commented on Dec 22, 2024

    @yvonnefroehlich
    Member

    Would like to work on this if the GMT-side implementation is done!

    @michaelgrund you showed interest in working on this issue some time ago. Just wanted to ask on which of the remaining datasets you prefer to work 🙂.

  22. seisman commented on Dec 23, 2024

    @seisman
    MemberAuthor
    • Do we want to have a combined function for the or the "IGPP Earth South-North Deflections" and "IGPP Earth West-East Deflections" datasets, similar as for the Earth relief and Earth magntic field datasets?

    Yes

    • Do we want to include the "IGPP Earth Free-Air Anomaly Errors" dataset within the already existing function load_earth_free_air_anomaly for the "IGPP Earth Free-Air Anomaly" dataset?

    Yes.

  23. modified the milestones: 0.15.0, 0.14.0 on Dec 26, 2024
  24. removed
    help wanted
    on Dec 30, 2024
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

    feature request

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions