From ea6d40017cc72bfbaed2946655b3b487de019376 Mon Sep 17 00:00:00 2001 From: Matt Fisher Date: Thu, 9 Nov 2023 09:18:08 -0700 Subject: [PATCH 1/2] Fix trailing whitespace --- CHANGELOG.md | 4 ++-- CONTRIBUTING.md | 4 ++-- README.md | 2 +- docs/howto/cloud.md | 2 +- docs/howto/onprem.md | 2 +- docs/howto/search-collections.md | 2 +- docs/howto/search-granules.md | 2 +- docs/howto/storage-location.md | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 28c41606..d7fd3a1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8a253b6f..8ed22d36 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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 @@ -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. diff --git a/README.md b/README.md index 3140c605..bd64f264 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/docs/howto/cloud.md b/docs/howto/cloud.md index f5a867bd..d3557f72 100644 --- a/docs/howto/cloud.md +++ b/docs/howto/cloud.md @@ -1,3 +1,3 @@ # Direct S3 access for cloud-based datasets -Coming soon \ No newline at end of file +Coming soon \ No newline at end of file diff --git a/docs/howto/onprem.md b/docs/howto/onprem.md index 0bcc2c6f..7f4e54bb 100644 --- a/docs/howto/onprem.md +++ b/docs/howto/onprem.md @@ -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. diff --git a/docs/howto/search-collections.md b/docs/howto/search-collections.md index 28dff7ab..9b4ee282 100644 --- a/docs/howto/search-collections.md +++ b/docs/howto/search-collections.md @@ -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 \ No newline at end of file diff --git a/docs/howto/search-granules.md b/docs/howto/search-granules.md index 8a85830e..9d106a82 100644 --- a/docs/howto/search-granules.md +++ b/docs/howto/search-granules.md @@ -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 diff --git a/docs/howto/storage-location.md b/docs/howto/storage-location.md index 925f8b33..f68773d1 100644 --- a/docs/howto/storage-location.md +++ b/docs/howto/storage-location.md @@ -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 \ No newline at end of file From 285e6688737d290cac6efc35c13f77701164777a Mon Sep 17 00:00:00 2001 From: Matt Fisher Date: Thu, 9 Nov 2023 09:19:12 -0700 Subject: [PATCH 2/2] Use newest version of Black --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 501e096c..fffe4a1d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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