-
Notifications
You must be signed in to change notification settings - Fork 9
test data mapbox_st_helens.png and terrarium.png result is not expected #33
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
Comments
terrain = decode_ele(terrarium, 'mapbox') Well this is wrong. You're decoding a terrarium-encoded file as if it were encoded with mapbox encoding |
The St Helens file came from Mapbox, and so that should be loaded with From your screenshot, the mesh from St Helens looks flat. You should be able to easily get the elevations of each vertex in the mesh and use numpy to get min/max values. Can you do that and verify that those min/max values are in the range of Mt. St. Helens? I would not be surprised if the error is in the conversion to meshio, not in my code. I never had an issue like this with pydelatin or with pymartini in production. |
how to get the elevations of each vertex in the mesh and use numpy to get min/max values ? thanks and best regards |
Uh oh!
There was an error while loading. Please reload this page.
env
google colab
steps
code
result


expected result

elevation is show accurately like mt_fuji.png in your github test data
best regards
The text was updated successfully, but these errors were encountered: