Closed kadrlica closed 2 years ago
@erykoff are you willing to take a look at this (looks like you aren't in the rubin-dp0
org, so I can't assign you as a formal reviewer).
This looks great; reviewing notebooks is a pain, though.
A few questions: 1) Are these notebooks supposed to follow DM style guide/flake8 formatting? 2) For the final 2x2 plots, it's also possible to get per-tract property maps (not consolidated). I don't know if this would make the tutorial more complicated or less complicated. But you can get the file with a dataset type without the consolidated, and a data id that includes tract, skymap, and band. 3) Also for those, I guess skyproj didn't work for the sub-plots? If not, could you file an issue on skyproj?
Thanks Eli.
# Set the figure's projection to be the WCS of the calexp
plt.subplot(projection=WCS(calexp.getWcs().getFitsMetadata()))
Looks good! Formatting of the code looks correct now (thanks flake8
!). I definitely don't think that (2) is necessary, but wanted to point it out. And for (3) I was just curious if there was a problem with skyproj, I haven't actually tried this, but I will on my own time.
This is an adaptation from Eli's notebook on visualizing survey properties using healsparse and skyproj. Thanks to Melissa for her additions!