From 50634054d5388d88a5c9a941ddce95ec62d3cd65 Mon Sep 17 00:00:00 2001 From: Tyler Sutterley Date: Fri, 11 Jul 2025 10:46:00 -0700 Subject: [PATCH] fix: earthdata link for #160 fix: change default endpoint in cumulus to `data` for #161 ci: add paths to check if needing to run tests --- .github/workflows/python-request.yml | 8 ++++++++ doc/source/_assets/gravity-refs.bib | 1 - doc/source/getting_started/Getting-Started.rst | 2 +- scripts/podaac_cumulus.py | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-request.yml b/.github/workflows/python-request.yml index 0bda629f..492a9e5b 100644 --- a/.github/workflows/python-request.yml +++ b/.github/workflows/python-request.yml @@ -5,6 +5,14 @@ name: Python on pull request on: pull_request: + paths: + - gravity_toolkit/** + - scripts/** + - test/** + - .github/workflows/python-request.yml + schedule: + # * is a special character in YAML so you have to quote this string + - cron: '0 0 1 * *' jobs: build: diff --git a/doc/source/_assets/gravity-refs.bib b/doc/source/_assets/gravity-refs.bib index 60d5a53d..cbbf4cce 100644 --- a/doc/source/_assets/gravity-refs.bib +++ b/doc/source/_assets/gravity-refs.bib @@ -564,7 +564,6 @@ @book{Munk:1960uk year = {1960}, isbn = {9780521104067}, url = {http://www.cambridge.org/9780521104067}, -doi = {10.1017/CB9780521104067}, publisher = {Cambridge University Press}, address = {New York} } diff --git a/doc/source/getting_started/Getting-Started.rst b/doc/source/getting_started/Getting-Started.rst index 0f2e2136..6fca0c85 100644 --- a/doc/source/getting_started/Getting-Started.rst +++ b/doc/source/getting_started/Getting-Started.rst @@ -2,7 +2,7 @@ Getting Started =============== -- `Register at NASA Earthdata <./NASA-Earthdata.rst>`_ +- `Register at NASA Earthdata <./NASA-Earthdata.html>`_ - Run `podaac_cumulus.py `_ program with your NASA Earthdata credentials to acquire GRACE/GRACE-FO and auxiliary data .. code-block:: bash diff --git a/scripts/podaac_cumulus.py b/scripts/podaac_cumulus.py index 8942606b..71a85905 100644 --- a/scripts/podaac_cumulus.py +++ b/scripts/podaac_cumulus.py @@ -421,7 +421,7 @@ def arguments(): help='Sync GRACE/GRACE-FO Level-1B dealiasing products') # CMR endpoint type parser.add_argument('--endpoint','-e', - type=str, default='s3', choices=['s3','data'], + type=str, default='data', choices=['s3','data'], help='CMR url endpoint type') # connection timeout parser.add_argument('--timeout','-t',