Repository navigation
DM-56333: DP2 NB: 201_17 tutorial on the visit_summary table - #222
Conversation
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
| @@ -0,0 +1,1046 @@ | |||
| { | |||
There was a problem hiding this comment.
make sure flake8 runs clean. there are a few failures.
$ flake8-nb DP2/200_Data_products/201_Catalogs/201_17_Visit_summary_table.ipynb --max-line-length=99 --ignore=E133,E226,E228,E266,N802,N803,N806,N812,N813,N815,N816,W503
DP2/200_Data_products/201_Catalogs/201_17_Visit_summary_table.ipynb#In[ ]:3:1: E124 closing bracket does not match visual indentation
DP2/200_Data_products/201_Catalogs/201_17_Visit_summary_table.ipynb#In[ ]:4:1: E124 closing bracket does not match visual indentation
DP2/200_Data_products/201_Catalogs/201_17_Visit_summary_table.ipynb#In[ ]:3:27: E128 continuation line under-indented for visual indent
DP2/200_Data_products/201_Catalogs/201_17_Visit_summary_table.ipynb#In[ ]:3:100: E501 line too long (104 > 99 characters)
DP2/200_Data_products/201_Catalogs/201_17_Visit_summary_table.ipynb#In[ ]:4:27: E124 closing bracket does not match visual indentation
DP2/200_Data_products/201_Catalogs/201_17_Visit_summary_table.ipynb#In[ ]:2:6: E231 missing whitespace after ','
DP2/200_Data_products/201_Catalogs/201_17_Visit_summary_table.ipynb#In[ ]:1:53: E231 missing whitespace after ','
DP2/200_Data_products/201_Catalogs/201_17_Visit_summary_table.ipynb#In[ ]:5:62: E231 missing whitespace after ','
DP2/200_Data_products/201_Catalogs/201_17_Visit_summary_table.ipynb#In[ ]:23:14: E231 missing whitespace after ','
DP2/200_Data_products/201_Catalogs/201_17_Visit_summary_table.ipynb#In[ ]:23:16: E231 missing whitespace after ','
DP2/200_Data_products/201_Catalogs/201_17_Visit_summary_table.ipynb#In[ ]:23:18: E231 missing whitespace after ','
DP2/200_Data_products/201_Catalogs/201_17_Visit_summary_table.ipynb#In[ ]:23:29: E231 missing whitespace after ','
DP2/200_Data_products/201_Catalogs/201_17_Visit_summary_table.ipynb#In[ ]:23:56: E231 missing whitespace after ','
Reply via ReviewNB
There was a problem hiding this comment.
Ah good catch, I completely forgot to run flake8!
There was a problem hiding this comment.
I'm left with some W291 trailing whitespace flags that I'm not 100% sure how to resolve.
There was a problem hiding this comment.
if you run flake8 with --select=W291 --show-source it should show you exactly where the issue is
There was a problem hiding this comment.
Thanks for the tip! Done.
| @@ -0,0 +1,1046 @@ | |||
| { | |||
There was a problem hiding this comment.
maybe add some of the other more substantially used packages e.g. lsst.obs.lsst.LsstCam, lsst.images plus numpy etc
Reply via ReviewNB
There was a problem hiding this comment.
Added lsst.images, lsst.obs.lsst
| @@ -0,0 +1,1046 @@ | |||
| { | |||
There was a problem hiding this comment.
There was a problem hiding this comment.
Removed 201.11. I didn't realise this before so to be clear I think series is 201, so the other 200 level tutorials should be kept?
| @@ -0,0 +1,1046 @@ | |||
| { | |||
There was a problem hiding this comment.
good to include assert statements for things like this e.g
assert butler is not None
Reply via ReviewNB
| @@ -0,0 +1,1046 @@ | |||
| { | |||
There was a problem hiding this comment.
is it worth briefly explaining what an ExposureCatalog/ExposureRecord actually is compared to e.g. a SourceCatalog?
Reply via ReviewNB
There was a problem hiding this comment.
Added a bit more description and a link to https://pipelines.lsst.io/modules/lsst.afw.table/index.html
| @@ -0,0 +1,1046 @@ | |||
| { | |||
There was a problem hiding this comment.
| @@ -0,0 +1,1046 @@ | |||
| { | |||
There was a problem hiding this comment.
"visits within 2 degrees" is this correct for OVERLAPS POINT? i think it only takes a position.
Reply via ReviewNB
| @@ -0,0 +1,1046 @@ | |||
| { | |||
There was a problem hiding this comment.
| @@ -0,0 +1,1046 @@ | |||
| { | |||
There was a problem hiding this comment.
Line #2. for i,x in enumerate(visit_summary_tab.colnames):
avoid single character variable names
Reply via ReviewNB
| @@ -0,0 +1,1046 @@ | |||
| { | |||
There was a problem hiding this comment.
x and y axes and the colorbar should have units
and change single character variable names
Reply via ReviewNB
garrethmartin
left a comment
There was a problem hiding this comment.
please merge after addressing minor comments
First draft of the visit_summary butler only table tutorial. Based primarily on the VisitDetector tutorial due to overlapping columns.
Also includes snippets from 204.3. Astrometric Calibration and 205.2. PSF for visits because these tutorials use visit_summary as a workaround for visit_images not being available in EDP2.
Fro ticket https://rubinobs.atlassian.net/browse/DM-56333