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

refactor(docs): update installation instructions for GOES-DL package #7

Merged
merged 1 commit into from
Oct 29, 2024

Conversation

wvenialbo
Copy link
Owner

@wvenialbo wvenialbo commented Oct 29, 2024

Summary by Sourcery

Revise the documentation to update the installation instructions for the GOES-DL package, clarify data source archives, and introduce additional configuration options for data downloading.

Documentation:

  • Update installation instructions to reflect the availability of the GOES-DL package on PyPI for installation via pip.
  • Clarify the data sources for downloading GOES 2nd and 3rd Generation Data and GridSat-B1 Data, specifying the archives from which the data is sourced.
  • Provide additional configuration options for data downloading, such as specifying a local repository path and cache refresh rate.

Copy link

sourcery-ai bot commented Oct 29, 2024

Reviewer's Guide by Sourcery

This PR updates the installation and usage documentation in the README.md file. The changes clarify the installation process and provide more detailed examples for downloading data from different GOES satellite sources, including specific information about data repositories and caching configurations.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Updated installation instructions to indicate package availability
  • Removed '(not yet)' note from pip installation instructions
README.md
Enhanced documentation for data source examples with repository specifications
  • Added repository path specifications for each data source example
  • Added cache configuration example for GOES-R data
  • Clarified data source locations in section headers (AWS vs NCEI archive)
  • Added new section for GridSat-B1 data from NCEI archive
README.md
Added explanatory comments about data availability and caching
  • Added note about GOES-16 data update frequency and cache settings
  • Added explanation about shared folder structure between AWS and NCEI archives
  • Added clarification about file download behavior for existing files
README.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link
Contributor

deepsource-io bot commented Oct 29, 2024

Here's the code health analysis summary for commits e1009c8..d39b1c4. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource Python LogoPython✅ SuccessView Check ↗
DeepSource Test coverage LogoTest coverage⚠️ Artifact not reportedTimed out: Artifact was never reportedView Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

@wvenialbo wvenialbo merged commit 6188efa into main Oct 29, 2024
1 of 11 checks passed
Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey @wvenialbo - I've reviewed your changes and they look great!

Here's what I looked at during the review
  • 🟢 General issues: all looks good
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟡 Documentation: 2 issues found

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

datasource = DatasourceAWS(locator)
# GOES-16 data is updated every 10 minutes. If you are downloading
# old data, you may leave the cache refresh rate as default (+inf).
datasource = DatasourceAWS(locator, repository="./my_data/goes-r", cache=600)
Copy link

Choose a reason for hiding this comment

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

suggestion (documentation): Consider explaining the cache parameter's default value

The comment mentions '+inf' as the default value, but this might not be clear to all users. Consider adding a note about what this means in practice.

# GOES-16 data is updated every 10 minutes. If you are downloading
# old data, the default cache value (infinity) means files will never expire.
# Set cache=600 to refresh data every 10 minutes.
datasource = DatasourceAWS(locator, repository="./my_data/goes-r", cache=600)

end="1984-08-24T00:00-0004",
)

# `files1` and files2` are lists of tuple[str, bytes] with file path and
Copy link

Choose a reason for hiding this comment

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

issue (documentation): Fix missing backtick in files2 variable name

wvenialbo added a commit that referenced this pull request Oct 29, 2024
Merge pull request #7 from wvenialbo/fix-readme-v0.1-rc2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant