GithubHelp home page GithubHelp logo

genericmappingtools / egu22pygmt Goto Github PK

View Code? Open in Web Editor NEW
29.0 10.0 5.0 18.19 MB

Crafting beautiful maps with PyGMT at EGU22

Home Page: https://www.generic-mapping-tools.org/egu22pygmt

License: Creative Commons Attribution 4.0 International

Jupyter Notebook 99.41% TeX 0.59%
egu22 pygmt open-science workshop-materials jupyterbook python

egu22pygmt's Introduction

EGU22 SC5.2: Crafting beautiful maps with PyGMT

Jupyter Book Badge deploy-book

Material for the PyGMT short course at EGU General Assembly 2022!

Recording:

A recording of the full short course is available on YouTube:

YouTube Playlist

Conveners:

When:

Where: Online/Virtual

Website: https://meetingorganizer.copernicus.org/EGU22/session/43186

Schedule

Time (UTC) Event
13:10-13:17 Introduction
13:17-13.39 Anatomy of a PyGMT figure
13:39-13.55 Integration with the scientific Python ecosystem
13:55-14.15 Making some Mars maps with pygmt
14:15-14.40 LiDAR Point clouds to 3D surfaces

Getting started

Quickstart

Launch on regular Binder. Try this first!

Binder

Launch on Pangeo Binder. Hosted on AWS US West2 region. Requires GitHub account, but is more powerful (more CPU/RAM).

Pangeo Binder

Code of Conduct

All involved individuals must follow the EGU General Assembly rules of conduct and PyGMT Code of Conduct. Act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community. Any questions/concerns can be raised in private via email to the EGU programme committee and/or any of the short course conveners.

License

Creative Commons License
This content is licensed under a Creative Commons Attribution 4.0 International License.

egu22pygmt's People

Contributors

andrebelem avatar jsta avatar leouieda avatar maxrjones avatar weiji14 avatar yvonnefroehlich avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

egu22pygmt's Issues

Countries not showing up in world map example

User reported at https://forum.generic-mapping-tools.org/t/not-able-to-draw-closed-polygons-using-pygmt/3663 that the geopandas.GeoDataFrame plot example in https://www.generic-mapping-tools.org/egu22pygmt/ecosystem.html isn't working.

fig.plot(data=world, pen="1p,black", close=True, color="+z", cmap=True, aspatial="Z=pop_est")

produces this error

plot [ERROR]: OGR parsing incomplete (is file missing OGR statements?) - abort

and a blank map
image

The change happened after #23 on Nov 2022 (see diff on gh-pages branch at 6b59921), and my guess is that this is related to the naturalearth_lowres update in geopandas/geopandas#2418 in Jun 2022 which updated the GeoDataFrame to have a mix of Polygon/MultiPolygon types, which isn't supported yet in PyGMT/GMT (see GenericMappingTools/pygmt#2405).

TODO: Update the notebook with some workaround so that the map is showing in the JupyterBook. E.g. following https://forum.generic-mapping-tools.org/t/not-able-to-draw-closed-polygons-using-pygmt/3663/3, or some other non-explode way.

Upload short course video(s) to Youtube channel

Thread to coordinate upload of tutorial videos to https://www.youtube.com/c/TheGenericMappingTools, continuing from #1 (comment).

For convenience, here's a link to all the videos:

@meghanrjones, let me know if you're ok to handle this? Or I can upload them (since I already have them all on my computer) if you give me permission to the Youtube channel.

In terms of licensing, looking at https://egu22.eu/guidelines/short-course_guidelines.html and https://egu22.eu/abstracts_and_programme/licence_and_copyright.html, it seems that everything will just be CC-BY-4.0 licensed which allows "Share โ€” copy and redistribute the material in any medium or format" as long as we give proper attribution.

Content for EGU22 PyGMT short course

Continuing on from GenericMappingTools/website#131 (comment), we're going to have a 10 min intro + 4x20min sessions (total 90 min) for the PyGMT short course on 24 May 2022. This issue is for discussing what sort of material we'd like to teach, and sort out who is doing what (i.e. logistics).

๐Ÿ‘‰ Draft outline: https://hackmd.io/@pygmt/egu22pygmt_outline

Important dates:

  • 31 Mar 2022 - Early bird registration deadline
  • 14 Apr 2022 - On-site attendance registration deadline
  • 18 May 2022 - Short course pre-recording upload deadline
  • 24 May 2022 - PyGMT short course

Note that the short course content can be pre-recorded ahead of time. I'm suggesting that we set an individual deadline on Friday 6 May 2022 Tuesday 10 May 2022 to have the presentation material (in mp4 format) ready for upload (though let me know if this doesn't work). This should give us time to review each other's work, make corrections, and merge the presentation together into the final 1.5 hour presentation (max 2-3GB) by the hard deadline on Wednesday 18 May 2022. Note that the EGU upload 'portal' is open from 9โ€“18 May 2022 according to https://egu22.eu/guidelines/short-course_guidelines.html.

Also, @meghanrjones suggested at GenericMappingTools/website#131 (comment) that we can have a think about having some sort of interactive component (e.g. gather.town with the participants).

@leouieda, @meghanrjones, @andrebelem. I've set up a poll at https://www.when2meet.com/?15145108-mijPx so that we can have a 1 hour Zoom meeting to discuss this in more detail. (Edit: cancelling the meeting since hard to get everyone together, see #1 (comment)) But feel free to jot down any ideas you have below!

Pop-up EGU22 networking event 25 May 2022 at 17:00UTC/19:00CEST

Both @meghanrjones and @andrebelem suggested at GenericMappingTools/website#131 (comment) and #1 (comment) that we have some sort of virtual networking event for the EGU22 conference for PyGMT.

Officially, we probably should use https://webforms.copernicus.org/EGU22/pop-up-networking to organize this, but we can use just about any platform. So, do we want this to be on:

  • Zoom
  • Gather.town
  • Discord
  • Google Meet

For the date, let's vote using https://www.when2meet.com/?15752037-Itjqh. Yes I realize this is a bit last minute ๐Ÿ˜…

Issue on page /first-figure.html

hello,
im trying to open this in binder but it is showing the following error

Capture

what should i do? i am completely new to this platform both gmt and binder.

thank you in advance
aswini

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.