Skip to content

Time only - #35

Merged
Sulla2012 merged 16 commits into
mainfrom
time-only
Aug 7, 2026
Merged

Time only#35
Sulla2012 merged 16 commits into
mainfrom
time-only

Conversation

@Sulla2012

Copy link
Copy Markdown
Contributor

Update which moves all internal times to datetime. One word of caution is SQLlite does not preserve timezone information, so you have to reattach that when you get a datetime from the database. Copilot was used to identify how to correctly de-index a column that's being replaced, otherwise all code written by me. Note this is a branch of a branch which originally was going to also replace int IDs with UUIDs, that feature has been removed from this branch but there are still some commit messages mentioning it.

@Sulla2012
Sulla2012 requested review from JBorrow and axf295 July 27, 2026 20:17

@axf295 axf295 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

There seems to be a mixture of Time, datetime and AstropydanticTime? can we consolidate to astropy Time?

Comment thread mapcat/database/depth_one_coadd.py
Comment thread mapcat/database/depth_one_map.py
Comment thread mapcat/database/time_domain_processing.py
Comment thread mapcat/database/time_domain_processing.py
Comment thread mapcat/database/tod.py
Comment thread mapcat/database/tod.py
Comment thread mapcat/database/depth_one_map.py
@Sulla2012 Sulla2012 mentioned this pull request Aug 6, 2026
@Sulla2012
Sulla2012 merged commit 7547b6c into main Aug 7, 2026
13 of 16 checks passed
@Sulla2012
Sulla2012 deleted the time-only branch August 7, 2026 16:38
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