Skip to content

Conversation

@dfulu
Copy link
Member

@dfulu dfulu commented Dec 18, 2025

This PR adds the projection coordinates to the dataset. This should solve #28

  • Also standardised the namings of some of the internal functions to all start with _
  • Also I've added type hints inside _map_scene_to_dataset() for the values we extract directly from the attrs but not for the values we extract through functions since the functions have return type hints anyway
  • Also added these new variables to the storage test (plus the missing cal_slope and cal_offset)

@dfulu dfulu changed the title Projection location metadata Add projection coordinates Dec 18, 2025
@dfulu dfulu changed the base branch from main to satellite_metadata December 18, 2025 13:37
@dfulu dfulu requested a review from devsjc December 18, 2025 13:37
Copy link
Contributor

@devsjc devsjc left a comment

Choose a reason for hiding this comment

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

Nice, appreciate the internal function name consistency!

@devsjc devsjc force-pushed the projection_location_metadata branch from 94bb89f to 8a48c96 Compare December 18, 2025 22:13
@dfulu dfulu merged commit 5f2be9a into satellite_metadata Dec 22, 2025
4 checks passed
@dfulu dfulu deleted the projection_location_metadata branch December 22, 2025 10:35
devsjc added a commit that referenced this pull request Dec 22, 2025
* feat(storage): Add new data vars and metadata

* chore(repo): Refactor and simplify service

* feat(service): Enable icechunk

* feat(process): Enable sharding

* fix(repo): Correctly use importlib

* feat(download): Save raw files in subfolders

* chore(download): Address PR comments

* chore(process): Specify earth disk

Co-authored-by: James Fulton <[email protected]>

* feat(write): Properly check for existing times

* fix(process): Efficient satpy usage (#67)

* Refactor satpy usage for speed

* lint

* Add attrs

* Speed up nan-frac calculation (#68)

* Speed up nan-frac calculation

* linting

* enforce type

* chore(process): Speed up coordinate reordering (#69)

speed up spatial coord sorting

* chore(pyproject): Satpy pin

* chore(process): More NaN leeway

* chore(consume): Don't break on skipped low-quality files

* chore(process): Refactor geos bound calculation (#70)

* Use area attr to calculate geos bounds

* linting

* igore type

* chore(repo): Linting

---------

Co-authored-by: devsjc <[email protected]>

* fix(consume): Don't break on validation error

* fix(process): Allow ValidationError through

* Add projection coordinates (#72)

* fix(process): Save instrument as fixed length string

* chore(process): Increase NaN allowable threshold

* chore(process): Allow 20% NaNs on earth disk

---------

Co-authored-by: James Fulton <[email protected]>
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.

3 participants