Adding Converters for mlcroissant[geo]#994
Open
HarshShinde0 wants to merge 6 commits intomlcommons:mainfrom
Open
Adding Converters for mlcroissant[geo]#994HarshShinde0 wants to merge 6 commits intomlcommons:mainfrom
HarshShinde0 wants to merge 6 commits intomlcommons:mainfrom
Conversation
- Add NASA UMM converter for Earth observation datasets - Add STAC (SpatioTemporal Asset Catalog) converter - Include Jupyter notebook examples for both converters - Add geo dependencies: geopandas, shapely, pyproj, rasterio, pystac, earthaccess - Update pyproject.toml with geo extras for geospatial functionality - fix: black lint for croissant/editor/views/record_sets.py
|
MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅ |
There was a problem hiding this comment.
Pull request overview
This PR introduces GeoCroissant converters for NASA UMM-G and STAC metadata formats, enabling transformation of geospatial metadata into Croissant format. The implementation includes comprehensive conversion logic, dependency management, and demo notebooks.
- Adds NASA UMM-G and STAC to GeoCroissant converters with support for collections, items, catalogs, and feature collections
- Introduces
mlcroissant[geo]extra with required geospatial dependencies (geopandas, shapely, pyproj, rasterio, pystac, earthaccess) - Includes demo notebooks demonstrating converter usage and validation
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| python/mlcroissant/pyproject.toml | Adds geo extra with geospatial dependencies and updates dev dependencies |
| python/mlcroissant/mlcroissant/_src/geo/stac_converters.py | Implements STAC to GeoCroissant converter with support for multiple STAC types |
| python/mlcroissant/mlcroissant/_src/geo/nasa_umm_converter.py | Implements NASA UMM-G to GeoCroissant converter with metadata extraction |
| python/mlcroissant/mlcroissant/_src/geo/demo/stac_conversion.ipynb | Provides demo notebook for STAC converter with example conversions |
| python/mlcroissant/mlcroissant/_src/geo/init.py | Exports converter functions for public API |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduce mlcroissant Converters for GeoCroissant
Add NASA UMM-G and STAC (SpatioTemporal Asset Catalog) converters to transform geospatial metadata into Croissant format. Includes demo notebooks for both converters.
Cc: @omshinde