Skip to content

Commit

Permalink
Merge pull request #346 from nsidc/pre-commit-fixes
Browse files Browse the repository at this point in the history
Pre-commit fixes
  • Loading branch information
mfisher87 authored Nov 9, 2023
2 parents 54399ff + 285e668 commit dd55562
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ repos:
- id: check-toml
- id: check-json
- repo: https://github.com/psf/black
rev: 20.8b1
rev: 23.10.1
hooks:
- id: black
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
* `earthaccess.download` now accepts a single granule as input in addition to a list of granules.
* `earthaccess.download` now returns fully qualified local file paths.
* New Features:
* Earthaccess will now automatically search for Earthdata authentication. ``earthaccess.login()``
still works as before, but is no longer required if you have a ``~/.netrc`` file for have set
* Earthaccess will now automatically search for Earthdata authentication. ``earthaccess.login()``
still works as before, but is no longer required if you have a ``~/.netrc`` file for have set
``EARTHDATA_USERNAME`` and ``EARTHDATA_PASSWORD`` environment variables.
* Add `earthaccess.auth_environ()` utility for getting Earthdata authentication environment variables.

Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Please note we have a code of conduct, please follow it in all your interactions
## Development environment


`earthaccess` is a Python library that uses Poetry to build and publish the package to PyPI, the defacto Python repository. In order to develop new features or patch bugs etc. we need to set up a virtual environment and install the library locally. We can accomplish this with both Poetry or/and Conda.
`earthaccess` is a Python library that uses Poetry to build and publish the package to PyPI, the defacto Python repository. In order to develop new features or patch bugs etc. we need to set up a virtual environment and install the library locally. We can accomplish this with both Poetry or/and Conda.

### Using Conda

Expand Down Expand Up @@ -75,7 +75,7 @@ scripts/format.sh
3. Update the documentation and the README.md with details of changes to the interface,
this includes new environment variables, function names, decorators, etc.
3. Update `CHANGELOG.md` with details about your change in a section titled
`Unreleased`. If one does not exist, please create one.
`Unreleased`. If one does not exist, please create one.
4. You may merge the Pull Request in once you have the sign-off of another developers,
or if you do not have permission to do that, you may request the reviewer to merge it
for you.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ earthaccess.login()
```

Note you can pass `persist=True` to `earthaccess.login()` to have the EDL account credentials you enter
automatically saved to a `~/.netrc` file for future use.
automatically saved to a `~/.netrc` file for future use.


Once you are authenticated with NASA EDL you can:
Expand Down
2 changes: 1 addition & 1 deletion docs/howto/cloud.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Direct S3 access for cloud-based datasets

Coming soon
Coming soon
2 changes: 1 addition & 1 deletion docs/howto/onprem.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Download data for on-prem datasets
# Download data for on-prem datasets

Import the `earthaccess` library, search for granules in an on-prem dataset and download to a local computer.
The Sea Ice Concentrations from Nimbus-7 SMMR and DMSP SSM/I-SSMIS Passive Microwave Data, Version 2, dataset is used.
Expand Down
2 changes: 1 addition & 1 deletion docs/howto/search-collections.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# how to search for data collections using spatial, temporal, keyword filters
# how to search for data collections using spatial, temporal, keyword filters

Coming soon
2 changes: 1 addition & 1 deletion docs/howto/search-granules.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import earthaccess
results = earthaccess.search_data(
short_name = "ATL06",
version = "005",
cloud_hosted = True,
cloud_hosted = True,
bounding_box = (-10,20,10,50),
temporal = ("2020-02", "2020-03"),
count = 100
Expand Down
2 changes: 1 addition & 1 deletion docs/howto/storage-location.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Determine if a data set is on-prem or in the cloud
# Determine if a data set is on-prem or in the cloud

Coming soon

0 comments on commit dd55562

Please sign in to comment.