Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hypsographic Curve #203

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Hypsographic Curve #203

wants to merge 3 commits into from

Conversation

tcld
Copy link
Contributor

@tcld tcld commented Nov 18, 2015

While thinking about the values to choose for PR 188, I thought I might want to take a look at the elevation distribution of a world. So I added some code to generate a hypsographic curve of the world.

Data corresponding to this PR can be found here.

Example for the test-world (28070):
satellite_28070
image removed because it was ugly
The y-axis shows the different heights (all heights are occupied!), x shows the percentage - exactly as in the link about the hypsographic curve I gave above.

A couple of things can be seen:

  • oceans are kind of shallow in comparison to Earth
  • the general shape of the curve seems ok (even though the land is a bit too high on average)
  • there are some very high places in that world

It would probably be interesting to take a look at this plot right as the heightmap comes out of Platec. Aside from that I hope to finally find good values for PR 188 - if somebody can give hints, please do so.

EDIT: This also shows that we shouldn't just "fill up" the ocean to an arbitrary value after Platec generated the world making use of a very specific ocean-level. If the ocean_level variable is to be repaired, it should tie into Platecs generation.

EDIT2:
A slightly improved plot - there is a vertical line every ten percent now and a horizontal line for the different height thresholds (sea, plains, hills):
hypsographic_28070

Here what it would look like after #188, the thresholds from bottom to top being sea, plains, hills, low mountains, medium mountains, high mountains:
hypsographic_28070

@ftomassetti
Copy link
Member

About the fact that ocean are shallow: we can easily rescale that

@ftomassetti
Copy link
Member

I think this plot could be an interesting addition for the more technical users

@tcld
Copy link
Contributor Author

tcld commented Nov 19, 2015

I changed the code to make use of matplotlib. It is only one commit so far, so I could go back, if necessary.
hypsographic_28070

@tcld tcld mentioned this pull request Nov 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants