-
Notifications
You must be signed in to change notification settings - Fork 15
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
Assorted improvements for TiledDataset #402
Conversation
CodSpeed Performance ReportMerging #402 will not alter performanceComparing Summary
|
4b8c4ed
to
6d2fff2
Compare
6d2fff2
to
29a40f6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of things to sort
dkist/dataset/utils.py
Outdated
wcs = ds.wcs.low_level_wcs | ||
|
||
# Pixel dimensions table | ||
|
||
instr = ds.meta.get("instrument_name", "") | ||
instr = ds.inventory.get("instrument_name", "") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this starting to work doesn't cause a test to fail something has gone wrong.
instr = ds.inventory.get("instrument_name", "") | |
instr = ds.inventory.get("instrument", "") |
9fe4d14
to
3649cf1
Compare
Just uses ds[0, 0] for now for ease of putting something together. Closes DKISTDC#401
Ripped off from the one for Dataset.__repr__
f0667d5
to
77ebde1
Compare
Add
__repr__
(just uses ds[0, 0] for now for ease of putting something together). Closes #401Add
tiles_shape
property. Closes #403Add
slice_tiles()
method to apply the same slice to all datasets. Closes #404