-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Plotting helpers for TiledDataset (#408)
* Add broken plot method for TiledDataset * Need projection in plots * Just plot the first image of each tile * Clear x and y labels except on the middle edge tiles Assumes a grid of 3x3 tiles, not sure if this will always be true * Make plot function plot at a user-supplied index * Also pass plot kwargs through to ds.plot * More robust axis labelling * Swap tile titles for suptitle with timestamp * Optionally share colour scaling Just takes the clim values from each tile and uses the highest and lowest * Add figure test for `TiledDataset.plot()` * Update dkist/dataset/tiled_dataset.py Co-authored-by: Stuart Mumford <[email protected]> * Add filter to tar file extraction This is to avoid a deprecation warning when it's not specified explicitly, but is just using the default anyway. * Use sample data for TiledDataset plot test and update hashes * Add changelog * Try downloading data before tests instead of during * Make sure we're not running figure tests outside the figure test env * Move sample data import into figure test * Yeah still need this * Explicit is better than implicit * Maybe this will help * Rebin tileddataset for plot test to reduce memory usage * Try more memory again and smaller plots * Looks like we don't actually need this after all? * Update dkist/dataset/tests/test_tiled_dataset.py Co-authored-by: Stuart Mumford <[email protected]> * Update dkist/dataset/tests/test_tiled_dataset.py Co-authored-by: Stuart Mumford <[email protected]> * Resinstate codecov upload in figure test * Update scale arg name to zscale * Update figure hashes * Add codecov_upload script for circle CI Not sure how this wasn't already here * Update TiledDataset plot title --------- Co-authored-by: Stuart Mumford <[email protected]>
- Loading branch information
Showing
9 changed files
with
63 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash -e | ||
curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import | ||
curl -Os https://uploader.codecov.io/latest/linux/codecov | ||
curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM | ||
curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig | ||
gpgv codecov.SHA256SUM.sig codecov.SHA256SUM | ||
shasum -a 256 -c codecov.SHA256SUM | ||
chmod +x codecov | ||
./codecov "$@" |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add `TiledDataset.plot()` quicklook method. |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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