Skip to content
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

Update to miniconda 24.4, add earthaccess and pyephem #18

Merged
merged 10 commits into from
May 31, 2024

Conversation

mathomp4
Copy link
Member

This PR updates the default miniconda version to 24.4.0-0.

We also add earthaccess as a new conda package and pyephem as a new pip package

Closes #17
Closes #16

@mathomp4 mathomp4 added the add package Request to add package label May 29, 2024
@mathomp4 mathomp4 self-assigned this May 29, 2024
Copy link
Contributor

coderabbitai bot commented May 29, 2024

Walkthrough

The recent update to version 24.4.0 includes upgrading to Miniconda 24.4.0-0, setting the matplotlib backend based on the OS, and adding the earthaccess and pyephem packages. The installation script and configuration files were updated accordingly, and a new example script demonstrating the pyephem package was added.

Changes

Files/Paths Change Summary
CHANGELOG.md Updated summary to reflect changes in version 24.4.0, including Miniconda version update and package additions.
README.md Updated installation script version numbers from 24.1.2-0 to 24.4.0-0.
install_miniconda.bash Updated Miniconda version, added earthaccess and pyephem packages, set matplotlib backend based on OS, and included a fix for prompt_toolkit.
tests/ephem_example.py Added new script demonstrating the usage of the pyephem library.

Sequence Diagram(s) (Beta)

N/A

Assessment against linked issues

Objective Addressed Explanation
Add pyephem package (#17)
Add earthaccess package (#16)

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

Review Details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits Files that changed from the base of the PR and between c14e8f1 and 398d2aa.
Files selected for processing (6)
  • CHANGELOG.md (1 hunks)
  • README.GMAO (1 hunks)
  • README.NAS (1 hunks)
  • README.NCCS (1 hunks)
  • README.md (1 hunks)
  • install_miniconda.bash (3 hunks)
Files skipped from review due to trivial changes (3)
  • README.GMAO
  • README.NAS
  • README.NCCS
Additional Context Used
LanguageTool (9)
CHANGELOG.md (4)

Near line 41: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ... - Updated to Python 3.12 by default. - Updated to use Micromamba by default on Linux. ...
Rule ID: ENGLISH_WORD_REPEAT_BEGINNING_RULE


Near line 79: Consider using either the past participle “defaulted” or the present participle “defaulting” here.
Context: ... by default on macOS - mamba is still default on Linux - Explicit Conda Packages -...
Rule ID: BEEN_PART_AGREEMENT


Near line 114: Consider using a different verb for a more formal wording.
Context: ...e a Git master branch of the package to fix issues with Python3 and scipy - Req...
Rule ID: FIX_RESOLVE


Near line 290: Consider adding two commas here.
Context: ... are from Anaconda, while conda will of course install other dependencies as well. For...
Rule ID: OF_COURSE_COMMA

README.md (5)

Near line 11: Consider a shorter alternative to avoid wordiness.
Context: ...Kouatchou. We do not ## Installation In order to use the install script, you can run: `...
Rule ID: IN_ORDER_TO_PREMIUM


Near line 12: The word ‘install’ is not a noun.
Context: ...t ## Installation In order to use the install script, you can run: ``` ./install_min...
Rule ID: A_INSTALL


Near line 18: The word ‘install’ is not a noun.
Context: ...prefix /opt/GEOSpyD will create an install at: /opt/GEOSpyD/24.4.0-0_py3.12/YY...
Rule ID: A_INSTALL


Near line 23: The word ‘install’ is not a noun.
Context: ...`` where YYYY-MM-DD is the date of the install. We use a date so that if the stack is ...
Rule ID: A_INSTALL


Near line 24: The word ‘install’ is not a noun.
Context: ...the stack is re-installed, the previous install is not overwritten. ## Usage ``` Usag...
Rule ID: A_INSTALL

ShellCheck (58)
install_miniconda.bash (58)

[warning] 38-38: NODE appears unused. Verify use (or export if used externally).


[info] 286-286: Double quote to prevent globbing and word splitting.


[info] 287-287: Double quote to prevent globbing and word splitting.


[warning] 288-288: GFORTRAN_PATCH appears unused. Verify use (or export if used externally).


[info] 288-288: Double quote to prevent globbing and word splitting.


[info] 354-354: Double quote to prevent globbing and word splitting.


[info] 386-386: Double quote to prevent globbing and word splitting.


[info] 386-386: Double quote to prevent globbing and word splitting.


[info] 391-391: Double quote to prevent globbing and word splitting.


[info] 391-391: Double quote to prevent globbing and word splitting.


[info] 391-391: Double quote to prevent globbing and word splitting.


[info] 391-391: Double quote to prevent globbing and word splitting.


[info] 413-413: Double quote to prevent globbing and word splitting.


[info] 413-413: Double quote to prevent globbing and word splitting.


[info] 413-413: Double quote to prevent globbing and word splitting.


[warning] 425-425: Use "$@" (with quotes) to prevent whitespace problems.


[info] 425-425: Double quote to prevent globbing and word splitting.


[info] 430-430: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 432-432: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 433-433: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 434-434: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[warning] 434-434: Use "$@" (with quotes) to prevent whitespace problems.


[info] 434-434: Double quote to prevent globbing and word splitting.


[info] 435-435: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 439-439: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 441-441: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 442-442: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 443-443: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[warning] 443-443: Use "$@" (with quotes) to prevent whitespace problems.


[info] 443-443: Double quote to prevent globbing and word splitting.


[info] 444-444: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 454-454: Double quote to prevent globbing and word splitting.


[info] 467-467: Double quote to prevent globbing and word splitting.


[info] 496-496: Double quote to prevent globbing and word splitting.


[info] 508-508: Double quote to prevent globbing and word splitting.


[info] 590-590: Double quote to prevent globbing and word splitting.


[info] 606-606: Double quote to prevent globbing and word splitting.


[info] 645-645: Double quote to prevent globbing and word splitting.


[info] 650-650: Double quote to prevent globbing and word splitting.


[warning] 659-659: Use "${var:?}" to ensure this never expands to / .


[info] 659-659: Double quote to prevent globbing and word splitting.


[info] 662-662: Double quote to prevent globbing and word splitting.


[info] 662-662: Double quote to prevent globbing and word splitting.


[info] 664-664: Double quote to prevent globbing and word splitting.


[info] 666-666: Double quote to prevent globbing and word splitting.


[info] 666-666: Double quote to prevent globbing and word splitting.


[info] 670-670: Double quote to prevent globbing and word splitting.


[info] 670-670: Double quote to prevent globbing and word splitting.


[info] 672-672: Double quote to prevent globbing and word splitting.


[info] 676-676: Double quote to prevent globbing and word splitting.


[info] 676-676: Double quote to prevent globbing and word splitting.


[info] 683-683: Double quote to prevent globbing and word splitting.


[info] 683-683: Double quote to prevent globbing and word splitting.


[info] 685-685: Double quote to prevent globbing and word splitting.


[info] 685-685: Double quote to prevent globbing and word splitting.


[info] 690-690: Double quote to prevent globbing and word splitting.


[info] 699-699: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 699-699: Double quote to prevent globbing and word splitting.

Markdownlint (4)
README.md (4)

19: null
Fenced code blocks should be surrounded by blank lines


14: null
Fenced code blocks should have a language specified


19: null
Fenced code blocks should have a language specified


28: null
Fenced code blocks should have a language specified

Additional comments not posted (5)
README.md (1)

15-15: Update the Miniconda version in the example command to match the new default version.

- ./install_miniconda.bash --python_version 3.12 --miniconda_version 24.4.0-0 --prefix /opt/GEOSpyD
+ ./install_miniconda.bash --python_version 3.12 --miniconda_version 24.4.0-0 --prefix /opt/GEOSpyD

Likely invalid or redundant comment.

CHANGELOG.md (1)

30-33: Confirm the addition of the earthaccess and pyephem packages.

install_miniconda.bash (3)

62-62: Update the default Miniconda version in the script to match the new version.


578-578: Confirm the addition of the earthaccess package installation.


626-626: Confirm the addition of the pyephem package installation.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Review Details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits Files that changed from the base of the PR and between 398d2aa and 2e978c8.
Files selected for processing (1)
  • CHANGELOG.md (1 hunks)
Additional Context Used
LanguageTool (4)
CHANGELOG.md (4)

Near line 41: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ... - Updated to Python 3.12 by default. - Updated to use Micromamba by default on Linux. ...
Rule ID: ENGLISH_WORD_REPEAT_BEGINNING_RULE


Near line 79: Consider using either the past participle “defaulted” or the present participle “defaulting” here.
Context: ... by default on macOS - mamba is still default on Linux - Explicit Conda Packages -...
Rule ID: BEEN_PART_AGREEMENT


Near line 114: Consider using a different verb for a more formal wording.
Context: ...e a Git master branch of the package to fix issues with Python3 and scipy - Req...
Rule ID: FIX_RESOLVE


Near line 290: Consider adding two commas here.
Context: ... are from Anaconda, while conda will of course install other dependencies as well. For...
Rule ID: OF_COURSE_COMMA

Additional comments not posted (2)
CHANGELOG.md (2)

24-24: Ensure the Miniconda version is correctly updated in all relevant documentation to maintain consistency.


30-33: Confirm the addition of earthaccess and pyephem aligns with the requests in linked issues #16 and #17.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 2e978c8 and 31216e1.

Files selected for processing (3)
  • CHANGELOG.md (1 hunks)
  • README.md (3 hunks)
  • install_miniconda.bash (4 hunks)
Additional context used
LanguageTool
README.md

[style] ~11-~11: Consider a shorter alternative to avoid wordiness.
Context: ...Kouatchou. We do not ## Installation In order to use the install script, you can run: `...


[grammar] ~12-~12: The word ‘install’ is not a noun.
Context: ...t ## Installation In order to use the install script, you can run: ``` ./install_min...


[grammar] ~18-~18: The word ‘install’ is not a noun.
Context: ...prefix /opt/GEOSpyD will create an install at: /opt/GEOSpyD/24.4.0-0_py3.12/YY...


[grammar] ~23-~23: The word ‘install’ is not a noun.
Context: ...`` where YYYY-MM-DD is the date of the install. We use a date so that if the stack is ...


[grammar] ~24-~24: The word ‘install’ is not a noun.
Context: ...the stack is re-installed, the previous install is not overwritten. ## Usage ``` Usag...

CHANGELOG.md

[style] ~45-~45: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ... - Updated to Python 3.12 by default. - Updated to use Micromamba by default on Linux. ...


[grammar] ~83-~83: Consider using either the past participle “defaulted” or the present participle “defaulting” here.
Context: ... by default on macOS - mamba is still default on Linux - Explicit Conda Packages -...


[style] ~118-~118: Consider using a different verb for a more formal wording.
Context: ...e a Git master branch of the package to fix issues with Python3 and scipy - Req...


[uncategorized] ~180-~180: Possible missing comma found.
Context: ... longer supports Python 2. From here on out all additions are for Python 3 only ##...


[typographical] ~294-~294: Consider adding two commas here.
Context: ... are from Anaconda, while conda will of course install other dependencies as well. For...

Markdownlint
README.md

19-19: null
Fenced code blocks should be surrounded by blank lines


14-14: null
Fenced code blocks should have a language specified


19-19: null
Fenced code blocks should have a language specified


28-28: null
Fenced code blocks should have a language specified

Shellcheck
install_miniconda.bash

[warning] 38-38: NODE appears unused. Verify use (or export if used externally).


[info] 286-286: Double quote to prevent globbing and word splitting.


[info] 287-287: Double quote to prevent globbing and word splitting.


[warning] 288-288: GFORTRAN_PATCH appears unused. Verify use (or export if used externally).


[info] 288-288: Double quote to prevent globbing and word splitting.


[info] 354-354: Double quote to prevent globbing and word splitting.


[info] 386-386: Double quote to prevent globbing and word splitting.


[info] 386-386: Double quote to prevent globbing and word splitting.


[info] 391-391: Double quote to prevent globbing and word splitting.


[info] 391-391: Double quote to prevent globbing and word splitting.


[info] 391-391: Double quote to prevent globbing and word splitting.


[info] 391-391: Double quote to prevent globbing and word splitting.


[info] 413-413: Double quote to prevent globbing and word splitting.


[info] 413-413: Double quote to prevent globbing and word splitting.


[info] 413-413: Double quote to prevent globbing and word splitting.


[warning] 425-425: Use "$@" (with quotes) to prevent whitespace problems.


[info] 425-425: Double quote to prevent globbing and word splitting.


[info] 430-430: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 432-432: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 433-433: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 434-434: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[warning] 434-434: Use "$@" (with quotes) to prevent whitespace problems.


[info] 434-434: Double quote to prevent globbing and word splitting.


[info] 435-435: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 439-439: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 441-441: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 442-442: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 443-443: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[warning] 443-443: Use "$@" (with quotes) to prevent whitespace problems.


[info] 443-443: Double quote to prevent globbing and word splitting.


[info] 444-444: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 454-454: Double quote to prevent globbing and word splitting.


[info] 467-467: Double quote to prevent globbing and word splitting.


[info] 496-496: Double quote to prevent globbing and word splitting.


[info] 508-508: Double quote to prevent globbing and word splitting.


[info] 513-513: Double quote to prevent globbing and word splitting.


[info] 595-595: Double quote to prevent globbing and word splitting.


[info] 611-611: Double quote to prevent globbing and word splitting.


[info] 650-650: Double quote to prevent globbing and word splitting.


[info] 655-655: Double quote to prevent globbing and word splitting.


[warning] 664-664: Use "${var:?}" to ensure this never expands to / .


[info] 664-664: Double quote to prevent globbing and word splitting.


[info] 667-667: Double quote to prevent globbing and word splitting.


[info] 667-667: Double quote to prevent globbing and word splitting.


[info] 669-669: Double quote to prevent globbing and word splitting.


[info] 671-671: Double quote to prevent globbing and word splitting.


[info] 671-671: Double quote to prevent globbing and word splitting.


[info] 675-675: Double quote to prevent globbing and word splitting.


[info] 675-675: Double quote to prevent globbing and word splitting.


[info] 677-677: Double quote to prevent globbing and word splitting.


[info] 681-681: Double quote to prevent globbing and word splitting.


[info] 681-681: Double quote to prevent globbing and word splitting.


[info] 688-688: Double quote to prevent globbing and word splitting.


[info] 688-688: Double quote to prevent globbing and word splitting.


[info] 690-690: Double quote to prevent globbing and word splitting.


[info] 690-690: Double quote to prevent globbing and word splitting.


[info] 695-695: Double quote to prevent globbing and word splitting.


[info] 704-704: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 704-704: Double quote to prevent globbing and word splitting.

Additional comments not posted (11)
README.md (4)

15-15: Update the installation command to reflect the new Miniconda version.


20-20: Ensure the directory path reflects the new Miniconda version.


33-33: Clarify the Miniconda version in the usage section to match the new version.


52-55: Confirm the example installation path includes the correct date format and Miniconda version.

Verification successful

The example installation path in the README.md file correctly includes the new Miniconda version and the correct date format.

  • Verified path: /opt/GEOSpyD/24.4.0-0_py3.12/2024-03-08
Scripts executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Verify the directory path reflects the new Miniconda version and date format.

# Test: Search for the directory path in the README. Expect: Only occurrences of the new version and correct date format.
rg --type markdown $'/opt/GEOSpyD/24.4.0-0_py3.12/2024-03-08'

Length of output: 117

CHANGELOG.md (4)

28-28: Update the Miniconda version in the changelog to match the new version.


29-29: Clarify the conditions under which each backend is used for clarity.


34-35: Confirm the addition of the earthaccess package in the Conda packages section.


37-38: Confirm the addition of the pyephem package in the Pip packages section.

install_miniconda.bash (3)

62-62: Update the Miniconda version variable to reflect the new version.


583-583: Confirm the addition of the earthaccess package in the installation script.


631-631: Confirm the addition of the pyephem package in the pip installation section.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 31216e1 and 28a5242.

Files selected for processing (2)
  • CHANGELOG.md (1 hunks)
  • install_miniconda.bash (6 hunks)
Files skipped from review as they are similar to previous changes (1)
  • install_miniconda.bash
Additional context used
LanguageTool
CHANGELOG.md

[style] ~49-~49: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ... - Updated to Python 3.12 by default. - Updated to use Micromamba by default on Linux. ...


[grammar] ~87-~87: Consider using either the past participle “defaulted” or the present participle “defaulting” here.
Context: ... by default on macOS - mamba is still default on Linux - Explicit Conda Packages -...


[style] ~122-~122: Consider using a different verb for a more formal wording.
Context: ...e a Git master branch of the package to fix issues with Python3 and scipy - Req...


[uncategorized] ~184-~184: Possible missing comma found.
Context: ... longer supports Python 2. From here on out all additions are for Python 3 only ##...


[typographical] ~298-~298: Consider adding two commas here.
Context: ... are from Anaconda, while conda will of course install other dependencies as well. For...

Additional comments not posted (4)
CHANGELOG.md (4)

28-28: Ensure the version update is correctly documented.


35-37: Confirm the addition of the earthaccess and pyephem packages.


41-41: Verify the removal of the old sed command is appropriate given the context.

#!/bin/bash
# Description: Verify the removal of the old sed command and ensure it's no longer needed.

# Test: Search for the old sed command usage. Expect: No occurrences.
rg --type bash $'sed .* numpy'

28-30: Clarify the conditions under which each matplotlib backend is used.

- Use MacOSX matplotlib backend on macOS, still use TkAgg on Linux
+ Use MacOSX matplotlib backend on macOS and TkAgg on Linux.

Likely invalid or redundant comment.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 28a5242 and 6181573.

Files selected for processing (3)
  • CHANGELOG.md (1 hunks)
  • install_miniconda.bash (7 hunks)
  • tests/ephem_example.py (1 hunks)
Files skipped from review due to trivial changes (1)
  • tests/ephem_example.py
Additional context used
LanguageTool
CHANGELOG.md

[style] ~53-~53: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ... - Updated to Python 3.12 by default. - Updated to use Micromamba by default on Linux. ...


[grammar] ~91-~91: Consider using either the past participle “defaulted” or the present participle “defaulting” here.
Context: ... by default on macOS - mamba is still default on Linux - Explicit Conda Packages -...


[style] ~126-~126: Consider using a different verb for a more formal wording.
Context: ...e a Git master branch of the package to fix issues with Python3 and scipy - Req...


[typographical] ~302-~302: Consider adding two commas here.
Context: ... are from Anaconda, while conda will of course install other dependencies as well. For...

Markdownlint
CHANGELOG.md

25-25: null
Bare URL used


26-26: null
Bare URL used

Shellcheck
install_miniconda.bash

[warning] 38-38: NODE appears unused. Verify use (or export if used externally).


[info] 286-286: Double quote to prevent globbing and word splitting.


[info] 287-287: Double quote to prevent globbing and word splitting.


[warning] 288-288: GFORTRAN_PATCH appears unused. Verify use (or export if used externally).


[info] 288-288: Double quote to prevent globbing and word splitting.


[info] 354-354: Double quote to prevent globbing and word splitting.


[info] 386-386: Double quote to prevent globbing and word splitting.


[info] 386-386: Double quote to prevent globbing and word splitting.


[info] 391-391: Double quote to prevent globbing and word splitting.


[info] 391-391: Double quote to prevent globbing and word splitting.


[info] 391-391: Double quote to prevent globbing and word splitting.


[info] 391-391: Double quote to prevent globbing and word splitting.


[info] 413-413: Double quote to prevent globbing and word splitting.


[info] 413-413: Double quote to prevent globbing and word splitting.


[info] 413-413: Double quote to prevent globbing and word splitting.


[warning] 425-425: Use "$@" (with quotes) to prevent whitespace problems.


[info] 425-425: Double quote to prevent globbing and word splitting.


[info] 430-430: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 432-432: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 433-433: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 434-434: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[warning] 434-434: Use "$@" (with quotes) to prevent whitespace problems.


[info] 434-434: Double quote to prevent globbing and word splitting.


[info] 435-435: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 439-439: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 441-441: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 442-442: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 443-443: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[warning] 443-443: Use "$@" (with quotes) to prevent whitespace problems.


[info] 443-443: Double quote to prevent globbing and word splitting.


[info] 444-444: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 454-454: Double quote to prevent globbing and word splitting.


[info] 467-467: Double quote to prevent globbing and word splitting.


[info] 496-496: Double quote to prevent globbing and word splitting.


[info] 508-508: Double quote to prevent globbing and word splitting.


[info] 513-513: Double quote to prevent globbing and word splitting.


[info] 595-595: Double quote to prevent globbing and word splitting.


[info] 611-611: Double quote to prevent globbing and word splitting.


[info] 651-651: Double quote to prevent globbing and word splitting.


[info] 656-656: Double quote to prevent globbing and word splitting.


[warning] 665-665: Use "${var:?}" to ensure this never expands to / .


[info] 665-665: Double quote to prevent globbing and word splitting.


[info] 668-668: Double quote to prevent globbing and word splitting.


[info] 668-668: Double quote to prevent globbing and word splitting.


[info] 670-670: Double quote to prevent globbing and word splitting.


[info] 672-672: Double quote to prevent globbing and word splitting.


[info] 672-672: Double quote to prevent globbing and word splitting.


[info] 676-676: Double quote to prevent globbing and word splitting.


[info] 676-676: Double quote to prevent globbing and word splitting.


[info] 678-678: Double quote to prevent globbing and word splitting.


[info] 691-691: Double quote to prevent globbing and word splitting.


[info] 691-691: Double quote to prevent globbing and word splitting.


[info] 693-693: Double quote to prevent globbing and word splitting.


[info] 693-693: Double quote to prevent globbing and word splitting.


[info] 706-706: Double quote to prevent globbing and word splitting.


[info] 715-715: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 715-715: Double quote to prevent globbing and word splitting.

Additional comments not posted (7)
CHANGELOG.md (4)

24-27: The fixes listed are well-documented with appropriate links to the issues. Good job on maintaining transparency.


31-34: The updates and changes are clearly documented. The backend settings for matplotlib are particularly well-explained.


37-42: The addition of new packages and an example is a positive enhancement to the project. It's great to see examples being added for better clarity.


45-45: The removal of the outdated sed command is a good cleanup action, especially since the target file no longer exists.

install_miniconda.bash (3)

Line range hint 1-62: The initial setup of the script is well-structured. It includes comprehensive error handling and environment configuration, which enhances the robustness of the installation process.


Line range hint 583-632: The package installation commands are correctly implemented. The script smartly handles different package managers and conditions based on the system architecture and Python version.


703-703: The cleanup function is well-implemented, ensuring that the user's environment is restored to its original state after the installation. This is crucial for maintaining system integrity.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 6181573 and 2f52c04.

Files selected for processing (2)
  • CHANGELOG.md (1 hunks)
  • install_miniconda.bash (6 hunks)
Additional context used
LanguageTool
CHANGELOG.md

[style] ~52-~52: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ... - Updated to Python 3.12 by default. - Updated to use Micromamba by default on Linux. ...


[grammar] ~90-~90: Consider using either the past participle “defaulted” or the present participle “defaulting” here.
Context: ... by default on macOS - mamba is still default on Linux - Explicit Conda Packages -...


[style] ~125-~125: Consider using a different verb for a more formal wording.
Context: ...e a Git master branch of the package to fix issues with Python3 and scipy - Req...


[uncategorized] ~187-~187: Possible missing comma found.
Context: ... longer supports Python 2. From here on out all additions are for Python 3 only ##...


[typographical] ~301-~301: Consider adding two commas here.
Context: ... are from Anaconda, while conda will of course install other dependencies as well. For...

Markdownlint
CHANGELOG.md

25-25: null
Bare URL used

Shellcheck
install_miniconda.bash

[warning] 38-38: NODE appears unused. Verify use (or export if used externally).


[info] 286-286: Double quote to prevent globbing and word splitting.


[info] 287-287: Double quote to prevent globbing and word splitting.


[warning] 288-288: GFORTRAN_PATCH appears unused. Verify use (or export if used externally).


[info] 288-288: Double quote to prevent globbing and word splitting.


[info] 354-354: Double quote to prevent globbing and word splitting.


[info] 386-386: Double quote to prevent globbing and word splitting.


[info] 386-386: Double quote to prevent globbing and word splitting.


[info] 391-391: Double quote to prevent globbing and word splitting.


[info] 391-391: Double quote to prevent globbing and word splitting.


[info] 391-391: Double quote to prevent globbing and word splitting.


[info] 391-391: Double quote to prevent globbing and word splitting.


[info] 413-413: Double quote to prevent globbing and word splitting.


[info] 413-413: Double quote to prevent globbing and word splitting.


[info] 413-413: Double quote to prevent globbing and word splitting.


[warning] 425-425: Use "$@" (with quotes) to prevent whitespace problems.


[info] 425-425: Double quote to prevent globbing and word splitting.


[info] 430-430: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 432-432: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 433-433: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 434-434: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[warning] 434-434: Use "$@" (with quotes) to prevent whitespace problems.


[info] 434-434: Double quote to prevent globbing and word splitting.


[info] 435-435: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 439-439: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 441-441: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 442-442: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 443-443: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[warning] 443-443: Use "$@" (with quotes) to prevent whitespace problems.


[info] 443-443: Double quote to prevent globbing and word splitting.


[info] 444-444: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 454-454: Double quote to prevent globbing and word splitting.


[info] 467-467: Double quote to prevent globbing and word splitting.


[info] 496-496: Double quote to prevent globbing and word splitting.


[info] 508-508: Double quote to prevent globbing and word splitting.


[info] 513-513: Double quote to prevent globbing and word splitting.


[info] 595-595: Double quote to prevent globbing and word splitting.


[info] 611-611: Double quote to prevent globbing and word splitting.


[info] 651-651: Double quote to prevent globbing and word splitting.


[info] 656-656: Double quote to prevent globbing and word splitting.


[warning] 665-665: Use "${var:?}" to ensure this never expands to / .


[info] 665-665: Double quote to prevent globbing and word splitting.


[info] 668-668: Double quote to prevent globbing and word splitting.


[info] 668-668: Double quote to prevent globbing and word splitting.


[info] 670-670: Double quote to prevent globbing and word splitting.


[info] 672-672: Double quote to prevent globbing and word splitting.


[info] 672-672: Double quote to prevent globbing and word splitting.


[info] 676-676: Double quote to prevent globbing and word splitting.


[info] 676-676: Double quote to prevent globbing and word splitting.


[info] 678-678: Double quote to prevent globbing and word splitting.


[info] 691-691: Double quote to prevent globbing and word splitting.


[info] 691-691: Double quote to prevent globbing and word splitting.


[info] 693-693: Double quote to prevent globbing and word splitting.


[info] 693-693: Double quote to prevent globbing and word splitting.


[info] 706-706: Double quote to prevent globbing and word splitting.


[info] 715-715: Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


[info] 715-715: Double quote to prevent globbing and word splitting.

Additional comments not posted (11)
CHANGELOG.md (6)

30-30: Update the Miniconda version to match the latest update.


31-32: Clarify the conditions under which each backend is used for matplotlib.


37-38: Confirm the addition of the earthaccess package.


39-39: Confirm the addition of the pyephem package.


26-26: Address the issue with ipython and prompt_toolkit as described.


44-44: Ensure the removal of the old sed command is appropriate given the file no longer exists.

Verification successful

The removal of the old sed command on numpy is appropriate as there are no occurrences of this command in the repository.

Scripts executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Verify the removal of the old sed command on `numpy`.

# Test: Search for the old sed command in the repository. Expect: No occurrences.
rg --type bash $'sed .* numpy'

Length of output: 60



Script:

#!/bin/bash
# Description: Verify the removal of the old sed command on `numpy`.

# Test: Search for the old sed command in the repository. Expect: No occurrences.
rg --type sh $'sed .* numpy'

Length of output: 29

install_miniconda.bash (5)

62-62: Update the Miniconda version to match the latest update.


583-583: Confirm the addition of the earthaccess package.


632-632: Confirm the addition of the pyephem package.


701-702: Address the issue with ipython and prompt_toolkit as described.


684-693: Ensure the matplotlib backend settings are correctly implemented for different operating systems.

@mathomp4 mathomp4 merged commit 07bb325 into main May 31, 2024
1 check passed
@mathomp4 mathomp4 deleted the feature/mathomp4/24.4.0 branch May 31, 2024 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add package Request to add package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add package: PyEphem Add package: earthaccess
1 participant