Conversation
It should be straightforward to link ReviewNB (https://www.reviewnb.com/) with the Github repo, one might need the admin permission to enable it. |
|
Thanks @yunjunz I added it in now. Hopefully works for the next PR. |
| @@ -54,9 +54,11 @@ | |||
| "name": "stdout", | |||
There was a problem hiding this comment.
- Output syntax has now some typo's compared to the past.
- The version string would benefit from more description. Does this only take that version or would it take preference for that version if there are two versions. for example newest does that take only the last version or the best available version etc?
Reply via ReviewNB
There was a problem hiding this comment.
Good question: how's this updated help string: "Specify version as str, e.g. 2_0_4 or all prods; default: 'newest. All products are downloaded. Unspecified versions are stored in "workdir"/duplicated_products'.
| @@ -54,9 +54,11 @@ | |||
| "name": "stdout", | |||
There was a problem hiding this comment.
The output cell did not work. The filename is different. Fix as needed. Also did this change between versions?
Reply via ReviewNB
There was a problem hiding this comment.
it changed in ariaTools in April 2020 to ensure that files don't get overwritten (commit: fce76a6f972f98b248826355eedcf9abce7bdab5)
| @@ -54,9 +54,11 @@ | |||
| "name": "stdout", | |||
There was a problem hiding this comment.
There was a problem hiding this comment.
There was a bug (fixed) but also asf_search cannot currently download KMZ/KML. I removed these cells from the notebook.
There was a problem hiding this comment.
It looks like I may be able to push a little to get ASF to incorporate. Not a priority but is nice to have, especially for students playing around with their own study areas. What do you think?
| @@ -54,9 +54,11 @@ | |||
| "name": "stdout", | |||
There was a problem hiding this comment.
The verbose does not seem to print which products anymore. Is that intentional as it contradicts the statement below?
Reply via ReviewNB
There was a problem hiding this comment.
Nope that's a bug. Fixed.
|
View / edit / reply to this conversation on ReviewNB dbekaert commented on 2022-05-17T08:07:06Z Can you also do a catch all for using stage data with wget? So if you are offline you could potentially still use stage data. Look at nisar repo how they did this: https://github.com/nisar-solid/ATBD/blob/main/methods/coseismic/Coseismic_Requirement_Validation-Ridgecrest_asc.ipynb |
|
View / edit / reply to this conversation on ReviewNB dbekaert commented on 2022-05-17T08:07:07Z same comment about verbose mode. That needs some fix in the actual code. |
|
View / edit / reply to this conversation on ReviewNB dbekaert commented on 2022-05-17T08:07:08Z Would not be badd to add in the notebooks what the duplicated_products folder is all about. |
|
View / edit / reply to this conversation on ReviewNB dbekaert commented on 2022-05-17T08:07:08Z
bbuzz31 commented on 2022-05-26T17:47:40Z Per Sim: I believe so, but it prioritizes the new tif formats for sure So it looks for duplicates and discards binary format if tif exists.
Help is updated to reflect this.
|
|
View / edit / reply to this conversation on ReviewNB dbekaert commented on 2022-05-17T08:07:09Z
|
| @@ -1,10 +1,5 @@ | |||
| { | |||
There was a problem hiding this comment.
ITs not clear what API key for what.
- Explain first also why you need a key for what you need it and then how to get it.
Also you just need it period, so does not add much information.
- Remove on same computer as running this notebook as cloud is not a computer.
Reply via ReviewNB
| @@ -1,10 +1,5 @@ | |||
| { | |||
There was a problem hiding this comment.
There was a problem hiding this comment.
Hmm no you can just do echo KEY > ~/.topoapi
Is this what you meant?
| @@ -1,10 +1,5 @@ | |||
| { | |||
There was a problem hiding this comment.
There is no plot in your notebook. Please check if this is an error and needs fix in code.
Reply via ReviewNB
| @@ -1,10 +1,5 @@ | |||
| { | |||
There was a problem hiding this comment.
| @@ -1,10 +1,5 @@ | |||
| { | |||
There was a problem hiding this comment.
same. think you did not run cells, but would be good to check if this still works.
Reply via ReviewNB
|
View / edit / reply to this conversation on ReviewNB dbekaert commented on 2022-05-17T08:07:13Z Line #19. !aws s3 cp --region us-east-1 --no-sign-request s3://asf-jupyter-data/aria-data/ariaPlot.zip ariaPlot.zip Would be good to add the wget also, see my earlier comment in other notebook: |
|
View / edit / reply to this conversation on ReviewNB dbekaert commented on 2022-05-17T08:07:13Z It would be good if users can see some sort of progress.
|
|
View / edit / reply to this conversation on ReviewNB dbekaert commented on 2022-05-17T08:07:14Z see comment in other notebook about duplicated products folder. |
|
View / edit / reply to this conversation on ReviewNB dbekaert commented on 2022-05-17T08:07:15Z same comment about the version as earlier notebook |
|
View / edit / reply to this conversation on ReviewNB dbekaert commented on 2022-05-17T08:07:16Z Line #36. !aws s3 cp --region us-east-1 --no-sign-request s3://asf-jupyter-data/aria-data/ariaTSsetup.zip ariaTSsetup.zip Same comment of using wget as other notebook. Note saying to fall back to wget if the aws command fails. |
|
View / edit / reply to this conversation on ReviewNB dbekaert commented on 2022-05-17T08:07:17Z not sure about the traceback messages? bbuzz31 commented on 2022-05-26T18:18:32Z I had an older version of asf_search.py installed that errors out if products are already downloaded. New version just outputs a warning. |
|
View / edit / reply to this conversation on ReviewNB dbekaert commented on 2022-05-17T08:07:17Z same comment about duplicated product folder |
|
View / edit / reply to this conversation on ReviewNB dbekaert commented on 2022-05-17T08:07:18Z same statement as other notebook |
|
View / edit / reply to this conversation on ReviewNB dbekaert commented on 2022-05-17T08:07:19Z same comment as other notebook |
|
@bbuzz31 the rendering is not yet working, so best is to click on respond via the review-notebook tool. I did my review using the tool outside github as it was not showing here (I believe next time we will have it working). In summary:
|
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
|
Per @sssangha : I believe so, but it prioritizes the new tif formats for sure So it looks for duplicates and discards binary format if tif exists.
Help is updated to reflect this.
View entire conversation on ReviewNB |
Also add .zip to git ignore
|
I had an older version of asf_search.py installed that errors out on duplicate products. New version just puts a warning. View entire conversation on ReviewNB |
|
@dbekaert You caught a lot of bugs, thanks for going through these in such detail! I think I've addressed all the comments, and commits are here and aria-tools/ARIA-tools#306.
|
|
@bbuzz31 following my initial message, I believe it would be easier to merge my suggested changes here. Namely, I've added the following:
I'll keep the aforementioned PR in draft form for now for reference, but I intend to merge this to master |
|
Oh I see now. Sounds good! |
No description provided.