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
ARIA Download NISAR GUNWs #394
Conversation
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.
I added some questions and a few style points
tools/bin/ariaDownload.py
Outdated
en0 = self.args.end + relativedelta(months=-3) | ||
|
||
if self.args.mission.upper() == 'S1': | ||
dct_kw = dict(dataset='ARIA S1 GUNW', |
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.
misalignment
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.
not sure what it's supposed to be
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.
The llines are not aligned correctly
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.
dct_kw = dict(dataset='ARIA S1 GUNW',
processingLevel=asf_search.constants.GUNW_STD,
dataset and processingLevel should be aligned on subsequent lines
I've asked repeatedly for you to pay attention to the style of the code which you are committing. You have not done that so far. Please look at what you have done and ask yourself:
I think that style is extremely important. From my point of view imposing style requirements on this code base is the first step to making it a maintainable code base. If the main developers on this project do not agree I will not be able to help It will be worth your time to memorize everything here: https://peps.python.org/pep-0008/ |
I implemented all your requested changes. If you have more requests, point them out. |
@alexfore, there seems to be a lot of unnecessary back and forth related to this that should be handled by CI/CD linting checks -- it's much better for everyone involved for a bot to be the arbiter. I suggest spending the effort on setting up a github action for flake8/pylint/ruff. |
I would also love to integrate automated pep8 checks -- because I never want to have this conversation again. I do not like telling people that their code style is messy or inadequate, this clearly leads to conflict. However, the fact remains that this PR has still contains pep8 violations -- whitespace and alignment. My comments above still stand and I want to see them addressed before I will approve this PR. If someone is unwilling to improve I do not know what to say to that. Maybe use pylint, pycodestyle, or flake8 and try to learn what the issues are. Me telling you or doing it myself is not going to help other people learn. On my end I will figure out how to integrate the style checks I want in another PR. |
Hi @alexfore @jhkennedy I like the idea of a bot doing these sort of checks. I think they might even come with suggested fixes etc. Lets add that support in an upcoming PR and perhaps we can let the code-base run through it? I would like to get the stable test suite in place, the dependency issue fixed for stability. This will allow to check against changes and see if something breaks. With that in place we could route the code through the both for suggested changes? |
I am going to close this PR. We can open a new PR for this branch once I've integrated pep8 auto checks into this repo, and the author has addressed the issues raised by those checks. |
Hello @bbuzz31! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
|
This PR needs to be abandoned. These code changes need to start from the dev branch after I've merged dev_refactor. |
add download support for NISAR GUNWs