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

Framework for reprojection to ellipsoid heights #38

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

scottyhq
Copy link
Member

  • Closes #xxxx
  • Tests added
  • Tests passing
  • Full type hint coverage
  • New functions/methods are listed in api.rst
  • New functionality has documentation

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@@ -109,3 +207,713 @@ def plot_maxar_browse(item: pystac.Item, overview_level: int = 0) -> plt.Axes:
da.plot.imshow(rgb="band", add_labels=False, ax=ax)
ax.set_aspect(aspect=1 / np.cos(np.deg2rad(mid_lat)))
ax.set_title(item.id)


# NOTE: xdem.DEM.hillshade method expects the same x and y resolution
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This gets back to scoping. Should xdem just be a dependency (coincident as 'kitchen sink' package), or instead just focus on search and data organization to hand off to these other libraries?... In any case, for now I think this basic visual hillshade is convenient to have for plots! The GDAL hillshade implementation is also a bit more sophisticated with handling different x/y/z scales: https://gdal.org/en/stable/drivers/raster/vrt.html#vrt-that-computes-hillshading-using-an-external-library

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

2 participants