From 4657f653775f19f114241b8a6a0f72cf9fbe8740 Mon Sep 17 00:00:00 2001 From: Nathan Collier Date: Wed, 17 Jul 2024 15:48:59 -0400 Subject: [PATCH 1/4] sample changed file --- biomass/XuSaatchi/convert.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/biomass/XuSaatchi/convert.py b/biomass/XuSaatchi/convert.py index b603d12..0e4d081 100644 --- a/biomass/XuSaatchi/convert.py +++ b/biomass/XuSaatchi/convert.py @@ -1,15 +1,15 @@ """Downloads the XuSaatchi Biomass dataset and converts to netCDF, bringing up to ILAMB/CF standards.""" + import os import time import cftime +import ilamblib as il import numpy as np import requests import xarray as xr -import ilamblib as il - SHOW_PLOTS = False # pylint: disable=line-too-long,invalid-name From 1323aeb1aff649575ace2cf9926ebfa4fd4bb89d Mon Sep 17 00:00:00 2001 From: Nathan Collier Date: Wed, 17 Jul 2024 15:51:09 -0400 Subject: [PATCH 2/4] Update convert.yaml --- .github/workflows/convert.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/convert.yaml b/.github/workflows/convert.yaml index cd2316b..ff9c434 100644 --- a/.github/workflows/convert.yaml +++ b/.github/workflows/convert.yaml @@ -4,7 +4,7 @@ on: branches: - master jobs: - Run dataset conversion scripts: + Convert: runs-on: ubuntu-latest steps: - name: Check out repository code From 8d0ae1944c395605a1b84392f74052297f3ba999 Mon Sep 17 00:00:00 2001 From: Nathan Collier Date: Wed, 17 Jul 2024 15:52:28 -0400 Subject: [PATCH 3/4] Update convert.yaml --- .github/workflows/convert.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/convert.yaml b/.github/workflows/convert.yaml index ff9c434..3f3567e 100644 --- a/.github/workflows/convert.yaml +++ b/.github/workflows/convert.yaml @@ -11,8 +11,6 @@ jobs: uses: actions/checkout@v4 - name: Execute all python changed files uses: jitterbit/get-changed-files@v1 - with: - format: 'py' - run: | for changed_file in ${{ steps.files.outputs.all }}; do echo "Do something with this ${changed_file}." From a4191725b46e20493b4ed7a1a5b3d190a1696691 Mon Sep 17 00:00:00 2001 From: Nathan Collier Date: Thu, 18 Jul 2024 13:24:07 -0400 Subject: [PATCH 4/4] Update convert.yaml --- .github/workflows/convert.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/convert.yaml b/.github/workflows/convert.yaml index 3f3567e..93d156a 100644 --- a/.github/workflows/convert.yaml +++ b/.github/workflows/convert.yaml @@ -11,7 +11,7 @@ jobs: uses: actions/checkout@v4 - name: Execute all python changed files uses: jitterbit/get-changed-files@v1 - - run: | - for changed_file in ${{ steps.files.outputs.all }}; do - echo "Do something with this ${changed_file}." - done + - run: | + for changed_file in ${{ steps.files.outputs.all }}; do + echo "Do something with this ${changed_file}." + done